Package org.apache.http.protocol
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
-
Interface Summary Interface Description ExecutionContext Deprecated. (4.3) useHttpCoreContext
.HttpContext HttpContext represents execution state of an HTTP process.HttpExpectationVerifier Defines an interface to verify whether an incoming HTTP request meets the target server's expectations.HttpProcessor HTTP protocol processor is a collection of 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.HttpRequestHandler HttpRequestHandler represents a routine for processing of a specific group of HTTP requests.HttpRequestHandlerMapper HttpRequestHandlerMapper can be used to resolve an instance ofHttpRequestHandler
matching a particularHttpRequest
.HttpRequestHandlerResolver Deprecated. HttpRequestInterceptorList Deprecated. (4.3)HttpResponseInterceptorList Deprecated. (4.3) -
Class Summary Class Description BasicHttpContext Default implementation ofHttpContext
.BasicHttpProcessor Deprecated. (4.3)DefaultedHttpContext Deprecated. (4.3) no longer used.HTTP Constants and static helpers related to the HTTP protocol.HttpCoreContext Implementation ofHttpContext
that provides convenience setters for user assignable attributes and getter for readable attributes.HttpDateGenerator Generates a date in the format required by the HTTP protocol.HttpProcessorBuilder Builder forHttpProcessor
instances.HttpRequestExecutor HttpRequestExecutor
is a client side HTTP protocol handler based on the blocking (classic) I/O model.HttpRequestHandlerRegistry Deprecated. (4.3) useUriHttpRequestHandlerMapper
HttpService HttpService
is a server side HTTP protocol handler based on the classic (blocking) I/O model.ImmutableHttpProcessor ImmutableHttpProcessor
.RequestConnControl RequestConnControl is responsible for addingConnection
header to the outgoing requests, which is essential for managing persistence ofHTTP/1.0
connections.RequestContent RequestContent is the most important interceptor for outgoing requests.RequestDate RequestDate interceptor is responsible for addingDate
header to the outgoing requests This interceptor is optional for client side protocol processors.RequestExpectContinue RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by addingExpect
header.RequestTargetHost RequestTargetHost is responsible for addingHost
header.RequestUserAgent RequestUserAgent is responsible for addingUser-Agent
header.ResponseConnControl ResponseConnControl is responsible for addingConnection
header to the outgoing responses, which is essential for managing persistence ofHTTP/1.0
connections.ResponseContent ResponseContent is the most important interceptor for outgoing responses.ResponseDate ResponseDate is responsible for addingDate
header to the outgoing responses.ResponseServer ResponseServer is responsible for addingServer
header.SyncBasicHttpContext Deprecated. (4.2) HttpContext instances may not be shared by multiple threadsUriHttpRequestHandlerMapper Maintains a map of HTTP request handlers keyed by a request URI pattern.UriPatternMatcher<T> Maintains a map of objects keyed by a request URI pattern.