Package | Description |
---|---|
org.apache.http |
Core HTTP component APIs and primitives.
|
org.apache.http.auth |
Client HTTP authentication APIs.
|
org.apache.http.auth.params |
Deprecated.
|
org.apache.http.client |
Client HTTP communication APIs.
|
org.apache.http.client.config |
Client configuration APIs.
|
org.apache.http.client.params |
Deprecated.
|
org.apache.http.client.protocol |
Client specific HTTP protocol handlers.
|
org.apache.http.client.utils |
Client utility classes.
|
org.apache.http.config |
Core configuration APIs.
|
org.apache.http.conn |
Client connection management APIs.
|
org.apache.http.conn.params |
Deprecated.
|
org.apache.http.conn.routing |
Client connection routing APIs.
|
org.apache.http.conn.scheme |
Deprecated.
|
org.apache.http.conn.socket |
Client connection socket APIs.
|
org.apache.http.conn.ssl |
Client TLS/SSL support.
|
org.apache.http.conn.util |
Connection utility classes.
|
org.apache.http.cookie |
Client HTTP state management APIs.
|
org.apache.http.entity |
Core HTTP entity implementations.
|
org.apache.http.impl |
Default implementations of HTTP connections for synchronous,
blocking communication.
|
org.apache.http.impl.auth |
Default implementations of standard and common HTTP authentication
schemes.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
org.apache.http.impl.conn |
Default implementations of client connection management
functions.
|
org.apache.http.impl.cookie |
Default implementations of standard and common HTTP state
management policies.
|
org.apache.http.impl.entity |
Default implementations of entity content strategies.
|
org.apache.http.impl.execchain |
HTTP request execution chain APIs.
|
org.apache.http.impl.io |
Default implementations of message parses and writers
for synchronous, blocking communication.
|
org.apache.http.impl.pool |
Default implementations of client side connection pools
for synchronous, blocking communication.
|
org.apache.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
org.apache.http.pool |
Client side connection pools APIs for synchronous, blocking
communication.
|
org.apache.http.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
|
org.apache.http.ssl |
Utility classes for trust and key material management
and TLS/SSL context initialization.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpHost
Holds all of the variables needed to describe an HTTP connection to a host.
|
class |
HttpVersion
Represents an HTTP version.
|
class |
ProtocolVersion
Represents a protocol version.
|
Modifier and Type | Class and Description |
---|---|
class |
AUTH
Constants and static helpers related to the HTTP authentication.
|
class |
AuthenticationException
Signals a failure in authentication process
|
class |
AuthOption |
class |
AuthScope
AuthScope represents an authentication scope consisting of a host name,
a port number, a realm name and an authentication scheme name. |
class |
BasicUserPrincipal
Basic user principal used for HTTP authentication
|
class |
InvalidCredentialsException
Authentication credentials required to respond to a authentication
challenge are invalid
|
class |
KerberosCredentials
Credentials implementation based on GSSCredential for Kerberos Authentication. |
class |
MalformedChallengeException
Signals that authentication challenge is in some way invalid or
illegal in the given context
|
class |
NTCredentials
Credentials implementation for Microsoft Windows platforms that includes
Windows specific attributes such as name of the domain the user belongs to. |
class |
NTUserPrincipal
Microsoft Windows specific user principal implementation.
|
class |
UsernamePasswordCredentials
Simple
Credentials implementation based on a user name / password
pair. |
Modifier and Type | Class and Description |
---|---|
class |
AuthParams
Deprecated.
(4.3) use
RequestConfig
and constructor parameters of
AuthSchemeProvider s. |
Modifier and Type | Class and Description |
---|---|
class |
CircularRedirectException
Signals a circular redirect
|
class |
ClientProtocolException
Signals an error in the HTTP protocol.
|
class |
HttpResponseException
Signals a non 2xx HTTP response.
|
class |
NonRepeatableRequestException
Signals failure to retry the request due to non-repeatable request
entity.
|
class |
RedirectException
Signals violation of HTTP specification caused by an invalid redirect
|
Modifier and Type | Class and Description |
---|---|
class |
AuthSchemes
Standard authentication schemes supported by HttpClient.
|
class |
CookieSpecs
Standard cookie specifications supported by HttpClient.
|
class |
RequestConfig
Immutable class encapsulating request configuration items.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthPolicy
Deprecated.
(4.3) use
AuthSchemes . |
class |
CookiePolicy
Deprecated.
(4.3) use
CookieSpecs . |
class |
HttpClientParams
Deprecated.
(4.3) use
RequestConfig |
Modifier and Type | Class and Description |
---|---|
class |
RequestAcceptEncoding
Class responsible for handling Content Encoding requests in HTTP.
|
class |
RequestAddCookies
Request interceptor that matches cookies available in the current
CookieStore to the request being executed and generates
corresponding Cookie request headers. |
class |
RequestAuthCache
Request interceptor that can preemptively authenticate against known hosts,
if there is a cached
AuthScheme instance in the local
AuthCache associated with the given target or proxy host. |
class |
RequestClientConnControl
This protocol interceptor is responsible for adding
Connection
or Proxy-Connection headers to the outgoing requests, which
is essential for managing persistence of HTTP/1.0 connections. |
class |
RequestDefaultHeaders
Request interceptor that adds default request headers.
|
class |
RequestExpectContinue
RequestExpectContinue is responsible for enabling the 'expect-continue'
handshake by adding
Expect header. |
class |
RequestProxyAuthentication
Deprecated.
(4.3) use
HttpAuthenticator . |
class |
RequestTargetAuthentication
Deprecated.
(4.3) use
HttpAuthenticator . |
class |
ResponseAuthCache
Deprecated.
(4.2) use
AuthenticationStrategy |
class |
ResponseContentEncoding
HttpResponseInterceptor responsible for processing Content-Encoding
responses. |
class |
ResponseProcessCookies
Response interceptor that populates the current
CookieStore with data
contained in response cookies received in the given the HTTP response. |
Modifier and Type | Class and Description |
---|---|
class |
CloneUtils
A collection of utilities to workaround limitations of Java clone framework.
|
class |
DateUtils
A utility class for parsing and formatting HTTP dates as used in cookies and
other headers.
|
class |
JdkIdn
Deprecated.
(4.4) use standard
IDN . |
class |
Punycode
Deprecated.
(4.4) use standard
IDN . |
class |
Rfc3492Idn
Deprecated.
(4.4) use standard
IDN . |
class |
URIUtils
A collection of utilities for
URIs , to workaround
bugs within the class or for ease-of-use features. |
class |
URLEncodedUtils
A collection of utilities for encoding URLs.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionConfig
HTTP connection configuration.
|
class |
SocketConfig
Socket configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionPoolTimeoutException
A timeout while waiting for an available connection
from a connection manager.
|
class |
ConnectTimeoutException
A timeout while connecting to an HTTP server or waiting for an
available connection from an HttpConnectionManager.
|
class |
HttpHostConnectException
A
ConnectException that specifies the HttpHost that was
being connected to. |
class |
MultihomePlainSocketFactory
Deprecated.
(4.1) Do not use. For multihome support socket factories must implement
SchemeSocketFactory interface. |
class |
UnsupportedSchemeException
Signals failure to establish connection using an unknown protocol scheme.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnManagerParams
Deprecated.
(4.1) use configuration methods of the specific connection manager implementation.
|
class |
ConnRouteParams
Deprecated.
(4.3) use
RequestConfig . |
Modifier and Type | Class and Description |
---|---|
class |
BasicRouteDirector
Basic
HttpRouteDirector implementation. |
class |
HttpRoute
The route for a request.
|
Modifier and Type | Class and Description |
---|---|
class |
PlainSocketFactory
Deprecated.
(4.3) use
PlainConnectionSocketFactory |
class |
Scheme
Deprecated.
(4.3) use
SchemePortResolver for default port
resolution and Registry for socket factory lookups. |
Modifier and Type | Class and Description |
---|---|
class |
PlainConnectionSocketFactory
The default class for creating plain (unencrypted) sockets.
|
Modifier and Type | Class and Description |
---|---|
class |
AllowAllHostnameVerifier
Deprecated.
(4.4) Use
NoopHostnameVerifier |
class |
BrowserCompatHostnameVerifier
Deprecated.
(4.4) Use
DefaultHostnameVerifier |
class |
DefaultHostnameVerifier
Default
HostnameVerifier implementation. |
class |
NoopHostnameVerifier
The NO_OP HostnameVerifier essentially turns hostname verification
off.
|
class |
SSLContexts
Deprecated.
(4.4) use
SSLContexts . |
class |
StrictHostnameVerifier
Deprecated.
(4.4) Use
DefaultHostnameVerifier |
Modifier and Type | Class and Description |
---|---|
class |
InetAddressUtils
A collection of utilities relating to InetAddresses.
|
class |
PublicSuffixList
Public suffix is a set of DNS names or wildcards concatenated with dots.
|
class |
PublicSuffixListParser
Parses the list from publicsuffix.org
and configures a PublicSuffixFilter.
|
Modifier and Type | Class and Description |
---|---|
class |
CookieIdentityComparator
This cookie comparator can be used to compare identity of cookies.
|
class |
CookieOrigin
CookieOrigin class encapsulates details of an origin server that
are relevant when parsing, validating or matching HTTP cookies.
|
class |
CookiePathComparator
This cookie comparator ensures that multiple cookies satisfying
a common criteria are ordered in the
Cookie header such
that those with more specific Path attributes precede those with
less specific. |
class |
CookiePriorityComparator
This cookie comparator ensures that cookies with longer paths take precedence over
cookies with shorter path.
|
class |
CookieRestrictionViolationException
Signals that a cookie violates a restriction imposed by the cookie
specification.
|
class |
MalformedCookieException
Signals that a cookie is in some way invalid or illegal in a given
context
|
Modifier and Type | Class and Description |
---|---|
class |
ContentType
Content type information consisting of a MIME type and an optional charset.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultBHttpClientConnectionFactory
Default factory for
HttpClientConnection s. |
class |
DefaultBHttpServerConnectionFactory
Default factory for
HttpServerConnection s. |
class |
DefaultConnectionReuseStrategy
Default implementation of a strategy deciding about connection re-use.
|
class |
DefaultHttpRequestFactory
Default factory for creating
HttpRequest objects. |
class |
DefaultHttpResponseFactory
Default factory for creating
HttpResponse objects. |
class |
EnglishReasonPhraseCatalog
English reason phrases for HTTP status codes.
|
class |
NoConnectionReuseStrategy
A strategy that never re-uses a connection.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicSchemeFactory
AuthSchemeProvider implementation that creates and initializes
BasicScheme instances. |
class |
DigestSchemeFactory
AuthSchemeProvider implementation that creates and initializes
DigestScheme instances. |
class |
KerberosSchemeFactory
AuthSchemeProvider implementation that creates and initializes
KerberosScheme instances. |
class |
NTLMEngineException
Signals NTLM protocol failure.
|
class |
NTLMSchemeFactory
AuthSchemeProvider implementation that creates and initializes
NTLMScheme instances configured to use the default NTLMEngine
implementation. |
class |
SPNegoSchemeFactory
AuthSchemeProvider implementation that creates and initializes
SPNegoScheme instances. |
class |
UnsupportedDigestAlgorithmException
Authentication credentials required to respond to a authentication
challenge are invalid
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAuthenticationHandler
Deprecated.
(4.2) use
AuthenticationStrategy |
class |
AbstractResponseHandler<T>
A generic
ResponseHandler that works with the response entity
for successful (2xx) responses. |
(package private) class |
AuthenticationStrategyAdaptor
Deprecated.
(4.2) do not use
|
(package private) class |
AuthenticationStrategyImpl |
class |
BasicResponseHandler
A
ResponseHandler that returns the response body as a String
for successful (2xx) responses. |
class |
DefaultConnectionKeepAliveStrategy
Default implementation of a strategy deciding duration
that a connection can remain idle.
|
class |
DefaultHttpRequestRetryHandler
The default
HttpRequestRetryHandler used by request executors. |
class |
DefaultProxyAuthenticationHandler
Deprecated.
(4.2) use
ProxyAuthenticationStrategy |
class |
DefaultRedirectHandler
Deprecated.
(4.1) use
DefaultRedirectStrategy . |
class |
DefaultRedirectStrategy
Default implementation of
RedirectStrategy . |
(package private) class |
DefaultRedirectStrategyAdaptor
Deprecated.
(4.1) do not use
|
class |
DefaultServiceUnavailableRetryStrategy
Default implementation of the
ServiceUnavailableRetryStrategy interface. |
class |
DefaultTargetAuthenticationHandler
Deprecated.
(4.2) use
TargetAuthenticationStrategy |
class |
DefaultUserTokenHandler
Default implementation of
UserTokenHandler . |
class |
HttpClients
Factory methods for
CloseableHttpClient instances. |
class |
LaxRedirectStrategy
Lax
RedirectStrategy implementation
that automatically redirects all HEAD, GET and POST requests. |
class |
NoopUserTokenHandler
Noop implementation of
UserTokenHandler that always returns null . |
class |
ProxyAuthenticationStrategy
Default
AuthenticationStrategy implementation
for proxy host authentication. |
class |
StandardHttpRequestRetryHandler
HttpRequestRetryHandler which assumes
that all requested HTTP methods which should be idempotent according
to RFC-2616 are in fact idempotent and can be retried. |
class |
TargetAuthenticationStrategy
Default
AuthenticationStrategy implementation
for proxy host authentication. |
class |
TunnelRefusedException
Deprecated.
(4.3) reserved for internal use.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionShutdownException
Signals that the connection has been shut down or released back to the
the connection pool
|
class |
DefaultHttpClientConnectionOperator
Default implementation of
HttpClientConnectionOperator used as default in Http client,
when no instance provided by user to BasicHttpClientConnectionManager or PoolingHttpClientConnectionManager constructor. |
class |
DefaultHttpResponseParserFactory
Default factory for response message parsers.
|
class |
DefaultProxyRoutePlanner
Implementation of an
HttpRoutePlanner
that routes requests through a default proxy. |
class |
DefaultRoutePlanner
Default implementation of an
HttpRoutePlanner . |
class |
DefaultSchemePortResolver
Default
SchemePortResolver . |
class |
LoggingSessionInputBuffer
Deprecated.
(4.3) no longer used.
|
class |
LoggingSessionOutputBuffer
Deprecated.
(4.3) no longer used.
|
class |
ManagedHttpClientConnectionFactory
Factory for
ManagedHttpClientConnection instances. |
class |
SystemDefaultRoutePlanner
HttpRoutePlanner implementation
based on ProxySelector . |
class |
Wire
Logs data to the wire LOG.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCookieAttributeHandler |
class |
BasicCommentHandler |
class |
BasicDomainHandler |
class |
BasicExpiresHandler |
class |
BasicMaxAgeHandler |
class |
BasicPathHandler |
class |
BasicSecureHandler |
class |
BestMatchSpecFactory
Deprecated.
(4.4) use
DefaultCookieSpecProvider . |
class |
BrowserCompatSpecFactory
Deprecated.
(4.4) use
DefaultCookieSpecProvider . |
class |
BrowserCompatVersionAttributeHandler
Deprecated.
(4.4) no longer used.
|
class |
DateParseException
Deprecated.
(4.3) no longer used.
|
class |
DateUtils
Deprecated.
(4.3) Use
DateUtils . |
class |
DefaultCookieSpecProvider
CookieSpecProvider implementation that provides an instance of
DefaultCookieSpec . |
class |
IgnoreSpecFactory
Deprecated.
(4.4) Use
IgnoreSpecProvider . |
class |
IgnoreSpecProvider
CookieSpecProvider implementation that ignores all cookies. |
class |
LaxExpiresHandler |
class |
LaxMaxAgeHandler |
class |
NetscapeDomainHandler |
class |
NetscapeDraftHeaderParser |
class |
NetscapeDraftSpecFactory
Deprecated.
(4.4) Use
NetscapeDraftSpecProvider . |
class |
NetscapeDraftSpecProvider
CookieSpecProvider implementation that provides an instance of
NetscapeDraftSpec . |
class |
PublicSuffixDomainFilter
Wraps a
CookieAttributeHandler and leverages its match method
to never match a suffix from a black list. |
class |
PublicSuffixListParser
Deprecated.
(4.4) use
PublicSuffixListParser . |
class |
RFC2109DomainHandler |
class |
RFC2109SpecFactory
Deprecated.
(4.4) Use
RFC2109SpecProvider . |
class |
RFC2109SpecProvider
CookieSpecProvider implementation that provides an instance of
RFC2109Spec . |
class |
RFC2109VersionHandler |
class |
RFC2965CommentUrlAttributeHandler
"CommentURL" cookie attribute handler for RFC 2965 cookie spec. |
class |
RFC2965DiscardAttributeHandler
"Discard" cookie attribute handler for RFC 2965 cookie spec. |
class |
RFC2965DomainAttributeHandler
"Domain" cookie attribute handler for RFC 2965 cookie spec. |
class |
RFC2965PortAttributeHandler
"Port" cookie attribute handler for RFC 2965 cookie spec. |
class |
RFC2965SpecFactory
Deprecated.
(4.4) Use
RFC2965SpecProvider . |
class |
RFC2965SpecProvider
CookieSpecProvider implementation that provides an instance of
RFC2965Spec . |
class |
RFC2965VersionAttributeHandler
"Version" cookie attribute handler for RFC 2965 cookie spec. |
class |
RFC6265CookieSpecProvider
CookieSpecProvider implementation that provides an instance of
RFC 6265 conformant cookie policy. |
Modifier and Type | Class and Description |
---|---|
class |
DisallowIdentityContentLengthStrategy
Decorator for
ContentLengthStrategy implementations that disallows the use of
identity transfer encoding. |
class |
EntityDeserializer
Deprecated.
(4.3) use
BHttpConnectionBase |
class |
EntitySerializer
Deprecated.
(4.3) use
BHttpConnectionBase |
class |
LaxContentLengthStrategy
The lax implementation of the content length strategy.
|
class |
StrictContentLengthStrategy
The strict implementation of the content length strategy.
|
Modifier and Type | Class and Description |
---|---|
class |
BackoffStrategyExec |
class |
MainClientExec
The last request executor in the HTTP request execution chain
that is responsible for execution of request / response
exchanges with the opposite endpoint.
|
class |
MinimalClientExec
Request executor that implements the most fundamental aspects of
the HTTP specification and the most straight-forward request / response
exchange with the target server.
|
class |
ProtocolExec
Request executor in the request execution chain that is responsible
for implementation of HTTP specification requirements.
|
class |
RequestAbortedException
Signals that the request has been aborted.
|
class |
RetryExec
Request executor in the request execution chain that is responsible
for making a decision whether a request failed due to an I/O error
should be re-executed.
|
class |
ServiceUnavailableRetryExec
Request executor in the request execution chain that is responsible
for making a decision whether a request that received a non-2xx response
from the target server should be re-executed.
|
class |
TunnelRefusedException
Signals that the tunnel request was rejected by the proxy host.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpRequestParserFactory
Default factory for request message parsers.
|
class |
DefaultHttpRequestWriterFactory
Default factory for request message writers.
|
class |
DefaultHttpResponseParserFactory
Default factory for response message parsers.
|
class |
DefaultHttpResponseWriterFactory
Default factory for response message writers.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicConnFactory
A very basic
ConnFactory implementation that creates
HttpClientConnection instances given a HttpHost instance. |
Modifier and Type | Class and Description |
---|---|
class |
BasicHeader
Basic implementation of
Header . |
class |
BasicHeaderValueFormatter
Basic implementation for formatting header value elements.
|
class |
BasicHeaderValueParser
Basic implementation for parsing header values into elements.
|
class |
BasicLineFormatter
Interface for formatting elements of the HEAD section of an HTTP message.
|
class |
BasicLineParser
Basic parser for lines in the head section of an HTTP message.
|
class |
BasicNameValuePair
Basic implementation of
NameValuePair . |
class |
BasicRequestLine
Basic implementation of
RequestLine . |
class |
BasicStatusLine
Basic implementation of
StatusLine |
class |
TokenParser
Low level parser for header field elements.
|
Modifier and Type | Class and Description |
---|---|
class |
PoolStats
Pool statistics.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpRequestExecutor
HttpRequestExecutor is a client side HTTP protocol handler based
on the blocking (classic) I/O model. |
class |
HttpService
HttpService is a server side HTTP protocol handler based on
the classic (blocking) I/O model. |
class |
RequestConnControl
RequestConnControl is responsible for adding
Connection header
to the outgoing requests, which is essential for managing persistence of
HTTP/1.0 connections. |
class |
RequestContent
RequestContent is the most important interceptor for outgoing requests.
|
class |
RequestExpectContinue
RequestExpectContinue is responsible for enabling the 'expect-continue'
handshake by adding
Expect header. |
class |
RequestTargetHost
RequestTargetHost is responsible for adding
Host header. |
class |
RequestUserAgent
RequestUserAgent is responsible for adding
User-Agent header. |
class |
ResponseConnControl
ResponseConnControl is responsible for adding
Connection header
to the outgoing responses, which is essential for managing persistence of
HTTP/1.0 connections. |
class |
ResponseContent
ResponseContent is the most important interceptor for outgoing responses.
|
class |
ResponseServer
ResponseServer is responsible for adding
Server header. |
Modifier and Type | Class and Description |
---|---|
class |
SSLContexts
SSLContext factory methods. |