All Classes and Interfaces
Class
Description
Abstract synchronous (blocking) pool of connections.
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.
(4.3) use
DefaultBHttpServerConnection
Abstract base class for HTTP message parsers that obtain input from
an instance of
SessionInputBuffer
.Abstract base class for HTTP message writers that serialize output to
an instance of
SessionOutputBuffer
.Deprecated.
(4.3) use
SessionInputBufferImpl
Deprecated.
(4.3) use
SessionOutputBufferImpl
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 very basic
PoolEntry
implementation that represents an entry
in a pool of blocking HttpClientConnection
s 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.
A resizable byte array.
A self contained, repeatable entity that obtains its content from a byte array.
A
Cancellable
represents a process or an operation that can be
canceled.A resizable char array.
Implements chunked transfer coding.
Implements chunked transfer coding.
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.
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.
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
HttpClientConnection
s.Default implementation of
HttpServerConnection
.Default factory for
HttpServerConnection
s.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.
(4.3) use
DefaultBHttpClientConnection
Default factory for creating
HttpRequest
objects.HTTP request parser that obtain its input from an instance
of
SessionInputBuffer
.Default factory for request message parsers.
HTTP request writer that serializes its output to an instance of
SessionOutputBuffer
.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 factory for response message parsers.
HTTP response writer that serializes its output to an instance of
SessionOutputBuffer
.Default factory for response message writers.
Deprecated.
(4.3) use
DefaultBHttpServerConnection
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.
Deprecated.
(4.3) use
BHttpConnectionBase
Deprecated.
(4.3) use
BHttpConnectionBase
Entity that delegates the process of content generation
to a
ContentProducer
.Static helpers for dealing with
HttpEntity
s.Deprecated.
(4.3) no longer used.
Deprecated.
(4.2) no longer used
Deprecated.
(4.3) use
HttpCoreContext
.The field or method to which this annotation is applied is marked as experimental.
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.
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'
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.
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.
(4.3) use
UriHttpRequestHandlerMapper
Deprecated.
HTTP protocol interceptor is a routine that implements a specific aspect of
the HTTP protocol.
Deprecated.
(4.3)
Deprecated.
(4.2) use
DefaultHttpRequestParser
Deprecated.
(4.3) use
DefaultHttpRequestWriter
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.
(4.2) use
DefaultHttpResponseParser
Deprecated.
(4.3) use
DefaultHttpResponseWriter
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.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.
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
.The lax implementation of the content length strategy.
Interface for formatting elements of the HEAD section of an HTTP message.
Interface for parsing lines in the HEAD section of an HTTP message.
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 strategy that never re-uses a connection.
Signals that the target server failed to respond with a valid HTTP response.
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
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.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
.Session input buffer for blocking connections.
Abstract base class for session input buffers that stream data from
an arbitrary
InputStream
.Session output buffer for blocking connections.
Abstract base class for session output buffers that stream data to
an arbitrary
OutputStream
.Socket configuration.
Deprecated.
(4.3) use
DefaultBHttpClientConnection
Deprecated.
Do not use.
Deprecated.
(4.3) use
SessionInputBufferImpl
Deprecated.
(4.3) use
SessionOutputBufferImpl
Builder for
SSLContext
instances.SSLContext
factory methods.Server SSL setup handler.
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.
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 objects keyed by a request URI pattern.
Provides access to version information for HTTP components.
DefaultBHttpClientConnection