Package org.apache.hc.core5.http.impl
Class ServerSupport
- java.lang.Object
-
- org.apache.hc.core5.http.impl.ServerSupport
-
@Internal public class ServerSupport extends java.lang.Object
HTTP Server support methods.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description ServerSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
toErrorMessage(java.lang.Exception ex)
static int
toStatusCode(java.lang.Exception ex)
static void
validateResponse(HttpResponse response, EntityDetails responseEntityDetails)
-
-
-
Method Detail
-
validateResponse
public static void validateResponse(HttpResponse response, EntityDetails responseEntityDetails) throws HttpException
- Throws:
HttpException
-
toErrorMessage
public static java.lang.String toErrorMessage(java.lang.Exception ex)
-
toStatusCode
public static int toStatusCode(java.lang.Exception ex)
-
-