Top Description Interfaces Classes
[default module]

Package org.apache.http.protocol


Core HTTP protocol execution framework and HTTP protocol handlers for synchronous, blocking communication.

Interface Summary

Modifier and TypeInterface and Description
public interface
ExecutionContext

Deprecated (4.3) use HttpCoreContext.
HttpContext attribute names for protocol execution.
public interface
HttpContext

HttpContext represents execution state of an HTTP process.

public interface
HttpExpectationVerifier

Defines an interface to verify whether an incoming HTTP request meets the target server's expectations.

public interface
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.

public interface
HttpRequestHandler

HttpRequestHandler represents a routine for processing of a specific group of HTTP requests.

public interface
HttpRequestHandlerMapper

HttpRequestHandlerMapper can be used to resolve an instance of HttpRequestHandler matching a particular HttpRequest.

public interface
HttpRequestHandlerResolver

Deprecated see HttpRequestHandlerMapper
HttpRequestHandlerResolver can be used to resolve an instance of HttpRequestHandler matching a particular request URI.
public interface
HttpRequestInterceptorList

Deprecated (4.3)
Provides access to an ordered list of request interceptors.
public interface
HttpResponseInterceptorList

Deprecated (4.3)
Provides access to an ordered list of response interceptors.

Class Summary

Modifier and TypeClass and Description
public class
BasicHttpContext

Default implementation of HttpContext.

public class
BasicHttpProcessor

Deprecated (4.3)
Default implementation of HttpProcessor.
pack-priv class
ChainBuilder<E>

Builder class to build a linked list (chain) of unique class instances.

public class
DefaultedHttpContext

Deprecated (4.3) no longer used.
HttpContext implementation that delegates resolution of an attribute to the given default HttpContext instance if the attribute is not present in the local one.
public class
HTTP

Constants and static helpers related to the HTTP protocol.

public class
HttpCoreContext

Implementation of HttpContext that provides convenience setters for user assignable attributes and getter for readable attributes.

public class
HttpDateGenerator

Generates a date in the format required by the HTTP protocol.

public class
HttpProcessorBuilder

Builder for HttpProcessor instances.

public class
HttpRequestExecutor

HttpRequestExecutor is a client side HTTP protocol handler based on the blocking (classic) I/O model.

public class
HttpRequestHandlerRegistry

Deprecated (4.3) use UriHttpRequestHandlerMapper
Maintains a map of HTTP request handlers keyed by a request URI pattern.
public class
HttpService

HttpService is a server side HTTP protocol handler based on the classic (blocking) I/O model.

public class
public class
RequestConnControl

RequestConnControl is responsible for adding Connection header to the outgoing requests, which is essential for managing persistence of HTTP/1.0 connections.

public class
RequestContent

RequestContent is the most important interceptor for outgoing requests.

public class
RequestDate

RequestDate interceptor is responsible for adding Date header to the outgoing requests This interceptor is optional for client side protocol processors.

public class
RequestExpectContinue

RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by adding Expect header.

public class
RequestTargetHost

RequestTargetHost is responsible for adding Host header.

public class
RequestUserAgent

RequestUserAgent is responsible for adding User-Agent header.

public class
ResponseConnControl

ResponseConnControl is responsible for adding Connection header to the outgoing responses, which is essential for managing persistence of HTTP/1.0 connections.

public class
ResponseContent

ResponseContent is the most important interceptor for outgoing responses.

public class
ResponseDate

ResponseDate is responsible for adding Date header to the outgoing responses.

public class
ResponseServer

ResponseServer is responsible for adding Server header.

public class
SyncBasicHttpContext

Deprecated (4.2) HttpContext instances may not be shared by multiple threads
Thread-safe extension of the BasicHttpContext.
public class
UriHttpRequestHandlerMapper

Maintains a map of HTTP request handlers keyed by a request URI pattern.

public class
UriPatternMatcher<
The type of registered objects.
T
>

Maintains a map of objects keyed by a request URI pattern.