HTTP protocol execution framework. This package contains common protocol
aspects implemented as protocol interceptors as well as protocol handler
implementations based on classic (blocking) I/O model.
Interfaces
ExecutionContext |
HttpContext attribute names for protocol execution. |
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. |
HttpRequestHandlerResolver |
HttpRequestHandlerResolver can be used to resolve an instance of
HttpRequestHandler matching a particular request URI. |
HttpRequestInterceptorList |
Provides access to an ordered list of request interceptors. |
HttpResponseInterceptorList |
Provides access to an ordered list of response interceptors. |
Classes
BasicHttpContext |
Default implementation of HttpContext . |
BasicHttpProcessor |
Default implementation of HttpProcessor . |
DefaultedHttpContext |
HttpContext implementation that delegates resolution of an attribute
to the given default HttpContext instance if the attribute is not
present in the local one. |
HTTP |
Constants and static helpers related to the HTTP protocol. |
HttpDateGenerator |
Generates a date in the format required by the HTTP protocol. |
HttpRequestExecutor |
HttpRequestExecutor is a client side HTTP protocol handler based on the
blocking I/O model that implements the essential requirements of the HTTP
protocol for the client side message processing, as described by RFC 2616. |
HttpRequestHandlerRegistry |
Maintains a map of HTTP request handlers keyed by a request URI pattern. |
HttpService |
HttpService is a server side HTTP protocol handler based in the blocking
I/O model that implements the essential requirements of the HTTP protocol
for the server side message processing as described by RFC 2616. |
ImmutableHttpProcessor |
Immutable HttpProcessor . |
RequestConnControl |
RequestConnControl is responsible for adding Connection header
to the outgoing requests, which is essential for managing persistence of
HTTP/1.0 connections. |
RequestContent |
RequestContent is the most important interceptor for outgoing requests. |
RequestDate |
RequestDate interceptor is responsible for adding Date 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 adding Expect header. |
RequestTargetHost |
RequestTargetHost is responsible for adding Host header. |
RequestUserAgent |
RequestUserAgent is responsible for adding User-Agent header. |
ResponseConnControl |
ResponseConnControl is responsible for adding Connection header
to the outgoing responses, which is essential for managing persistence of
HTTP/1.0 connections. |
ResponseContent |
ResponseContent is the most important interceptor for outgoing responses. |
ResponseDate |
ResponseDate is responsible for adding Date header to the
outgoing responses. |
ResponseServer |
ResponseServer is responsible for adding Server header. |
SyncBasicHttpContext |
Thread-safe extension of the BasicHttpContext . |
UriPatternMatcher |
Maintains a map of objects keyed by a request URI pattern. |