Package org.apache.hc.core5.http.protocol
Core HTTP protocol interceptors.
-
Interface Summary Interface Description HttpContext HttpContext represents execution state of an HTTP process.HttpProcessor Collects protocol interceptors that implements the 'Chain of Responsibility' pattern, where each individual protocol interceptor is expected to work on a particular aspect of the HTTP protocol the interceptor is responsible for.LookupRegistry<T> Deprecated. UseRequestRouterfor request routing. -
Class Summary Class Description BasicHttpContext Deprecated. Do not use.ChainBuilder<E> Builder class to build a linked list (chain) of unique class instances.DefaultHttpProcessor Default immutable implementation ofHttpProcessor.ForwardedRequest This request interceptor can be used by an HTTP proxy or an intermediary to add a Forwarded header to outgoing request messages.HttpCoreContext Core executionHttpContext.HttpCoreContext.Delegate Internal adaptor class that delegates all its method calls to a plainHttpContext.HttpDateGenerator Generates a date in the format required by the HTTP protocol.HttpProcessorBuilder Builder forHttpProcessorinstances.RequestConformance This request interceptor is responsible for execution of the protocol conformance checks on incoming request messages.RequestConnControl This request interceptor is responsible for addingConnectionheader to outgoing requests, which is essential for managing persistence ofHTTP/1.0connections.RequestContent This request interceptor is responsible for delimiting the message content by addingContent-LengthorTransfer-Contentheaders based on the properties of the enclosed entity and the protocol version.RequestDate This request interceptor is responsible for addingDateheader to outgoing request messages.RequestExpectContinue This request interceptor is responsible for activation of the 'expect-continue' handshake by adding aExpectheader describing client expectations.RequestHandlerRegistry<T> Deprecated. UseRequestRouter.RequestTargetHost This request interceptor is responsible for addingHostheader to outgoing request messages.RequestTE HTTP protocol interceptor responsible for validating and processing theHttpHeaders.TEheader field in HTTP/1.1 requests.RequestUserAgent This request interceptor is responsible for addingUser-Agentheader.RequestValidateHost This request interceptor is responsible for copyingHostheader value toHttpRequest.setAuthority(URIAuthority)of incoming request messages.ResponseConformance This response interceptor is responsible for making the protocol conformance checks of outgoing response messages.ResponseConnControl This response interceptor is responsible for addingConnectionheader to outgoing responses, which is essential for managing persistence ofHTTP/1.0connections.ResponseContent This response interceptor is responsible for delimiting the message content by addingContent-LengthorTransfer-Contentheaders based on the properties of the enclosed entity and the protocol version.ResponseDate This response interceptor is responsible for addingDateheader to outgoing response messages.ResponseServer This response interceptor is responsible for addingServerheader.UriPatternMatcher<T> Deprecated. UseRequestRouterfor request routing.UriPatternOrderedMatcher<T> Deprecated. UseRequestRouterfor request routing.UriRegexMatcher<T> Deprecated. UseRequestRouterfor request routing.ViaRequest This request interceptor can be used by an HTTP proxy or intemediary to add theHttpHeaders.VIAHTTP header to outgoing request messages. -
Enum Summary Enum Description UriPatternType