All Classes and Interfaces
Class
Description
Deprecated.
Abstract cookie specification which can delegate the job of parsing,
validation or matching cookie attributes to a number of arbitrary
CookieAttributeHandlers.Abstract base class for all standard
X509HostnameVerifier
implementations.The
AIMDBackoffManager applies an additive increase,
multiplicative decrease (AIMD) to managing a dynamic limit to
the number of connections allowed to a given host.Deprecated.
The ALLOW_ALL HostnameVerifier essentially turns hostname verification
off.
Constants and static helpers related to the HTTP authentication.
Abstract
AuthScheme cache.Signals a failure in authentication process
/**
A handler for determining if an HTTP response represents an authentication challenge that was
sent back to the client as a result of authentication failure.
Deprecated.
(4.3) use
RequestConfig
and constructor parameters of
AuthSchemeProviders.This interface represents an abstract challenge-response oriented
authentication scheme.
Abstract authentication scheme class that serves as a basis
for all authentication schemes supported by HttpClient.
Deprecated.
(4.3) use
AuthSchemeProviderFactory for
AuthScheme implementations.Deprecated.
(4.3) use
RegistryStandard authentication schemes supported by HttpClient.
The class represents an authentication scope consisting of a host name,
a port number, a realm name and an authentication scheme name which
Credentials apply to.This class provides detailed information about the state of the authentication process.
Represents a controller that dynamically adjusts the size
of an available connection pool based on feedback from
using the connections.
Default implementation of
AuthCache.Default implementation of
SetCookie.Default implementation of
SetCookie2.Default implementation of
CookieStoreDefault implementation of
CredentialsProvider.A connection manager for a single connection.
A
ResponseHandler that returns the response body as a String
for successful (2xx) responses.Basic
HttpRouteDirector implementation.Basic authentication scheme as defined in RFC 2617.
AuthSchemeProvider implementation that creates and initializes
BasicScheme instances.Basic user principal used for HTTP authentication
'Meta' cookie specification that picks up a cookie policy based on
the format of cookies sent with the HTTP response.
CookieSpecProvider implementation that creates and initializes
BestMatchSpec instances.The HostnameVerifier that works the same way as Curl and Firefox.
Cookie specification that strives to closely mimic (mis)behavior of
common web browser applications such as Microsoft Internet Explorer
and Mozilla FireFox.
CookieSpecProvider implementation that creates and initializes
BrowserCompatSpec instances."Version" cookie attribute handler for BrowserCompat cookie spec.
Challenge mode (TARGET or PROXY)
Signals a circular redirect
Deprecated.
(4.3) replaced by
HttpClientConnectionManager.Deprecated.
(4.3) replaced by
ConnectionRequest.ClientCookie extends the standard
Cookie interface with
additional client specific functionality such ability to retrieve
original cookie attributes exactly as they were specified by the
origin server.This interface represents an element in the HTTP request execution chain.
Deprecated.
(4.3) use
RequestConfig.Signals an error in the HTTP protocol.
A collection of utilities to workaround limitations of Java clone framework.
Base implementation of
HttpClient that also implements Closeable.Extended version of the
HttpResponse interface that also extends Closeable.Configuration interface for HTTP requests.
Deprecated.
(4.1) use custom
DefaultHttpResponseParser implementation.When managing a dynamic number of connections for a given route, this
strategy assesses whether a given request execution outcome should
result in a backoff signal or not, based on either examining the
Throwable that resulted or by examining the resulting
response (e.g.Interface for deciding how long a connection can remain
idle before being reused.
A timeout while waiting for an available connection
from a connection manager.
Interface for releasing a connection.
Represents a request for a
HttpClientConnection whose life cycle
is managed by a connection manager.Signals that the connection has been shut down or released back to the
the connection pool
A factory for creating and connecting connection sockets.
A timeout while connecting to an HTTP server or waiting for an
available connection from an HttpConnectionManager.
Deprecated.
(4.1) use configuration methods of the specific connection manager implementation.
Deprecated.
(4.3) use
RequestConfig.This interface represents an extended authentication scheme
that requires access to
HttpContext in order to
generate an authorization string.Cookie interface represents a token or short packet of state information
(also referred to as "magic-cookie") that the HTTP agent and the target
server can exchange to maintain a session.
This interface represents a cookie attribute handler responsible
for parsing, validating, and matching a specific cookie attribute,
such as path, domain, port, etc.
This cookie comparator can be used to compare identity of cookies.
CookieOrigin class encapsulates details of an origin server that
are relevant when parsing, validating or matching HTTP cookies.
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.
Signals that a cookie violates a restriction imposed by the cookie
specification.
Defines the cookie management specification.
Cookie management functions shared by all specification.
Deprecated.
(4.3) use
CookieSpecProviderDeprecated.
(4.3) use constructor parameters of
CookieSpecProviders.Factory for
CookieSpec implementations.Deprecated.
(4.3) use
Registry.Standard cookie specifications supported by HttpClient.
This interface represents an abstract store for
Cookie
objects.This interface represents a set of credentials consisting of a security
principal and a secret (password) that can be used to establish user
identity
Abstract credentials provider that maintains a collection of user
credentials.
An exception to indicate an error parsing a date string.
A utility class for parsing and formatting HTTP dates as used in cookies and
other headers.
This
ConnectionBackoffStrategy backs off either for a raw
network socket or connection timeout or if the server explicitly
sends a 503 (Service Unavailable) response.Default implementation of a strategy deciding duration
that a connection can remain idle.
The default
HttpRequestRetryHandler used by request executors.Lenient HTTP response parser implementation that can skip malformed data until
a valid HTTP response message head is encountered.
Default factory for response message parsers.
Default
ManagedHttpClientConnection implementation.Implementation of an
HttpRoutePlanner
that routes requests through a default proxy.Default implementation of
RedirectStrategy.Default implementation of an
HttpRoutePlanner.Default
SchemePortResolver.Default implementation of the
ServiceUnavailableRetryStrategy interface.Default implementation of
UserTokenHandler.HttpEntityWrapper responsible for handling
deflate Content Coded responses.Deflate input stream.
Digest authentication scheme as defined in RFC 2617.
AuthSchemeProvider implementation that creates and initializes
DigestScheme instances.Users may implement this interface to override the normal DNS lookup offered
by the OS.
Builder for
HttpEntity instances.Deprecated.
(4.3) do not use.
A stream wrapper that triggers actions on
close() and EOF.A watcher for
EofSensorInputStream.Collection of different counters used to gather metrics for
FutureRequestExecutionService.HttpAsyncClientWithFuture wraps calls to execute with a
HttpRequestFutureTask
and schedules them using the provided executor service.Wrapping entity that compresses content when
writing.HttpEntityWrapper for handling gzip
Content Coded responses.This interface represents only the most basic contract for HTTP request
execution.
Builder for
CloseableHttpClient instances.Represents a manager of persistent client connections.
Adaptor class that provides convenience type safe setters and getters
for common
HttpContext attributes used in the course
of HTTP request execution.Deprecated.
(4.3) provided for compatibility with
HttpParams.Factory methods for
CloseableHttpClient instances.Convenience methods for closing response and client objects.
Generic
HttpConnection factory.HTTP DELETE method
Basic implementation of an entity enclosing HTTP request
that can be modified
Interface to be implemented by any object that wishes to be notified of
blocking I/O operations that could be cancelled.
HTTP GET method.
HTTP HEAD method.
A
ConnectException that specifies the HttpHost that was
being connected to.Deprecated.
(4.3)
HTTP OPTIONS method.
HTTP PATCH method.
HTTP POST method.
HTTP PUT method.
Base implementation of
HttpUriRequest.FutureTask implementation that wraps a HttpAsyncClientCallable and exposes various task
specific metrics.
A handler for determining if an HttpRequest should be retried after a
recoverable exception during execution.
A wrapper class for
HttpRequest that can be used to change properties of the current
request without modifying the original object.Signals a non 2xx HTTP response.
The route for a request.
Deprecated.
(4.3) replaced by
HttpClientConnectionManager.Provides directions on establishing a route.
Encapsulates logic to compute a
HttpRoute to a target host.HTTP TRACE method.
Extended version of the
HttpRequest interface that provides
convenience methods to access request properties such as request URI
and method type.Abstraction of international domain name (IDN) conversion.
CookieSpec that ignores all cookies
CookieSpecProvider implementation that ignores all cookies.A collection of utilities relating to InetAddresses.
In-memory
DnsResolver implementation.Authentication credentials required to respond to a authentication
challenge are invalid
Uses the java.net.IDN class through reflection.
KERBEROS authentication scheme.
AuthSchemeProvider implementation that creates and initializes
KerberosScheme instances.Lax
RedirectStrategy implementation
that automatically redirects all HEAD, GET and POST requests.Extended
ConnectionSocketFactory interface for layered sockets such as SSL/TLS.Deprecated.
(4.2) use
SchemeLayeredSocketFactoryDeprecated.
(4.1) use
SchemeSocketFactoryThe last request executor in the HTTP request execution chain
that is responsible for execution of request / response
exchanges with the opposite endpoint.
Signals that authentication challenge is in some way invalid or
illegal in the given context
Signals that a cookie is in some way invalid or illegal in a given
context
Deprecated.
(4.3) replaced by
HttpClientConnectionManager.Represents a managed connection whose state and life cycle is managed by
a connection manager.
Factory for
ManagedHttpClientConnection instances.Request executor that implements the most fundamental aspects of
the HTTP specification and the most straight-forward request / response
exchange with the target server.
This
CookieSpec implementation conforms to
the original draft specification published by Netscape Communications.CookieSpecProvider implementation that creates and initializes
NetscapeDraftSpec instances.Signals failure to retry the request due to non-repeatable request
entity.
Noop implementation of
UserTokenHandler that always returns null.Credentials implementation for Microsoft Windows platforms that includes
Windows specific attributes such as name of the domain the user belongs to.Abstract NTLM authentication engine.
Signals NTLM protocol failure.
NTLM is a proprietary authentication scheme developed by Microsoft
and optimized for Windows platforms.
AuthSchemeProvider implementation that creates and initializes
NTLMScheme instances configured to use the default NTLMEngine
implementation.Microsoft Windows specific user principal implementation.
This is a
ConnectionBackoffStrategy that never backs off,
for compatibility with existing behavior.The default class for creating plain (unencrypted) sockets.
ClientConnectionPoolManager maintains a pool of
HttpClientConnections and is able to service connection requests
from multiple execution threads.Private key details.
A strategy allowing for a choice of an alias during SSL authentication.
Request executor in the request execution chain that is responsible
for implementation of HTTP specification requirements.
Default
AuthenticationStrategy implementation
for proxy host authentication.ProxyClient can be used to establish a tunnel via an HTTP proxy.
Wraps a CookieAttributeHandler and leverages its match method
to never match a suffix from a black list.
Parses the list from publicsuffix.org
and configures a PublicSuffixFilter.
Facade that provides conversion between Unicode and Punycode domain names.
Signals violation of HTTP specification caused by an invalid redirect
Request executor in the request execution chain that is responsible
for handling of request redirects.
This class represents a collection of
URIs used
as redirect locations.A strategy for determining if an HTTP request should be redirected to
a new location in response to an HTTP response received from the target
server.
Signals that the request has been aborted.
Class responsible for handling Content Encoding requests in HTTP.
Request interceptor that matches cookies available in the current
CookieStore to the request being executed and generates
corresponding Cookie request headers.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.Builder for
HttpUriRequest instances.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.Request interceptor that adds default request headers.
RequestExpectContinue is responsible for enabling the 'expect-continue'
handshake by adding
Expect header.Deprecated.
(4.3) do not use.
HttpResponseInterceptor responsible for processing Content-Encoding
responses.Handler that encapsulates the process of generating a response object
from a
HttpResponse.Response interceptor that populates the current
CookieStore with data
contained in response cookies received in the given the HTTP response.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.
RFC 2109 compliant
CookieSpec implementation.CookieSpecProvider implementation that creates and initializes
RFC2109Spec instances.Abstract authentication scheme class that lays foundation for all
RFC 2617 compliant authentication schemes and provides capabilities common
to all authentication schemes defined in RFC 2617.
"CommentURL" cookie attribute handler for RFC 2965 cookie spec.
"Discard" cookie attribute handler for RFC 2965 cookie spec.
"Domain" cookie attribute handler for RFC 2965 cookie spec.
"Port" cookie attribute handler for RFC 2965 cookie spec.
RFC 2965 compliant
CookieSpec implementation.CookieSpecProvider implementation that creates and initializes
RFC2965Spec instances."Version" cookie attribute handler for RFC 2965 cookie spec.
Implementation from pseudo code in RFC 3492.
Read-only interface for route information.
The layering type of a route.
The tunnelling type of a route.
Helps tracking the steps in establishing a route.
Deprecated.
(4.3) use
SchemePortResolver for default port
resolution and Registry for socket factory lookups.Deprecated.
(4.3) use
LayeredConnectionSocketFactoryStrategy for default port resolution for protocol schemes.
Deprecated.
(4.3) use
RegistryDeprecated.
(4.3) use
ConnectionSocketFactoryRequest 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.
Strategy interface that allows API users to plug in their own logic to
control whether or not a retry should automatically be done, how many times
it should be retried and so on.
This interface represents a
Set-Cookie response header sent by the
origin server to the HTTP agent in order to maintain a conversational state.This interface represents a
Set-Cookie2 response header sent by the
origin server to the HTTP agent in order to maintain a conversational state.Constants and static helpers related to the HTTP state management.
Deprecated.
(4.1) use
SchemeSocketFactorySPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication
scheme.
AuthSchemeProvider implementation that creates and initializes
SPNegoScheme instances.Layered socket factory for TLS/SSL connections.
Builder for
SSLContext instances.SSLContext factory methods.HttpRequestRetryHandler which assumes
that all requested HTTP methods which should be idempotent according
to RFC-2616 are in fact idempotent and can be retried.The Strict HostnameVerifier works the same way as Sun Java 1.4, Sun
Java 5, Sun Java 6-rc.
Implementation of
CredentialsProvider backed by standard
JRE Authenticator.DNS resolver that uses the default OS implementation for resolving host names.
HttpRoutePlanner implementation
based on ProxySelector.Default
AuthenticationStrategy implementation
for proxy host authentication.A trust strategy that accepts self-signed certificates as trusted.
A strategy to establish trustworthiness of certificates without consulting the trust manager
configured in the actual SSL context.
Signals that the tunnel request was rejected by the proxy host.
Authentication credentials required to respond to a authentication
challenge are invalid
Signals failure to establish connection using an unknown protocol scheme.
Builder for
URI instances.A collection of utilities for
URIs, to workaround
bugs within the class or for ease-of-use features.An entity composed of a list of url-encoded pairs.
A collection of utilities for encoding URLs.
Simple
Credentials implementation based on a user name / password
pair.A handler for determining if the given execution context is user specific
or not.
Logs data to the wire LOG.
Interface for checking if a hostname matches the names stored inside the
server's X.509 certificate.
HttpExecutionAware