Top Description Constructors Methods
org.apache.hc.core5.http.impl

public Class ServerSupport

extends Object
Class Inheritance
Annotations
@Internal
Imports
org.apache.hc.core5.annotation.Internal, org.apache.hc.core5.http.EntityDetails, .HttpException, .HttpResponse, .HttpStatus, .MethodNotSupportedException, .MisdirectedRequestException, .NotImplementedException, .ProtocolException, .RequestHeaderFieldsTooLargeException, .UnsupportedHttpVersionException

HTTP Server support methods.
Since
5.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
public static int
public static void
validateResponse(final HttpResponse response, final EntityDetails responseEntityDetails)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ServerSupportback to summary
public ServerSupport()

Method Detail

toErrorMessageback to summary
public static String toErrorMessage(final Exception ex)
toStatusCodeback to summary
public static int toStatusCode(final Exception ex)
validateResponseback to summary
public static void validateResponse(final HttpResponse response, final EntityDetails responseEntityDetails) throws HttpException