Package org.apache.hc.core5.http.protocol
package org.apache.hc.core5.http.protocol
Core HTTP protocol interceptors.
-
ClassDescriptionDeprecated.Do not use.ChainBuilder<E>Builder class to build a linked list (chain) of unique class instances.Default immutable implementation of
HttpProcessor.This request interceptor can be used by an HTTP proxy or an intermediary to add a Forwarded header to outgoing request messages.HttpContext represents execution state of an HTTP process.Core executionHttpContext.Internal adaptor class that delegates all its method calls to a plainHttpContext.Generates a date in the format required by the HTTP protocol.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.Builder forHttpProcessorinstances.Deprecated.UseRequestRouterfor request routing.This request interceptor is responsible for execution of the protocol conformance checks on incoming request messages.This request interceptor is responsible for addingConnectionheader to outgoing requests, which is essential for managing persistence ofHTTP/1.0connections.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.This request interceptor is responsible for addingDateheader to outgoing request messages.This request interceptor is responsible for activation of the 'expect-continue' handshake by adding aExpectheader describing client expectations.Deprecated.UseRequestRouter.This request interceptor is responsible for addingHostheader to outgoing request messages.HTTP protocol interceptor responsible for validating and processing theHttpHeaders.TEheader field in HTTP/1.1 requests.This request interceptor is responsible for addingUser-Agentheader.This request interceptor is responsible for copyingHostheader value toHttpRequest.setAuthority(URIAuthority)of incoming request messages.This response interceptor is responsible for making the protocol conformance checks of outgoing response messages.This response interceptor is responsible for addingConnectionheader to outgoing responses, which is essential for managing persistence ofHTTP/1.0connections.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.This response interceptor is responsible for addingDateheader to outgoing response messages.This response interceptor is responsible for addingServerheader.Deprecated.UseRequestRouterfor request routing.Deprecated.UseRequestRouterfor request routing.Deprecated.UseRequestRouterfor request routing.This request interceptor can be used by an HTTP proxy or intemediary to add theHttpHeaders.VIAHTTP header to outgoing request messages.