All Classes and Interfaces

Class
Description
Abstract HttpAsyncRequestConsumer implementation that relieves its subclasses from having to manage internal state and provides a number of protected event methods that they need to implement.
Abstract HttpAsyncResponseConsumer implementation that relieves its subclasses from having to manage internal state and provides a number of protected event methods that they need to implement.
Abstract synchronous (blocking) pool of connections.
Abstract ContentDecoder that serves as a base for all content decoder implementations.
Abstract ContentEncoder that serves as a base for all content encoder implementations.
Deprecated.
Abstract base class for entities.
Basic implementation of HttpMessage.
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
Deprecated.
Abstract IOEventDispatch implementation that supports both plain (non-encrypted) and SSL encrypted HTTP connections.
Generic implementation of IOReactor that can used as a subclass for more specialized I/O reactors.
Abstract base class for HTTP message parsers that obtain input from an instance of SessionInputBuffer.
Abstract NHttpMessageParser that serves as a base for all message parser implementations.
Abstract base class for HTTP message writers that serialize output to an instance of SessionOutputBuffer.
Abstract NHttpMessageWriter that serves as a base for all message writer implementations.
Generic implementation of IOReactor that can run multiple BaseIOReactor instances in separate worker threads and distribute newly created I/O sessions equally across those I/O reactors for more optimal resource utilization and better I/O performance.
 
 
Abstract non-blocking connection pool.
Deprecated.
Deprecated.
 
 
Deprecated.
 
Deprecated.
 
 
Default implementation of AbstractIOReactor that serves as a base for more advanced IOReactor implementations.
Basic implementation of HttpAsyncClientExchangeHandler that executes a single HTTP request / response exchange.
Basic implementation of HttpAsyncRequestConsumer.
Deprecated.
Basic implementation of HttpAsyncRequestHandler that delegates the process of request handling to a HttpRequestHandler.
Basic implementation of HttpAsyncRequestProducer.
Basic implementation of HttpAsyncResponseConsumer.
Basic implementation of HttpAsyncResponseProducer.
A very basic ConnFactory implementation that creates HttpClientConnection instances given a HttpHost instance.
A very basic ConnPool implementation that represents a pool of blocking HttpClientConnection connections identified by an HttpHost instance.
Basic implementation of the Future interface.
Implements a basic Header.
Basic implementation of HeaderElement
Basic implementation of a HeaderElementIterator.
Basic implementation of a HeaderIterator.
Basic implementation for formatting header value elements.
Basic implementation for parsing header values into elements.
Default implementation of HttpContext.
A generic streamed, non-repeatable entity that obtains its content from an InputStream.
Basic implementation of HttpEntityEnclosingRequest.
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
Deprecated.
(4.3)
Basic implementation of HttpRequest.
Basic implementation of HttpResponse.
Interface for formatting elements of the HEAD section of an HTTP message.
Basic parser for lines in the head section of an HTTP message.
Implementation of a HeaderIterator based on a List.
Basic implementation of NameValuePair.
A basic NIOConnFactory implementation that creates NHttpClientConnection instances given a HttpHost instance.
A very basic ConnPool implementation that represents a pool of non-blocking NHttpClientConnection connections identified by an HttpHost instance.
 
A basic PoolEntry implementation that represents an entry in a pool of non-blocking NHttpClientConnections identified by an HttpHost instance.
A very basic PoolEntry implementation that represents an entry in a pool of blocking HttpClientConnections identified by an HttpHost instance.
Basic implementation of RequestLine.
Basic implementation of StatusLine
Basic implementation of a TokenIterator.
This class serves as a base for all HttpConnection implementations and provides functionality common to both client and server HTTP connections.
This class represents a raw HTTP header whose content is parsed 'on demand' only when the header value needs to be consumed.
A wrapping entity that buffers it content if necessary.
Basic buffer properties.
Deprecated.
(4.1) Use BufferInfo
Deprecated.
 
Deprecated.
 
A resizable byte array.
A self contained, repeatable entity that obtains its content from a byte array.
Abstract interface to allocate ByteBuffer instances.
A Cancellable represents a process or an operation that can be canceled.
Builder class to build a linked list (chain) of unique class instances.
SocketChannel entry maintained by the I/O reactor.
A resizable char array.
 
Implements chunked transfer coding.
Implements chunked transfer coding.
Implements chunked transfer coding.
Implements chunked transfer coding.
ConnectingIOReactor represents an I/O reactor capable of establishing connections to remote hosts.
Signals that the connection has been closed unexpectedly.
HTTP connection configuration.
 
Interface for deciding whether a connection can be re-used for subsequent requests and should be kept alive.
Factory for poolable blocking connections.
ConnPool represents a shared pool connections can be leased from and released back to.
Interface to control runtime properties of a ConnPool such as maximum total number of connections or maximum connections per route allowed.
Connection support methods.
Commons constants.
HTTP entity wrapper whose content is provided by a ContentInputBuffer.
Abstract HTTP content decoder.
A ReadableByteChannel that delegates to a ContentDecoder.
Abstract HTTP content encoder.
A WritableByteChannel that delegates to a ContentEncoder.
Generic content input buffer.
Input stream that cuts off after a defined number of bytes.
Output stream that cuts off after a defined number of bytes.
Represents a strategy to determine length of the enclosed content entity based on properties of the HTTP message.
Deprecated.
(4.2)
Generic content output buffer.
An abstract entity content producer.
Signals that HTTP entity content is too long.
Content type information consisting of a MIME type and an optional charset.
This annotation defines behavioral contract enforced at runtime by instances of annotated classes.
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
Default implementation of HttpClientConnection.
Default factory for HttpClientConnections.
Default implementation of HttpServerConnection.
Default factory for HttpServerConnections.
Deprecated.
Default implementation of ConnectingIOReactor.
Default implementation of a strategy deciding about connection re-use.
Deprecated.
(4.3) no longer used.
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
Deprecated.
Default IOEventDispatch implementation that supports both plain (non-encrypted) and SSL encrypted client side HTTP connections.
Default factory for creating HttpRequest objects.
HTTP request parser that obtain its input from an instance of SessionInputBuffer.
Default NHttpMessageParser implementation for HttpRequests.
Default factory for request message parsers.
Default factory for request message parsers.
HTTP request writer that serializes its output to an instance of SessionOutputBuffer.
Default NHttpMessageWriter implementation for HttpRequests.
Default factory for request message writers.
Default factory for request message writers.
Default factory for creating HttpResponse objects.
HTTP response parser that obtain its input from an instance of SessionInputBuffer.
Default NHttpMessageParser implementation for HttpResponses.
Default factory for response message parsers.
Default factory for response message parsers.
HTTP response writer that serializes its output to an instance of SessionOutputBuffer.
Default NHttpMessageWriter implementation for HttpResponses.
Default factory for response message writers.
Default factory for response message writers.
Deprecated.
Default IOEventDispatch implementation that supports both plain (non-encrypted) and SSL encrypted server side HTTP connections.
Default implementation of ListeningIOReactor.
Default implementation of the NHttpClientConnection interface.
Default factory for plain (non-encrypted), non-blocking NHttpClientConnections.
Default implementation of the NHttpServerConnection interface.
Default factory for plain (non-encrypted), non-blocking NHttpServerConnections.
Deprecated.
Allocates ByteBuffer instances using ByteBuffer.allocateDirect(int).
Decorator for ContentLengthStrategy implementations that disallows the use of identity transfer encoding.
 
The home for utility methods that handle various encoding tasks.
English reason phrases for HTTP status codes.
Basic implementation of HttpAsyncContentProducer that relies on inefficient and potentially blocking I/O operation redirection through Channels.newChannel(java.io.InputStream).
Deprecated.
Deprecated.
Entity that delegates the process of content generation to a ContentProducer.
Static helpers for dealing with HttpEntitys.
Deprecated.
(4.3) no longer used.
This class changed from package private to public in version 4.4.8.
Deprecated.
(4.2) do not use
Type of I/O event notifications I/O sessions can declare interest in.
A Throwable instance along with a time stamp.
 
Deprecated.
(4.2) no longer used
Deprecated.
(4.3) use HttpCoreContext.
A buffer that expand its capacity on demand using ByteBufferAllocator interface.
The field or method to which this annotation is applied is marked as experimental.
A content decoder capable of transferring data directly to a FileChannel
A content encoder capable of transferring data directly from a FileChannel
A self contained, repeatable entity that obtains its content from a file.
An HTTP header which is already formatted.
A callback interface that gets invoked upon completion of a Future.
Represents an HTTP header field.
One element of an HTTP header value consisting of a name / value pair and a number of optional name / value parameters.
A type-safe iterator for HeaderElement objects.
A class for combining a set of headers.
A type-safe iterator for Header objects.
Interface for formatting elements of a header value.
Interface for parsing header values into elements.
Allocates ByteBuffer instances using ByteBuffer.allocate(int).
Constants and static helpers related to the HTTP protocol.
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
HttpAsyncClientExchangeHandler represents a callback interface whose methods get invoked when executing one or multiple HTTP message exchanges on the client side.
HttpAsyncContentProducer is a callback interface whose methods get invoked to stream out message content to a non-blocking HTTP connection.
HttpAsyncExchange represents a server-side HTTP message exchange where an HTTP response can be deferred without blocking the I/O event thread and triggered asynchronously at a later point of later time.
HttpAsyncExpectationVerifier defines a strategy to verify whether or not an incoming HTTP request meets the target server's expectations.
HttpAsyncRequestConsumer is a callback interface whose methods get invoked to process an HTTP request message and to stream message content from a non-blocking HTTP connection on the server side.
HttpAsyncRequester is a utility class that can be used in conjunction with HttpAsyncRequestExecutor to initiate execution of asynchronous HTTP requests.
HttpAsyncRequestExecutor is a fully asynchronous HTTP client side protocol handler based on the NIO (non-blocking) I/O model.
 
HttpAsyncRequestHandler represents a routine for asynchronous processing of a specific group of non-blocking HTTP requests.
HttpAsyncRequestHandlerMapper can be used to resolve an instance of HttpAsyncRequestHandler matching a particular HttpRequest.
Deprecated.
HttpAsyncRequestProducer is a callback interface whose methods get invoked to generate an HTTP request message and to stream message content to a non-blocking HTTP connection.
HttpAsyncResponseConsumer is a callback interface whose methods get invoked to process an HTTP response message and to stream message content from a non-blocking HTTP connection on the client side.
HttpAsyncResponseProducer is a callback interface whose methods get invoked to generate an HTTP response message and to stream message content to a non-blocking HTTP connection on the server side.
HttpAsyncService is a fully asynchronous HTTP server side protocol handler based on the non-blocking (NIO) I/O model.
Deprecated.
Do not use.
 
 
 
 
A client-side HTTP connection, which can be used for sending requests and receiving responses.
A generic HTTP connection, useful on client and server side.
Factory for HttpConnection instances.
The point of access to the statistics of an HttpConnection.
Default implementation of the HttpConnectionMetrics interface.
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
HttpContext represents execution state of an HTTP process.
Implementation of HttpContext that provides convenience setters for user assignable attributes and getter for readable attributes.
Generates a date in the format required by the HTTP protocol.
An entity that can be sent or received with an HTTP message.
A request with an entity.
Base class for wrapping entities.
Signals that an HTTP exception has occurred.
Defines an interface to verify whether an incoming HTTP request meets the target server's expectations.
Constants enumerating the HTTP headers.
Holds all of the variables needed to describe an HTTP connection to a host.
An HTTP connection over the Internet Protocol (IP).
HTTP messages consist of requests from client to server and responses from server to client.
Abstract message parser intended to build HTTP messages from an arbitrary data source.
Factory for HttpMessageParser instances.
Abstract message writer intended to serialize HTTP messages to an arbitrary data sink.
Factory for HttpMessageWriter instances.
Deprecated.
(4.3) provided for compatibility with HttpParams.
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
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.
Builder for HttpProcessor instances.
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use.
Deprecated.
HttpRequestExecutor is a client side HTTP protocol handler based on the blocking (classic) I/O model.
A factory for HttpRequest objects.
HttpRequestHandler represents a routine for processing of a specific group of HTTP requests.
HttpRequestHandlerMapper can be used to resolve an instance of HttpRequestHandler matching a particular HttpRequest.
Deprecated.
Deprecated.
HTTP protocol interceptor is a routine that implements a specific aspect of the HTTP protocol.
Deprecated.
(4.3)
Deprecated.
Deprecated.
Deprecated.
Deprecated.
After receiving and interpreting a request message, a server responds with an HTTP response message.
A factory for HttpResponse objects.
HTTP protocol interceptor is a routine that implements a specific aspect of the HTTP protocol.
Deprecated.
(4.3)
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
 
 
 
A server-side HTTP connection, which can be used for receiving requests and sending responses.
HttpService is a server side HTTP protocol handler based on the classic (blocking) I/O model.
Deprecated.
Do not use.
Constants enumerating the HTTP status codes.
The point of access to the statistics of SessionInputBuffer or SessionOutputBuffer.
Default implementation of HttpTransportMetrics.
Represents an HTTP version.
Content decoder that reads data without any transformation.
Content encoder that writes data without any transformation.
Input stream that reads data without any transformation.
Output stream that writes data without any transformation.
Immutable HttpProcessor.
A streamed, non-repeatable entity that obtains its content from an InputStream.
Helper class, representing an entry on an interestOps(int) queue.
Callback interface used internally by I/O session implementations to delegate execution of a SelectionKey.interestOps(int) operation to the I/O reactor.
Connection input/output control interface.
IOEventDispatch interface is used by I/O reactors to notify clients of I/O events pending for a particular session.
HttpCore NIO is based on the Reactor pattern as described by Doug Lea.
I/O reactor configuration parameters.
 
I/O exception that can be thrown by an I/O reactor.
Abstract exception handler intended to deal with potentially recoverable I/O exceptions thrown by an I/O reactor.
IOReactorStatus represents an internal status of an I/O reactor.
IOSession interface represents a sequence of logically related data exchanges between two end points.
Default implementation of IOSession.
A set of utility methods to help produce consistent equals and hashCode methods.
The lax implementation of the content length strategy.
 
Content decoder that cuts off after a defined number of bytes.
Content encoder that cuts off after a defined number of bytes.
Interface for formatting elements of the HEAD section of an HTTP message.
Interface for parsing lines in the HEAD section of an HTTP message.
ListenerEndpoint interface represents an endpoint used by an I/O reactor to listen for incoming connection from remote clients.
Listener endpoint callback interface used internally by I/O reactor implementations.
Default implementation of ListenerEndpoint.
ListeningIOReactor represents an I/O reactor capable of listening for incoming connections on one or several ports.
Generic lookup by low-case string ID.
Signals a malformed chunked stream.
Signals a message constraint violation.
HTTP Message constraints: line length and header count.
 
 
Signals that an HTTP method is not supported.
A name-value pair parameter used as an element of HTTP messages.
A simple self contained, repeatable non-blocking entity that retrieves its content from a byte array.
 
A self contained, repeatable non-blocking entity that retrieves its content from a file.
Abstract non-blocking client-side HTTP connection interface.
Abstract client-side HTTP protocol handler.
Deprecated.
(4.2)
Deprecated.
Deprecated.
(4.2) no longer used
Abstract non-blocking HTTP connection interface.
This class serves as a base for all NHttpConnection implementations and provides functionality common to both client and server HTTP connections.
Factory for NHttpConnection instances.
Deprecated.
Deprecated.
(4.2) do not use
Abstract HTTP message parser for non-blocking connections.
Factory for NHttpMessageParser instances.
Abstract HTTP message writer for non-blocking connections.
Factory for NHttpMessageWriter instances.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Abstract non-blocking server-side HTTP connection interface.
Abstract server-side HTTP event handler.
Deprecated.
(4.2)
Deprecated.
(4.2) no longer used
Deprecated.
Factory for poolable non-blocking connections.
Deprecated.
(4.2) use IOReactorConfig
Deprecated.
(4.2) use IOReactorConfig
Deprecated.
(4.2) use IOReactorConfig
A strategy that never re-uses a connection.
Signals that the target server failed to respond with a valid HTTP response.
A simple, self contained, repeatable non-blocking entity that retrieves its content from a String object.
Deprecated.
(4.2)
 
 
The field or method to which this annotation is applied is marked as implementing requirements of the HTTP protocol or a related protocol that are now obsolete.
Signals a parse error.
This class represents a context of a parsing operation: the current position the parsing operation is expected to start at the bounds limiting the scope of the parsing operation
A SSLBufferManagementStrategy that never releases the underlying buffer.
 
 
Pipelining implementation of HttpAsyncClientExchangeHandler that executes a series of pipelined HTTP requests.
Pool entry containing a pool connection object along with its route.
Pool entry callabck.
Pool statistics.
Private key details.
A strategy allowing for a choice of an alias during SSL authentication.
Signals that an HTTP protocol violation has occurred.
Represents a protocol version.
Interface for obtaining reason phrases for HTTP status codes.
Generic registry of items keyed by low-case string ID.
Builder for Registry instances.
A SSLBufferManagementStrategy that releases the underlying buffer when deactivated.
 
RequestConnControl is responsible for adding Connection header to the outgoing requests, which is essential for managing persistence of HTTP/1.0 connections.
RequestContent is the most important interceptor for outgoing requests.
RequestDate interceptor is responsible for adding Date header to the outgoing requests This interceptor is optional for client side protocol processors.
RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by adding Expect header.
The Request-Line begins with a method token, followed by the Request-URI and the protocol version, and ending with CRLF.
 
RequestTargetHost is responsible for adding Host header.
RequestUserAgent is responsible for adding User-Agent header.
ResponseConnControl is responsible for adding Connection header to the outgoing responses, which is essential for managing persistence of HTTP/1.0 connections.
ResponseContent is the most important interceptor for outgoing responses.
ResponseDate is responsible for adding Date header to the outgoing responses.
ResponseServer is responsible for adding Server header.
 
 
A streamed entity that obtains its content from a Serializable.
 
 
SessionBufferStatus interface is intended to query the status of session I/O buffers.
Session callback interface used internally by I/O reactor implementations.
Deprecated.
(4.2) use IOSessionImpl
 
Session input buffer for blocking connections.
Session input buffer for non-blocking connections.
Abstract base class for session input buffers that stream data from an arbitrary InputStream.
Default implementation of SessionInputBuffer based on the ExpandableBuffer class.
Session output buffer for blocking connections.
Session output buffer for non-blocking connections.
Abstract base class for session output buffers that stream data to an arbitrary OutputStream.
Default implementation of SessionOutputBuffer based on the ExpandableBuffer class.
SessionRequest interface represents a request to establish a new connection (or session) to a remote host.
SessionRequestCallback interface can be used to get notifications of completion of session requests asynchronously without having to wait for it, blocking the current thread of execution.
Session request handle class used by I/O reactor implementations to keep a reference to a SessionRequest along with the time the request was made.
Default implementation of SessionRequest.
 
Implementation of the ContentInputBuffer interface that can be shared by multiple threads, usually the I/O dispatch of an I/O reactor and a worker thread.
Implementation of the ContentOutputBuffer interface that can be shared by multiple threads, usually the I/O dispatch of an I/O reactor and a worker thread.
Basic implementation of the ContentInputBuffer interface.
Deprecated.
Basic implementation of the ContentOutputBuffer interface.
Deprecated.
(4.2)
Provides access to the underlying Socket.
Strategy that resolves an abstract connection route to a local or a remote SocketAddress.
Socket configuration.
 
Deprecated.
Deprecated.
Do not use.
Deprecated.
Deprecated.
Managed internal SSL buffer.
Encapsulates logic to manager SSL input/output buffers.
Deprecated.
Deprecated.
Builder for SSLContext instances.
 
 
SSLContext factory methods.
 
 
Deprecated.
(4.2) use SSLIOSession
SSLIOSession is a decorator class intended to transparently extend an IOSession with transport layer security capabilities based on the SSL/TLS protocol.
Deprecated.
(4.2) Use SSLSetupHandler
Deprecated.
(4.2)
Deprecated.
(4.2)
 
Default factory for SSL encrypted, non-blocking NHttpClientConnections.
Default factory for SSL encrypted, non-blocking NHttpServerConnections.
Deprecated.
Deprecated.
Server SSL setup handler.
Deprecated.
(4.2) use SSLSetupHandler
Callback interface that can be used to customize various aspects of the TLS/SSL protocol.
Deprecated.
(4.2)
The first line of a Response message is the Status-Line, consisting of the protocol version followed by a numeric status code and its associated textual phrase, with each element separated by SP characters.
The strict implementation of the content length strategy.
A self contained, repeatable entity that obtains its content from a String.
Deprecated.
(4.2) HttpContext instances may not be shared by multiple threads
Deprecated.
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
 
 
 
Defines types of threading behavior enforced at runtime.
Deprecated.
 
Deprecated.
 
An iterator for String tokens.
Low level parser for header field elements.
Signals a truncated chunk in a chunked stream.
A strategy to establish trustworthiness of certificates without consulting the trust manager configured in the actual SSL context.
Signals an unsupported version of the HTTP protocol.
Maintains a map of HTTP request handlers keyed by a request URI pattern.
Maintains a map of HTTP request handlers keyed by a request URI pattern.
Maintains a map of objects keyed by a request URI pattern.
Provides access to version information for HTTP components.