A B C D E F G H I J K L M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abort() - Method in interface org.apache.http.client.methods.AbortableHttpRequest
-
Deprecated.Aborts this http request.
- abort() - Method in class org.apache.http.client.methods.AbstractExecutionAwareRequest
- abort() - Method in class org.apache.http.client.methods.HttpRequestWrapper
- abort() - Method in interface org.apache.http.client.methods.HttpUriRequest
-
Aborts execution of the request.
- abort() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- AbortableHttpRequest - Interface in org.apache.http.client.methods
-
Deprecated.(4.3) use
HttpExecutionAware - abortConnection() - Method in interface org.apache.http.conn.ConnectionReleaseTrigger
-
Releases the connection without the option of keep-alive.
- abortConnection() - Method in class org.apache.http.conn.EofSensorInputStream
-
Aborts this stream.
- abortRequest() - Method in interface org.apache.http.conn.ClientConnectionRequest
-
Deprecated.Aborts the call to
ClientConnectionRequest.getConnection(long, TimeUnit), causing it to throw anInterruptedException. - AbstractCookieAttributeHandler - Class in org.apache.http.impl.cookie
- AbstractCookieAttributeHandler() - Constructor for class org.apache.http.impl.cookie.AbstractCookieAttributeHandler
- AbstractCookieSpec - Class in org.apache.http.impl.cookie
-
Abstract cookie specification which can delegate the job of parsing, validation or matching cookie attributes to a number of arbitrary
CookieAttributeHandlers. - AbstractCookieSpec() - Constructor for class org.apache.http.impl.cookie.AbstractCookieSpec
-
Default constructor
- AbstractExecutionAwareRequest - Class in org.apache.http.client.methods
- AbstractExecutionAwareRequest() - Constructor for class org.apache.http.client.methods.AbstractExecutionAwareRequest
- AbstractVerifier - Class in org.apache.http.conn.ssl
-
Abstract base class for all standard
X509HostnameVerifierimplementations. - AbstractVerifier() - Constructor for class org.apache.http.conn.ssl.AbstractVerifier
- acceptableCountryWildcard(String) - Static method in class org.apache.http.conn.ssl.AbstractVerifier
-
Deprecated.(4.3.1) should not be a part of public APIs.
- adapt(HttpContext) - Static method in class org.apache.http.client.protocol.HttpClientContext
- add(int, Object) - Method in class org.apache.http.impl.client.RedirectLocations
-
Inserts the specified element at the specified position in this list (must be a URI).
- add(String, InetAddress...) - Method in class org.apache.http.impl.conn.InMemoryDnsResolver
-
Associates the given array of IP addresses to the given host in this DNS overrider.
- add(URI) - Method in class org.apache.http.impl.client.RedirectLocations
-
Adds a new URI to the collection.
- addCloseable(Closeable) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
For internal use.
- addCookie(Cookie) - Method in interface org.apache.http.client.CookieStore
-
Adds an
Cookie, replacing any existing equivalent cookies. - addCookie(Cookie) - Method in class org.apache.http.impl.client.BasicCookieStore
-
Adds an
HTTP cookie, replacing any existing equivalent cookies. - addCookies(Cookie[]) - Method in class org.apache.http.impl.client.BasicCookieStore
-
Adds an array of
HTTP cookies. - addHeader(String, String) - Method in class org.apache.http.client.methods.RequestBuilder
- addHeader(Header) - Method in class org.apache.http.client.methods.RequestBuilder
- addInterceptorFirst(HttpRequestInterceptor) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Adds this protocol interceptor to the head of the protocol processing list.
- addInterceptorFirst(HttpResponseInterceptor) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Adds this protocol interceptor to the head of the protocol processing list.
- addInterceptorLast(HttpRequestInterceptor) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Adds this protocol interceptor to the tail of the protocol processing list.
- addInterceptorLast(HttpResponseInterceptor) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Adds this protocol interceptor to the tail of the protocol processing list.
- addParameter(String, String) - Method in class org.apache.http.client.methods.RequestBuilder
- addParameter(String, String) - Method in class org.apache.http.client.utils.URIBuilder
-
Adds parameter to URI query.
- addParameter(NameValuePair) - Method in class org.apache.http.client.methods.RequestBuilder
- addParameters(List<NameValuePair>) - Method in class org.apache.http.client.utils.URIBuilder
-
Adds URI query parameters.
- addParameters(NameValuePair...) - Method in class org.apache.http.client.methods.RequestBuilder
- AIMDBackoffManager - Class in org.apache.http.impl.client
-
The
AIMDBackoffManagerapplies an additive increase, multiplicative decrease (AIMD) to managing a dynamic limit to the number of connections allowed to a given host. - AIMDBackoffManager(ConnPoolControl<HttpRoute>) - Constructor for class org.apache.http.impl.client.AIMDBackoffManager
-
Creates an
AIMDBackoffManagerto manage per-host connection pool sizes represented by the givenConnPoolControl. - AllClientPNames - Interface in org.apache.http.client.params
-
Deprecated.
- ALLOW_ALL_HOSTNAME_VERIFIER - Static variable in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- ALLOW_CIRCULAR_REDIRECTS - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.Defines whether circular redirects (redirects to the same location) should be allowed.
- AllowAllHostnameVerifier - Class in org.apache.http.conn.ssl
-
The ALLOW_ALL HostnameVerifier essentially turns hostname verification off.
- AllowAllHostnameVerifier() - Constructor for class org.apache.http.conn.ssl.AllowAllHostnameVerifier
- ANY - Static variable in class org.apache.http.auth.AuthScope
-
Default scope matching any host, port, realm and authentication scheme.
- ANY_HOST - Static variable in class org.apache.http.auth.AuthScope
-
The null value represents any host.
- ANY_PORT - Static variable in class org.apache.http.auth.AuthScope
-
The -1 value represents any port.
- ANY_REALM - Static variable in class org.apache.http.auth.AuthScope
-
The null value represents any realm.
- ANY_SCHEME - Static variable in class org.apache.http.auth.AuthScope
-
The null value represents any authentication scheme.
- AUTH - Class in org.apache.http.auth
-
Constants and static helpers related to the HTTP authentication.
- AUTH_CACHE - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
AuthCacheobject that represents the auth scheme cache. - AuthCache - Interface in org.apache.http.client
-
Abstract
AuthSchemecache. - authenticate(Credentials, String, boolean) - Static method in class org.apache.http.impl.auth.BasicScheme
-
Deprecated.
- authenticate(Credentials, HttpRequest) - Method in interface org.apache.http.auth.AuthScheme
- authenticate(Credentials, HttpRequest) - Method in class org.apache.http.impl.auth.BasicScheme
- authenticate(Credentials, HttpRequest) - Method in class org.apache.http.impl.auth.DigestScheme
- authenticate(Credentials, HttpRequest) - Method in class org.apache.http.impl.auth.GGSSchemeBase
- authenticate(Credentials, HttpRequest) - Method in class org.apache.http.impl.auth.NTLMScheme
- authenticate(Credentials, HttpRequest, HttpContext) - Method in interface org.apache.http.auth.ContextAwareAuthScheme
-
Produces an authorization string for the given set of
Credentials. - authenticate(Credentials, HttpRequest, HttpContext) - Method in class org.apache.http.impl.auth.AuthSchemeBase
- authenticate(Credentials, HttpRequest, HttpContext) - Method in class org.apache.http.impl.auth.BasicScheme
-
Produces basic authorization header for the given set of
Credentials. - authenticate(Credentials, HttpRequest, HttpContext) - Method in class org.apache.http.impl.auth.DigestScheme
-
Produces a digest authorization string for the given set of
Credentials, method name and URI. - authenticate(Credentials, HttpRequest, HttpContext) - Method in class org.apache.http.impl.auth.GGSSchemeBase
- authenticate(Credentials, HttpRequest, HttpContext) - Method in class org.apache.http.impl.auth.KerberosScheme
-
Produces KERBEROS authorization Header based on token created by processChallenge.
- authenticate(Credentials, HttpRequest, HttpContext) - Method in class org.apache.http.impl.auth.SPNegoScheme
-
Produces SPNEGO authorization Header based on token created by processChallenge.
- AuthenticationException - Exception in org.apache.http.auth
-
Signals a failure in authentication process
- AuthenticationException() - Constructor for exception org.apache.http.auth.AuthenticationException
-
Creates a new AuthenticationException with a null detail message.
- AuthenticationException(String) - Constructor for exception org.apache.http.auth.AuthenticationException
-
Creates a new AuthenticationException with the specified message.
- AuthenticationException(String, Throwable) - Constructor for exception org.apache.http.auth.AuthenticationException
-
Creates a new AuthenticationException with the specified detail message and cause.
- AuthenticationStrategy - Interface in org.apache.http.client
-
/** 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.
- authFailed(HttpHost, AuthScheme, HttpContext) - Method in interface org.apache.http.client.AuthenticationStrategy
-
Callback invoked in case of unsuccessful authentication.
- AuthOption - Class in org.apache.http.auth
- AuthOption(AuthScheme, Credentials) - Constructor for class org.apache.http.auth.AuthOption
- AuthPNames - Interface in org.apache.http.auth.params
-
Deprecated.(4.3) use
RequestConfigand constructor parameters ofAuthSchemeProviders. - AuthProtocolState - Enum in org.apache.http.auth
- AuthScheme - Interface in org.apache.http.auth
-
This interface represents an abstract challenge-response oriented authentication scheme.
- AUTHSCHEME_REGISTRY - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
Lookupobject that represents the actualAuthSchemeProviderregistry. - AuthSchemeBase - Class in org.apache.http.impl.auth
-
Abstract authentication scheme class that serves as a basis for all authentication schemes supported by HttpClient.
- AuthSchemeBase() - Constructor for class org.apache.http.impl.auth.AuthSchemeBase
- AuthSchemeBase(ChallengeState) - Constructor for class org.apache.http.impl.auth.AuthSchemeBase
-
Deprecated.(4.3) do not use.
- AuthSchemeFactory - Interface in org.apache.http.auth
-
Deprecated.(4.3) use
AuthSchemeProvider - AuthSchemeProvider - Interface in org.apache.http.auth
-
Factory for
AuthSchemeimplementations. - AuthSchemeRegistry - Class in org.apache.http.auth
-
Deprecated.(4.3) use
Registry - AuthSchemeRegistry() - Constructor for class org.apache.http.auth.AuthSchemeRegistry
-
Deprecated.
- AuthSchemes - Class in org.apache.http.client.config
-
Standard authentication schemes supported by HttpClient.
- AuthScope - Class in org.apache.http.auth
-
The class represents an authentication scope consisting of a host name, a port number, a realm name and an authentication scheme name which
Credentialsapply to. - AuthScope(String, int) - Constructor for class org.apache.http.auth.AuthScope
-
Creates a new credentials scope for the given host, port, any realm name, and any authentication scheme.
- AuthScope(String, int, String) - Constructor for class org.apache.http.auth.AuthScope
-
Creates a new credentials scope for the given host, port, realm, and any authentication scheme.
- AuthScope(String, int, String, String) - Constructor for class org.apache.http.auth.AuthScope
-
Creates a new credentials scope for the given host, port, realm, and authentication scheme.
- AuthScope(AuthScope) - Constructor for class org.apache.http.auth.AuthScope
-
Creates a copy of the given credentials scope.
- AuthScope(HttpHost) - Constructor for class org.apache.http.auth.AuthScope
- AuthScope(HttpHost, String, String) - Constructor for class org.apache.http.auth.AuthScope
- AuthState - Class in org.apache.http.auth
-
This class provides detailed information about the state of the authentication process.
- AuthState() - Constructor for class org.apache.http.auth.AuthState
- authSucceeded(HttpHost, AuthScheme, HttpContext) - Method in interface org.apache.http.client.AuthenticationStrategy
-
Callback invoked in case of successful authentication.
- available() - Method in class org.apache.http.client.entity.DeflateInputStream
-
Get available.
- available() - Method in class org.apache.http.conn.EofSensorInputStream
B
- backOff(HttpRoute) - Method in interface org.apache.http.client.BackoffManager
-
Called when we have decided that the result of using a connection should be interpreted as a backoff signal.
- backOff(HttpRoute) - Method in class org.apache.http.impl.client.AIMDBackoffManager
- BackoffManager - Interface in org.apache.http.client
-
Represents a controller that dynamically adjusts the size of an available connection pool based on feedback from using the connections.
- BackoffStrategyExec - Class in org.apache.http.impl.execchain
- BackoffStrategyExec(ClientExecChain, ConnectionBackoffStrategy, BackoffManager) - Constructor for class org.apache.http.impl.execchain.BackoffStrategyExec
- BASIC - Static variable in class org.apache.http.client.config.AuthSchemes
-
Basic authentication scheme as defined in RFC2617 (considered inherently insecure, but most widely supported)
- BasicAuthCache - Class in org.apache.http.impl.client
-
Default implementation of
AuthCache. - BasicAuthCache() - Constructor for class org.apache.http.impl.client.BasicAuthCache
- BasicAuthCache(SchemePortResolver) - Constructor for class org.apache.http.impl.client.BasicAuthCache
-
Default constructor.
- BasicClientCookie - Class in org.apache.http.impl.cookie
-
Default implementation of
SetCookie. - BasicClientCookie(String, String) - Constructor for class org.apache.http.impl.cookie.BasicClientCookie
-
Default Constructor taking a name and a value.
- BasicClientCookie2 - Class in org.apache.http.impl.cookie
-
Default implementation of
SetCookie2. - BasicClientCookie2(String, String) - Constructor for class org.apache.http.impl.cookie.BasicClientCookie2
-
Default Constructor taking a name and a value.
- BasicCommentHandler - Class in org.apache.http.impl.cookie
- BasicCommentHandler() - Constructor for class org.apache.http.impl.cookie.BasicCommentHandler
- BasicCookieStore - Class in org.apache.http.impl.client
-
Default implementation of
CookieStore - BasicCookieStore() - Constructor for class org.apache.http.impl.client.BasicCookieStore
- BasicCredentialsProvider - Class in org.apache.http.impl.client
-
Default implementation of
CredentialsProvider. - BasicCredentialsProvider() - Constructor for class org.apache.http.impl.client.BasicCredentialsProvider
-
Default constructor.
- BasicDomainHandler - Class in org.apache.http.impl.cookie
- BasicDomainHandler() - Constructor for class org.apache.http.impl.cookie.BasicDomainHandler
- BasicExpiresHandler - Class in org.apache.http.impl.cookie
- BasicExpiresHandler(String[]) - Constructor for class org.apache.http.impl.cookie.BasicExpiresHandler
- BasicHttpClientConnectionManager - Class in org.apache.http.impl.conn
-
A connection manager for a single connection.
- BasicHttpClientConnectionManager() - Constructor for class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- BasicHttpClientConnectionManager(Lookup<ConnectionSocketFactory>) - Constructor for class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- BasicHttpClientConnectionManager(Lookup<ConnectionSocketFactory>, HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection>) - Constructor for class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- BasicHttpClientConnectionManager(Lookup<ConnectionSocketFactory>, HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection>, SchemePortResolver, DnsResolver) - Constructor for class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- BasicMaxAgeHandler - Class in org.apache.http.impl.cookie
- BasicMaxAgeHandler() - Constructor for class org.apache.http.impl.cookie.BasicMaxAgeHandler
- BasicPathHandler - Class in org.apache.http.impl.cookie
- BasicPathHandler() - Constructor for class org.apache.http.impl.cookie.BasicPathHandler
- BasicResponseHandler - Class in org.apache.http.impl.client
-
A
ResponseHandlerthat returns the response body as a String for successful (2xx) responses. - BasicResponseHandler() - Constructor for class org.apache.http.impl.client.BasicResponseHandler
- BasicRouteDirector - Class in org.apache.http.conn.routing
-
Basic
HttpRouteDirectorimplementation. - BasicRouteDirector() - Constructor for class org.apache.http.conn.routing.BasicRouteDirector
- BasicScheme - Class in org.apache.http.impl.auth
-
Basic authentication scheme as defined in RFC 2617.
- BasicScheme() - Constructor for class org.apache.http.impl.auth.BasicScheme
- BasicScheme(Charset) - Constructor for class org.apache.http.impl.auth.BasicScheme
- BasicScheme(ChallengeState) - Constructor for class org.apache.http.impl.auth.BasicScheme
-
Deprecated.(4.3) do not use.
- BasicSchemeFactory - Class in org.apache.http.impl.auth
-
AuthSchemeProviderimplementation that creates and initializesBasicSchemeinstances. - BasicSchemeFactory() - Constructor for class org.apache.http.impl.auth.BasicSchemeFactory
- BasicSchemeFactory(Charset) - Constructor for class org.apache.http.impl.auth.BasicSchemeFactory
- BasicSecureHandler - Class in org.apache.http.impl.cookie
- BasicSecureHandler() - Constructor for class org.apache.http.impl.cookie.BasicSecureHandler
- BasicUserPrincipal - Class in org.apache.http.auth
-
Basic user principal used for HTTP authentication
- BasicUserPrincipal(String) - Constructor for class org.apache.http.auth.BasicUserPrincipal
- BEST_MATCH - Static variable in class org.apache.http.client.config.CookieSpecs
-
The default 'best match' policy.
- BestMatchSpec - Class in org.apache.http.impl.cookie
-
'Meta' cookie specification that picks up a cookie policy based on the format of cookies sent with the HTTP response.
- BestMatchSpec() - Constructor for class org.apache.http.impl.cookie.BestMatchSpec
- BestMatchSpec(String[], boolean) - Constructor for class org.apache.http.impl.cookie.BestMatchSpec
- BestMatchSpecFactory - Class in org.apache.http.impl.cookie
-
CookieSpecProviderimplementation that creates and initializesBestMatchSpecinstances. - BestMatchSpecFactory() - Constructor for class org.apache.http.impl.cookie.BestMatchSpecFactory
- BestMatchSpecFactory(String[], boolean) - Constructor for class org.apache.http.impl.cookie.BestMatchSpecFactory
- bind(Socket) - Method in interface org.apache.http.conn.ManagedHttpClientConnection
-
Binds this connection to the given socket.
- bind(Socket) - Method in class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
- BROWSER_COMPATIBILITY - Static variable in class org.apache.http.client.config.CookieSpecs
-
The policy that provides high degree of compatibility with common cookie management of popular HTTP agents.
- BROWSER_COMPATIBLE_HOSTNAME_VERIFIER - Static variable in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- BrowserCompatHostnameVerifier - Class in org.apache.http.conn.ssl
-
The HostnameVerifier that works the same way as Curl and Firefox.
- BrowserCompatHostnameVerifier() - Constructor for class org.apache.http.conn.ssl.BrowserCompatHostnameVerifier
- BrowserCompatSpec - Class in org.apache.http.impl.cookie
-
Cookie specification that strives to closely mimic (mis)behavior of common web browser applications such as Microsoft Internet Explorer and Mozilla FireFox.
- BrowserCompatSpec() - Constructor for class org.apache.http.impl.cookie.BrowserCompatSpec
-
Default constructor
- BrowserCompatSpec(String[]) - Constructor for class org.apache.http.impl.cookie.BrowserCompatSpec
-
Default constructor
- BrowserCompatSpec(String[], BrowserCompatSpecFactory.SecurityLevel) - Constructor for class org.apache.http.impl.cookie.BrowserCompatSpec
-
Default constructor
- BrowserCompatSpecFactory - Class in org.apache.http.impl.cookie
-
CookieSpecProviderimplementation that creates and initializesBrowserCompatSpecinstances. - BrowserCompatSpecFactory() - Constructor for class org.apache.http.impl.cookie.BrowserCompatSpecFactory
- BrowserCompatSpecFactory(String[]) - Constructor for class org.apache.http.impl.cookie.BrowserCompatSpecFactory
- BrowserCompatSpecFactory(String[], BrowserCompatSpecFactory.SecurityLevel) - Constructor for class org.apache.http.impl.cookie.BrowserCompatSpecFactory
- BrowserCompatSpecFactory.SecurityLevel - Enum in org.apache.http.impl.cookie
- BrowserCompatVersionAttributeHandler - Class in org.apache.http.impl.cookie
-
"Version" cookie attribute handler for BrowserCompat cookie spec.
- BrowserCompatVersionAttributeHandler() - Constructor for class org.apache.http.impl.cookie.BrowserCompatVersionAttributeHandler
- build() - Method in class org.apache.http.client.config.RequestConfig.Builder
- build() - Method in class org.apache.http.client.entity.EntityBuilder
-
Creates new instance of
HttpEntitybased on the current state. - build() - Method in class org.apache.http.client.methods.RequestBuilder
- build() - Method in class org.apache.http.client.utils.URIBuilder
-
Builds a
URIinstance. - build() - Method in class org.apache.http.conn.ssl.SSLContextBuilder
- build() - Method in class org.apache.http.impl.client.HttpClientBuilder
C
- cancel(boolean) - Method in class org.apache.http.impl.client.HttpRequestFutureTask
- CHALLENGED - org.apache.http.auth.AuthProtocolState
- ChallengeState - Enum in org.apache.http.auth
-
Challenge mode (TARGET or PROXY)
- checkAbort() - Method in class org.apache.http.conn.EofSensorInputStream
-
Detects stream abort and notifies the watcher.
- checkClose() - Method in class org.apache.http.conn.EofSensorInputStream
-
Detects stream close and notifies the watcher.
- checkEOF(int) - Method in class org.apache.http.conn.EofSensorInputStream
-
Detects EOF and notifies the watcher.
- chooseAlias(Map<String, PrivateKeyDetails>, Socket) - Method in interface org.apache.http.conn.ssl.PrivateKeyStrategy
-
Determines what key material to use for SSL authentication.
- chunked() - Method in class org.apache.http.client.entity.EntityBuilder
-
Makes entity chunk coded.
- CircularRedirectException - Exception in org.apache.http.client
-
Signals a circular redirect
- CircularRedirectException() - Constructor for exception org.apache.http.client.CircularRedirectException
-
Creates a new CircularRedirectException with a null detail message.
- CircularRedirectException(String) - Constructor for exception org.apache.http.client.CircularRedirectException
-
Creates a new CircularRedirectException with the specified detail message.
- CircularRedirectException(String, Throwable) - Constructor for exception org.apache.http.client.CircularRedirectException
-
Creates a new CircularRedirectException with the specified detail message and cause.
- clear() - Method in interface org.apache.http.client.AuthCache
- clear() - Method in interface org.apache.http.client.CookieStore
-
Clears all cookies.
- clear() - Method in interface org.apache.http.client.CredentialsProvider
-
Clears all credentials.
- clear() - Method in class org.apache.http.impl.client.BasicAuthCache
- clear() - Method in class org.apache.http.impl.client.BasicCookieStore
-
Clears all cookies.
- clear() - Method in class org.apache.http.impl.client.BasicCredentialsProvider
- clear() - Method in class org.apache.http.impl.client.SystemDefaultCredentialsProvider
- clearExpired(Date) - Method in interface org.apache.http.client.CookieStore
-
Removes all of
Cookies in this store that have expired by the specifiedDate. - clearExpired(Date) - Method in class org.apache.http.impl.client.BasicCookieStore
-
Removes all of
cookiesin this HTTP state that have expired by the specifieddate. - clearParameters() - Method in class org.apache.http.client.utils.URIBuilder
-
Clears URI query parameters.
- clearThreadLocal() - Static method in class org.apache.http.client.utils.DateUtils
-
Clears thread-local variable containing
DateFormatcache. - ClientConnectionManager - Interface in org.apache.http.conn
-
Deprecated.(4.3) replaced by
HttpClientConnectionManager. - ClientConnectionRequest - Interface in org.apache.http.conn
-
Deprecated.(4.3) replaced by
ConnectionRequest. - ClientCookie - Interface in org.apache.http.cookie
-
ClientCookie extends the standard
Cookieinterface with additional client specific functionality such ability to retrieve original cookie attributes exactly as they were specified by the origin server. - ClientExecChain - Interface in org.apache.http.impl.execchain
-
This interface represents an element in the HTTP request execution chain.
- ClientPNames - Interface in org.apache.http.client.params
-
Deprecated.(4.3) use
RequestConfig. - ClientProtocolException - Exception in org.apache.http.client
-
Signals an error in the HTTP protocol.
- ClientProtocolException() - Constructor for exception org.apache.http.client.ClientProtocolException
- ClientProtocolException(String) - Constructor for exception org.apache.http.client.ClientProtocolException
- ClientProtocolException(String, Throwable) - Constructor for exception org.apache.http.client.ClientProtocolException
- ClientProtocolException(Throwable) - Constructor for exception org.apache.http.client.ClientProtocolException
- clone() - Method in class org.apache.http.client.config.RequestConfig
- clone() - Method in class org.apache.http.client.methods.AbstractExecutionAwareRequest
- clone() - Method in class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
- clone() - Method in class org.apache.http.conn.routing.HttpRoute
- clone() - Method in class org.apache.http.conn.routing.RouteTracker
- clone() - Method in class org.apache.http.impl.cookie.BasicClientCookie
- clone() - Method in class org.apache.http.impl.cookie.BasicClientCookie2
- clone(Object) - Static method in class org.apache.http.client.utils.CloneUtils
- cloneObject(T) - Static method in class org.apache.http.client.utils.CloneUtils
- CloneUtils - Class in org.apache.http.client.utils
-
A collection of utilities to workaround limitations of Java clone framework.
- close() - Method in class org.apache.http.client.entity.DeflateInputStream
-
Close.
- close() - Method in class org.apache.http.conn.EofSensorInputStream
- close() - Method in class org.apache.http.impl.client.FutureRequestExecutionService
- close() - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- close() - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- CloseableHttpClient - Class in org.apache.http.impl.client
-
Base implementation of
HttpClientthat also implementsCloseable. - CloseableHttpClient() - Constructor for class org.apache.http.impl.client.CloseableHttpClient
- CloseableHttpResponse - Interface in org.apache.http.client.methods
-
Extended version of the
HttpResponseinterface that also extendsCloseable. - closeExpiredConnections() - Method in interface org.apache.http.conn.ClientConnectionManager
-
Deprecated.Closes all expired connections in the pool.
- closeExpiredConnections() - Method in interface org.apache.http.conn.HttpClientConnectionManager
-
Closes all expired connections in the pool.
- closeExpiredConnections() - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- closeExpiredConnections() - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- closeIdleConnections(long, TimeUnit) - Method in interface org.apache.http.conn.ClientConnectionManager
-
Deprecated.Closes idle connections in the pool.
- closeIdleConnections(long, TimeUnit) - Method in interface org.apache.http.conn.HttpClientConnectionManager
-
Closes idle connections in the pool.
- closeIdleConnections(long, TimeUnit) - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- closeIdleConnections(long, TimeUnit) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- closeQuietly(HttpClient) - Static method in class org.apache.http.client.utils.HttpClientUtils
-
Unconditionally close a httpClient.
- closeQuietly(CloseableHttpResponse) - Static method in class org.apache.http.client.utils.HttpClientUtils
-
Unconditionally close a response.
- closeQuietly(HttpResponse) - Static method in class org.apache.http.client.utils.HttpClientUtils
-
Unconditionally close a response.
- COMMENT_ATTR - Static variable in interface org.apache.http.cookie.ClientCookie
- COMMENTURL_ATTR - Static variable in interface org.apache.http.cookie.ClientCookie
- compare(Cookie, Cookie) - Method in class org.apache.http.cookie.CookieIdentityComparator
- compare(Cookie, Cookie) - Method in class org.apache.http.cookie.CookiePathComparator
- COMPLETE - Static variable in interface org.apache.http.conn.routing.HttpRouteDirector
-
Indicates that the route is complete.
- completed() - Method in class org.apache.http.client.methods.AbstractExecutionAwareRequest
- Configurable - Interface in org.apache.http.client.methods
-
Configuration interface for HTTP requests.
- CONN_MANAGER_TIMEOUT - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.Defines the timeout in milliseconds used when retrieving an instance of
ManagedClientConnectionfrom theClientConnectionManager. - ConnConnectionPNames - Interface in org.apache.http.conn.params
-
Deprecated.(4.1) use custom
DefaultHttpResponseParserimplementation. - connect(HttpClientConnection, HttpRoute, int, HttpContext) - Method in interface org.apache.http.conn.HttpClientConnectionManager
-
Connects the underlying connection socket to the connection target in case of a direct route or to the first proxy hop in case of a route via a proxy (or multiple proxies).
- connect(HttpClientConnection, HttpRoute, int, HttpContext) - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- connect(HttpClientConnection, HttpRoute, int, HttpContext) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- CONNECT_PROXY - Static variable in interface org.apache.http.conn.routing.HttpRouteDirector
-
Step: open connection to proxy.
- CONNECT_TARGET - Static variable in interface org.apache.http.conn.routing.HttpRouteDirector
-
Step: open connection to target.
- CONNECTION_MANAGER_FACTORY_CLASS_NAME - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.
- ConnectionBackoffStrategy - Interface in org.apache.http.client
-
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
Throwablethat resulted or by examining the resulting response (e.g. - ConnectionKeepAliveStrategy - Interface in org.apache.http.conn
-
Interface for deciding how long a connection can remain idle before being reused.
- ConnectionPoolTimeoutException - Exception in org.apache.http.conn
-
A timeout while waiting for an available connection from a connection manager.
- ConnectionPoolTimeoutException() - Constructor for exception org.apache.http.conn.ConnectionPoolTimeoutException
-
Creates a ConnectTimeoutException with a null detail message.
- ConnectionPoolTimeoutException(String) - Constructor for exception org.apache.http.conn.ConnectionPoolTimeoutException
-
Creates a ConnectTimeoutException with the specified detail message.
- ConnectionReleaseTrigger - Interface in org.apache.http.conn
-
Interface for releasing a connection.
- ConnectionRequest - Interface in org.apache.http.conn
-
Represents a request for a
HttpClientConnectionwhose life cycle is managed by a connection manager. - ConnectionShutdownException - Exception in org.apache.http.impl.conn
-
Signals that the connection has been shut down or released back to the the connection pool
- ConnectionShutdownException() - Constructor for exception org.apache.http.impl.conn.ConnectionShutdownException
-
Creates a new ConnectionShutdownException with a null detail message.
- ConnectionSocketFactory - Interface in org.apache.http.conn.socket
-
A factory for creating and connecting connection sockets.
- connectProxy(HttpHost, boolean) - Method in class org.apache.http.conn.routing.RouteTracker
-
Tracks connecting to the first proxy.
- connectSocket(int, Socket, HttpHost, InetSocketAddress, InetSocketAddress, HttpContext) - Method in interface org.apache.http.conn.socket.ConnectionSocketFactory
-
Connects the socket to the target host with the given resolved remote address.
- connectSocket(int, Socket, HttpHost, InetSocketAddress, InetSocketAddress, HttpContext) - Method in class org.apache.http.conn.socket.PlainConnectionSocketFactory
- connectSocket(int, Socket, HttpHost, InetSocketAddress, InetSocketAddress, HttpContext) - Method in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- connectSocket(Socket, String, int, InetAddress, int, HttpParams) - Method in interface org.apache.http.conn.scheme.SocketFactory
-
Deprecated.Connects a socket to the given host.
- connectSocket(Socket, InetSocketAddress, InetSocketAddress, HttpParams) - Method in interface org.apache.http.conn.scheme.SchemeSocketFactory
-
Deprecated.Connects a socket to the target host with the given remote address.
- connectTarget(boolean) - Method in class org.apache.http.conn.routing.RouteTracker
-
Tracks connecting to the target.
- ConnectTimeoutException - Exception in org.apache.http.conn
-
A timeout while connecting to an HTTP server or waiting for an available connection from an HttpConnectionManager.
- ConnectTimeoutException() - Constructor for exception org.apache.http.conn.ConnectTimeoutException
-
Creates a ConnectTimeoutException with a null detail message.
- ConnectTimeoutException(IOException, HttpHost, InetAddress...) - Constructor for exception org.apache.http.conn.ConnectTimeoutException
-
Creates a ConnectTimeoutException based on original
IOException. - ConnectTimeoutException(String) - Constructor for exception org.apache.http.conn.ConnectTimeoutException
-
Creates a ConnectTimeoutException with the specified detail message.
- ConnManagerPNames - Interface in org.apache.http.conn.params
-
Deprecated.(4.1) use configuration methods of the specific connection manager implementation.
- ConnRoutePNames - Interface in org.apache.http.conn.params
-
Deprecated.(4.3) use
RequestConfig. - contains(Object) - Method in class org.apache.http.impl.client.RedirectLocations
-
Returns true if this collection contains the specified element.
- contains(URI) - Method in class org.apache.http.impl.client.RedirectLocations
-
Test if the URI is present in the collection.
- containsAttribute(String) - Method in interface org.apache.http.cookie.ClientCookie
- containsAttribute(String) - Method in class org.apache.http.impl.cookie.BasicClientCookie
- CONTENT_TYPE - Static variable in class org.apache.http.client.utils.URLEncodedUtils
-
The default HTML form content type.
- ContextAwareAuthScheme - Interface in org.apache.http.auth
-
This interface represents an extended authentication scheme that requires access to
HttpContextin order to generate an authorization string. - Cookie - Interface in org.apache.http.cookie
-
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.
- COOKIE - Static variable in interface org.apache.http.cookie.SM
- COOKIE_ORIGIN - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
CookieOriginobject that represents the actual details of the origin server. - COOKIE_POLICY - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.Defines the name of the cookie specification to be used for HTTP state management.
- COOKIE_SPEC - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
CookieSpecobject that represents the actual cookie specification. - COOKIE_STORE - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
CookieStoreobject that represents the actual cookie store. - COOKIE2 - Static variable in interface org.apache.http.cookie.SM
- CookieAttributeHandler - Interface in org.apache.http.cookie
-
This interface represents a cookie attribute handler responsible for parsing, validating, and matching a specific cookie attribute, such as path, domain, port, etc.
- CookieIdentityComparator - Class in org.apache.http.cookie
-
This cookie comparator can be used to compare identity of cookies.
- CookieIdentityComparator() - Constructor for class org.apache.http.cookie.CookieIdentityComparator
- CookieOrigin - Class in org.apache.http.cookie
-
CookieOrigin class encapsulates details of an origin server that are relevant when parsing, validating or matching HTTP cookies.
- CookieOrigin(String, int, String, boolean) - Constructor for class org.apache.http.cookie.CookieOrigin
- CookiePathComparator - Class in org.apache.http.cookie
-
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.
- CookiePathComparator() - Constructor for class org.apache.http.cookie.CookiePathComparator
- CookieRestrictionViolationException - Exception in org.apache.http.cookie
-
Signals that a cookie violates a restriction imposed by the cookie specification.
- CookieRestrictionViolationException() - Constructor for exception org.apache.http.cookie.CookieRestrictionViolationException
-
Creates a new CookeFormatViolationException with a null detail message.
- CookieRestrictionViolationException(String) - Constructor for exception org.apache.http.cookie.CookieRestrictionViolationException
-
Creates a new CookeRestrictionViolationException with a specified message string.
- CookieSpec - Interface in org.apache.http.cookie
-
Defines the cookie management specification.
- COOKIESPEC_REGISTRY - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
Lookupobject that represents the actualCookieSpecProviderregistry. - CookieSpecBase - Class in org.apache.http.impl.cookie
-
Cookie management functions shared by all specification.
- CookieSpecBase() - Constructor for class org.apache.http.impl.cookie.CookieSpecBase
- CookieSpecFactory - Interface in org.apache.http.cookie
-
Deprecated.(4.3) use
CookieSpecProvider - CookieSpecPNames - Interface in org.apache.http.cookie.params
-
Deprecated.(4.3) use constructor parameters of
CookieSpecProviders. - CookieSpecProvider - Interface in org.apache.http.cookie
-
Factory for
CookieSpecimplementations. - CookieSpecRegistry - Class in org.apache.http.cookie
-
Deprecated.(4.3) use
Registry. - CookieSpecRegistry() - Constructor for class org.apache.http.cookie.CookieSpecRegistry
-
Deprecated.
- CookieSpecs - Class in org.apache.http.client.config
-
Standard cookie specifications supported by HttpClient.
- CookieStore - Interface in org.apache.http.client
-
This interface represents an abstract store for
Cookieobjects. - copy(RequestConfig) - Static method in class org.apache.http.client.config.RequestConfig
- copy(HttpRequest) - Static method in class org.apache.http.client.methods.RequestBuilder
- countDots(String) - Static method in class org.apache.http.conn.ssl.AbstractVerifier
-
Counts the number of dots "." in a string.
- create() - Static method in class org.apache.http.client.entity.EntityBuilder
- create() - Static method in class org.apache.http.client.protocol.HttpClientContext
- create() - Static method in class org.apache.http.impl.client.HttpClientBuilder
- create(String) - Static method in class org.apache.http.client.methods.RequestBuilder
- create(HttpRoute, ConnectionConfig) - Method in class org.apache.http.impl.conn.ManagedHttpClientConnectionFactory
- create(SessionInputBuffer, MessageConstraints) - Method in class org.apache.http.impl.conn.DefaultHttpResponseParserFactory
- create(HttpContext) - Method in interface org.apache.http.auth.AuthSchemeProvider
-
Creates an instance of
AuthScheme. - create(HttpContext) - Method in interface org.apache.http.cookie.CookieSpecProvider
-
Creates an instance of
CookieSpec. - create(HttpContext) - Method in class org.apache.http.impl.auth.BasicSchemeFactory
- create(HttpContext) - Method in class org.apache.http.impl.auth.DigestSchemeFactory
- create(HttpContext) - Method in class org.apache.http.impl.auth.KerberosSchemeFactory
- create(HttpContext) - Method in class org.apache.http.impl.auth.NTLMSchemeFactory
- create(HttpContext) - Method in class org.apache.http.impl.auth.SPNegoSchemeFactory
- create(HttpContext) - Method in class org.apache.http.impl.cookie.BestMatchSpecFactory
- create(HttpContext) - Method in class org.apache.http.impl.cookie.BrowserCompatSpecFactory
- create(HttpContext) - Method in class org.apache.http.impl.cookie.IgnoreSpecFactory
- create(HttpContext) - Method in class org.apache.http.impl.cookie.NetscapeDraftSpecFactory
- create(HttpContext) - Method in class org.apache.http.impl.cookie.RFC2109SpecFactory
- create(HttpContext) - Method in class org.apache.http.impl.cookie.RFC2965SpecFactory
- create(T, ConnectionConfig) - Method in interface org.apache.http.conn.HttpConnectionFactory
- createCnonce() - Static method in class org.apache.http.impl.auth.DigestScheme
-
Creates a random cnonce value based on the current time.
- createDefault() - Static method in class org.apache.http.conn.ssl.SSLContexts
-
Creates default factory based on the standard JSSE trust material (
cacertsfile in the security properties directory). - createDefault() - Static method in class org.apache.http.impl.client.HttpClients
-
Creates
CloseableHttpClientinstance with default configuration. - createLayeredSocket(Socket, String, int, boolean) - Method in interface org.apache.http.conn.scheme.LayeredSchemeSocketFactory
-
Deprecated.Returns a socket connected to the given host that is layered over an existing socket.
- createLayeredSocket(Socket, String, int, HttpParams) - Method in interface org.apache.http.conn.scheme.SchemeLayeredSocketFactory
-
Deprecated.Returns a socket connected to the given host that is layered over an existing socket.
- createLayeredSocket(Socket, String, int, HttpContext) - Method in interface org.apache.http.conn.socket.LayeredConnectionSocketFactory
-
Returns a socket connected to the given host that is layered over an existing socket.
- createLayeredSocket(Socket, String, int, HttpContext) - Method in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- createLocationURI(String) - Method in class org.apache.http.impl.client.DefaultRedirectStrategy
- createMinimal() - Static method in class org.apache.http.impl.client.HttpClients
-
Creates
CloseableHttpClientinstance that implements the most basic HTTP protocol support. - createMinimal(HttpClientConnectionManager) - Static method in class org.apache.http.impl.client.HttpClients
-
Creates
CloseableHttpClientinstance that implements the most basic HTTP protocol support. - createSocket() - Method in interface org.apache.http.conn.scheme.SocketFactory
-
Deprecated.Creates a new, unconnected socket.
- createSocket(Socket, String, int, boolean) - Method in interface org.apache.http.conn.scheme.LayeredSocketFactory
-
Deprecated.Returns a socket connected to the given host that is layered over an existing socket.
- createSocket(HttpParams) - Method in interface org.apache.http.conn.scheme.SchemeSocketFactory
-
Deprecated.Creates a new, unconnected socket.
- createSocket(HttpContext) - Method in interface org.apache.http.conn.socket.ConnectionSocketFactory
-
Creates new, unconnected socket.
- createSocket(HttpContext) - Method in class org.apache.http.conn.socket.PlainConnectionSocketFactory
- createSocket(HttpContext) - Method in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- createSystem() - Static method in class org.apache.http.impl.client.HttpClients
-
Creates
CloseableHttpClientinstance with default configuration based on ssytem properties. - createSystemDefault() - Static method in class org.apache.http.conn.ssl.SSLContexts
-
Creates default SSL context based on system properties.
- createURI(String, String, int, String, String, String) - Static method in class org.apache.http.client.utils.URIUtils
-
Deprecated.(4.2) use
URIBuilder. - CREDENTIAL_CHARSET - Static variable in interface org.apache.http.auth.params.AuthPNames
-
Deprecated.Defines the charset to be used when encoding
Credentials. - Credentials - Interface in org.apache.http.auth
-
This interface represents a set of credentials consisting of a security principal and a secret (password) that can be used to establish user identity
- CredentialsProvider - Interface in org.apache.http.client
-
Abstract credentials provider that maintains a collection of user credentials.
- CREDS_PROVIDER - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
CredentialsProviderobject that represents the actual credentials provider. - custom() - Static method in class org.apache.http.client.config.RequestConfig
- custom() - Static method in class org.apache.http.conn.ssl.SSLContexts
-
Creates custom SSL context.
- custom() - Static method in class org.apache.http.impl.client.HttpClients
-
Creates builder object for construction of custom
CloseableHttpClientinstances.
D
- DATE_PATTERNS - Static variable in interface org.apache.http.cookie.params.CookieSpecPNames
-
Deprecated.Defines valid date patterns to be used for parsing non-standard
expiresattribute. - DateParseException - Exception in org.apache.http.impl.cookie
-
An exception to indicate an error parsing a date string.
- DateParseException() - Constructor for exception org.apache.http.impl.cookie.DateParseException
- DateParseException(String) - Constructor for exception org.apache.http.impl.cookie.DateParseException
- DateUtils - Class in org.apache.http.client.utils
-
A utility class for parsing and formatting HTTP dates as used in cookies and other headers.
- decode(String) - Method in class org.apache.http.client.utils.Rfc3492Idn
- decorateMainExec(ClientExecChain) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
For internal use.
- decorateProtocolExec(ClientExecChain) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
For internal use.
- DEFAULT - Static variable in class org.apache.http.client.config.RequestConfig
- DEFAULT - Static variable in class org.apache.http.impl.cookie.NetscapeDraftHeaderParser
- DEFAULT_HEADERS - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.Defines the request headers to be sent per default with each request.
- DEFAULT_HOST - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.Defines the default host.
- DEFAULT_PROXY - Static variable in interface org.apache.http.conn.params.ConnRoutePNames
-
Deprecated.Parameter for the default proxy.
- DefaultBackoffStrategy - Class in org.apache.http.impl.client
-
This
ConnectionBackoffStrategybacks off either for a raw network socket or connection timeout or if the server explicitly sends a 503 (Service Unavailable) response. - DefaultBackoffStrategy() - Constructor for class org.apache.http.impl.client.DefaultBackoffStrategy
- DefaultConnectionKeepAliveStrategy - Class in org.apache.http.impl.client
-
Default implementation of a strategy deciding duration that a connection can remain idle.
- DefaultConnectionKeepAliveStrategy() - Constructor for class org.apache.http.impl.client.DefaultConnectionKeepAliveStrategy
- DefaultHttpRequestRetryHandler - Class in org.apache.http.impl.client
-
The default
HttpRequestRetryHandlerused by request executors. - DefaultHttpRequestRetryHandler() - Constructor for class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
-
Create the request retry handler with a retry count of 3, requestSentRetryEnabled false and using the following list of non-retriable IOException classes:
InterruptedIOException UnknownHostException ConnectException SSLException - DefaultHttpRequestRetryHandler(int, boolean) - Constructor for class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
-
Create the request retry handler using the following list of non-retriable IOException classes:
InterruptedIOException UnknownHostException ConnectException SSLException - DefaultHttpRequestRetryHandler(int, boolean, Collection<Class<? extends IOException>>) - Constructor for class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
-
Create the request retry handler using the specified IOException classes
- DefaultHttpResponseParser - Class in org.apache.http.impl.conn
-
Lenient HTTP response parser implementation that can skip malformed data until a valid HTTP response message head is encountered.
- DefaultHttpResponseParser(SessionInputBuffer) - Constructor for class org.apache.http.impl.conn.DefaultHttpResponseParser
-
Creates new instance of DefaultHttpResponseParser.
- DefaultHttpResponseParser(SessionInputBuffer, MessageConstraints) - Constructor for class org.apache.http.impl.conn.DefaultHttpResponseParser
-
Creates new instance of DefaultHttpResponseParser.
- DefaultHttpResponseParser(SessionInputBuffer, LineParser, HttpResponseFactory, MessageConstraints) - Constructor for class org.apache.http.impl.conn.DefaultHttpResponseParser
-
Creates new instance of DefaultHttpResponseParser.
- DefaultHttpResponseParser(SessionInputBuffer, LineParser, HttpResponseFactory, HttpParams) - Constructor for class org.apache.http.impl.conn.DefaultHttpResponseParser
- DefaultHttpResponseParserFactory - Class in org.apache.http.impl.conn
-
Default factory for response message parsers.
- DefaultHttpResponseParserFactory() - Constructor for class org.apache.http.impl.conn.DefaultHttpResponseParserFactory
- DefaultHttpResponseParserFactory(HttpResponseFactory) - Constructor for class org.apache.http.impl.conn.DefaultHttpResponseParserFactory
- DefaultHttpResponseParserFactory(LineParser, HttpResponseFactory) - Constructor for class org.apache.http.impl.conn.DefaultHttpResponseParserFactory
- DefaultManagedHttpClientConnection - Class in org.apache.http.impl.conn
-
Default
ManagedHttpClientConnectionimplementation. - DefaultManagedHttpClientConnection(String, int) - Constructor for class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
- DefaultManagedHttpClientConnection(String, int, int, CharsetDecoder, CharsetEncoder, MessageConstraints, ContentLengthStrategy, ContentLengthStrategy, HttpMessageWriterFactory<HttpRequest>, HttpMessageParserFactory<HttpResponse>) - Constructor for class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
- DefaultProxyRoutePlanner - Class in org.apache.http.impl.conn
-
Implementation of an
HttpRoutePlannerthat routes requests through a default proxy. - DefaultProxyRoutePlanner(HttpHost) - Constructor for class org.apache.http.impl.conn.DefaultProxyRoutePlanner
- DefaultProxyRoutePlanner(HttpHost, SchemePortResolver) - Constructor for class org.apache.http.impl.conn.DefaultProxyRoutePlanner
- DefaultRedirectStrategy - Class in org.apache.http.impl.client
-
Default implementation of
RedirectStrategy. - DefaultRedirectStrategy() - Constructor for class org.apache.http.impl.client.DefaultRedirectStrategy
- DefaultRoutePlanner - Class in org.apache.http.impl.conn
-
Default implementation of an
HttpRoutePlanner. - DefaultRoutePlanner(SchemePortResolver) - Constructor for class org.apache.http.impl.conn.DefaultRoutePlanner
- DefaultSchemePortResolver - Class in org.apache.http.impl.conn
-
Default
SchemePortResolver. - DefaultSchemePortResolver() - Constructor for class org.apache.http.impl.conn.DefaultSchemePortResolver
- DefaultServiceUnavailableRetryStrategy - Class in org.apache.http.impl.client
-
Default implementation of the
ServiceUnavailableRetryStrategyinterface. - DefaultServiceUnavailableRetryStrategy() - Constructor for class org.apache.http.impl.client.DefaultServiceUnavailableRetryStrategy
- DefaultServiceUnavailableRetryStrategy(int, int) - Constructor for class org.apache.http.impl.client.DefaultServiceUnavailableRetryStrategy
- DefaultUserTokenHandler - Class in org.apache.http.impl.client
-
Default implementation of
UserTokenHandler. - DefaultUserTokenHandler() - Constructor for class org.apache.http.impl.client.DefaultUserTokenHandler
- DeflateDecompressingEntity - Class in org.apache.http.client.entity
-
HttpEntityWrapperresponsible for handling deflate Content Coded responses. - DeflateDecompressingEntity(HttpEntity) - Constructor for class org.apache.http.client.entity.DeflateDecompressingEntity
-
Creates a new
DeflateDecompressingEntitywhich will wrap the specifiedHttpEntity. - DeflateInputStream - Class in org.apache.http.client.entity
-
Deflate input stream.
- DeflateInputStream(InputStream) - Constructor for class org.apache.http.client.entity.DeflateInputStream
- delete() - Static method in class org.apache.http.client.methods.RequestBuilder
- determineProxy(HttpHost, HttpRequest, HttpContext) - Method in class org.apache.http.impl.conn.DefaultProxyRoutePlanner
- determineProxy(HttpHost, HttpRequest, HttpContext) - Method in class org.apache.http.impl.conn.DefaultRoutePlanner
- determineProxy(HttpHost, HttpRequest, HttpContext) - Method in class org.apache.http.impl.conn.SystemDefaultRoutePlanner
- determineRoute(HttpHost, HttpRequest, HttpContext) - Method in interface org.apache.http.conn.routing.HttpRoutePlanner
-
Determines the route for a request.
- determineRoute(HttpHost, HttpRequest, HttpContext) - Method in class org.apache.http.impl.conn.DefaultRoutePlanner
- DIGEST - Static variable in class org.apache.http.client.config.AuthSchemes
-
Digest authentication scheme as defined in RFC2617.
- DigestScheme - Class in org.apache.http.impl.auth
-
Digest authentication scheme as defined in RFC 2617.
- DigestScheme() - Constructor for class org.apache.http.impl.auth.DigestScheme
- DigestScheme(Charset) - Constructor for class org.apache.http.impl.auth.DigestScheme
- DigestScheme(ChallengeState) - Constructor for class org.apache.http.impl.auth.DigestScheme
-
Deprecated.(4.3) do not use.
- DigestSchemeFactory - Class in org.apache.http.impl.auth
-
AuthSchemeProviderimplementation that creates and initializesDigestSchemeinstances. - DigestSchemeFactory() - Constructor for class org.apache.http.impl.auth.DigestSchemeFactory
- DigestSchemeFactory(Charset) - Constructor for class org.apache.http.impl.auth.DigestSchemeFactory
- directStep(RouteInfo, RouteInfo) - Method in class org.apache.http.conn.routing.BasicRouteDirector
-
Determines the next step to establish a direct connection.
- disableAuthCaching() - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Disables authentication scheme caching.
- disableAutomaticRetries() - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Disables automatic request recovery and re-execution.
- disableConnectionState() - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Disables connection state tracking.
- disableContentCompression() - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Disables automatic content decompression.
- disableCookieManagement() - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Disables state (cookie) management.
- disableRedirectHandling() - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Disables automatic redirect handling.
- DISCARD_ATTR - Static variable in interface org.apache.http.cookie.ClientCookie
- DnsResolver - Interface in org.apache.http.conn
-
Users may implement this interface to override the normal DNS lookup offered by the OS.
- doExecute(HttpHost, HttpRequest, HttpContext) - Method in class org.apache.http.impl.client.CloseableHttpClient
- DOMAIN_ATTR - Static variable in interface org.apache.http.cookie.ClientCookie
- domainMatch(String, String) - Method in class org.apache.http.impl.cookie.RFC2965DomainAttributeHandler
-
Performs domain-match as defined by the RFC2965.
E
- enabled() - Method in class org.apache.http.impl.conn.Wire
- endedTime() - Method in class org.apache.http.impl.client.HttpRequestFutureTask
- EntityBuilder - Class in org.apache.http.client.entity
-
Builder for
HttpEntityinstances. - EntityEnclosingRequestWrapper - Class in org.apache.http.impl.client
-
Deprecated.(4.3) do not use.
- EntityEnclosingRequestWrapper(HttpEntityEnclosingRequest) - Constructor for class org.apache.http.impl.client.EntityEnclosingRequestWrapper
-
Deprecated.
- eofDetected(InputStream) - Method in interface org.apache.http.conn.EofSensorWatcher
-
Indicates that EOF is detected.
- EofSensorInputStream - Class in org.apache.http.conn
-
A stream wrapper that triggers actions on
close()and EOF. - EofSensorInputStream(InputStream, EofSensorWatcher) - Constructor for class org.apache.http.conn.EofSensorInputStream
-
Creates a new EOF sensor.
- EofSensorWatcher - Interface in org.apache.http.conn
-
A watcher for
EofSensorInputStream. - equals(Object) - Method in class org.apache.http.auth.AuthScope
- equals(Object) - Method in class org.apache.http.auth.BasicUserPrincipal
- equals(Object) - Method in class org.apache.http.auth.NTCredentials
- equals(Object) - Method in class org.apache.http.auth.NTUserPrincipal
- equals(Object) - Method in class org.apache.http.auth.UsernamePasswordCredentials
- equals(Object) - Method in class org.apache.http.conn.routing.HttpRoute
-
Compares this route to another.
- equals(Object) - Method in class org.apache.http.conn.routing.RouteTracker
-
Compares this tracked route to another.
- equals(Object) - Method in class org.apache.http.conn.scheme.Scheme
-
Deprecated.
- execute(HttpUriRequest) - Method in interface org.apache.http.client.HttpClient
-
Executes HTTP request using the default context.
- execute(HttpUriRequest) - Method in class org.apache.http.impl.client.CloseableHttpClient
-
Executes HTTP request using the default context.
- execute(HttpUriRequest, ResponseHandler<? extends T>) - Method in interface org.apache.http.client.HttpClient
-
Executes HTTP request using the default context and processes the response using the given response handler.
- execute(HttpUriRequest, ResponseHandler<? extends T>) - Method in class org.apache.http.impl.client.CloseableHttpClient
-
Executes a request using the default context and processes the response using the given response handler.
- execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - Method in interface org.apache.http.client.HttpClient
-
Executes HTTP request using the given context and processes the response using the given response handler.
- execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.apache.http.impl.client.CloseableHttpClient
-
Executes a request using the default context and processes the response using the given response handler.
- execute(HttpUriRequest, HttpContext) - Method in interface org.apache.http.client.HttpClient
-
Executes HTTP request using the given context.
- execute(HttpUriRequest, HttpContext) - Method in class org.apache.http.impl.client.CloseableHttpClient
-
Executes HTTP request using the given context.
- execute(HttpUriRequest, HttpContext, ResponseHandler<T>) - Method in class org.apache.http.impl.client.FutureRequestExecutionService
-
Schedule a request for execution.
- execute(HttpUriRequest, HttpContext, ResponseHandler<T>, FutureCallback<T>) - Method in class org.apache.http.impl.client.FutureRequestExecutionService
-
Schedule a request for execution.
- execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) - Method in class org.apache.http.impl.execchain.BackoffStrategyExec
- execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) - Method in interface org.apache.http.impl.execchain.ClientExecChain
-
Executes th request either by transmitting it to the target server or by passing it onto the next executor in the request execution chain.
- execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) - Method in class org.apache.http.impl.execchain.MainClientExec
- execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) - Method in class org.apache.http.impl.execchain.MinimalClientExec
- execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) - Method in class org.apache.http.impl.execchain.ProtocolExec
- execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) - Method in class org.apache.http.impl.execchain.RedirectExec
- execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) - Method in class org.apache.http.impl.execchain.RetryExec
- execute(HttpRoute, HttpRequestWrapper, HttpClientContext, HttpExecutionAware) - Method in class org.apache.http.impl.execchain.ServiceUnavailableRetryExec
- execute(HttpHost, HttpRequest) - Method in interface org.apache.http.client.HttpClient
-
Executes HTTP request using the default context.
- execute(HttpHost, HttpRequest) - Method in class org.apache.http.impl.client.CloseableHttpClient
-
Executes HTTP request using the default context.
- execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - Method in interface org.apache.http.client.HttpClient
-
Executes HTTP request to the target using the default context and processes the response using the given response handler.
- execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - Method in class org.apache.http.impl.client.CloseableHttpClient
-
Executes a request using the default context and processes the response using the given response handler.
- execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - Method in interface org.apache.http.client.HttpClient
-
Executes HTTP request to the target using the given context and processes the response using the given response handler.
- execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.apache.http.impl.client.CloseableHttpClient
-
Executes a request using the default context and processes the response using the given response handler.
- execute(HttpHost, HttpRequest, HttpContext) - Method in interface org.apache.http.client.HttpClient
-
Executes HTTP request using the given context.
- execute(HttpHost, HttpRequest, HttpContext) - Method in class org.apache.http.impl.client.CloseableHttpClient
-
Executes HTTP request using the given context.
- expectContinue() - Method in class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
- expectContinue() - Method in class org.apache.http.impl.client.EntityEnclosingRequestWrapper
-
Deprecated.
- EXPIRES_ATTR - Static variable in interface org.apache.http.cookie.ClientCookie
- EXPIRES_PATTERN - Static variable in class org.apache.http.impl.cookie.NetscapeDraftSpec
- extractHost(URI) - Static method in class org.apache.http.client.utils.URIUtils
-
Extracts target host from the given
URI.
F
- FAILURE - org.apache.http.auth.AuthProtocolState
- finalize() - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- finalize() - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- findAttribHandler(String) - Method in class org.apache.http.impl.cookie.AbstractCookieSpec
-
Finds an attribute handler
CookieAttributeHandlerfor the given attribute. - firstStep(RouteInfo) - Method in class org.apache.http.conn.routing.BasicRouteDirector
-
Determines the first step to establish a route.
- FORCED_ROUTE - Static variable in interface org.apache.http.conn.params.ConnRoutePNames
-
Deprecated.Parameter for an forced route.
- format(Iterable<? extends NameValuePair>, char, Charset) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Returns a String that is suitable for use as an
application/x-www-form-urlencodedlist of parameters in an HTTP PUT or HTTP POST. - format(Iterable<? extends NameValuePair>, Charset) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Returns a String that is suitable for use as an
application/x-www-form-urlencodedlist of parameters in an HTTP PUT or HTTP POST. - format(List<? extends NameValuePair>, char, String) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Returns a String that is suitable for use as an
application/x-www-form-urlencodedlist of parameters in an HTTP PUT or HTTP POST. - format(List<? extends NameValuePair>, String) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Returns a String that is suitable for use as an
application/x-www-form-urlencodedlist of parameters in an HTTP PUT or HTTP POST. - formatCookieAsVer(CharArrayBuffer, Cookie, int) - Method in class org.apache.http.impl.cookie.RFC2109Spec
-
Return a string suitable for sending in a "Cookie" header as defined in RFC 2109 for backward compatibility with cookie version 0
- formatCookieAsVer(CharArrayBuffer, Cookie, int) - Method in class org.apache.http.impl.cookie.RFC2965Spec
-
Adds valid Port attribute value, e.g.
- formatCookies(List<Cookie>) - Method in interface org.apache.http.cookie.CookieSpec
-
Create "Cookie" headers for an array of Cookies.
- formatCookies(List<Cookie>) - Method in class org.apache.http.impl.cookie.BestMatchSpec
- formatCookies(List<Cookie>) - Method in class org.apache.http.impl.cookie.BrowserCompatSpec
- formatCookies(List<Cookie>) - Method in class org.apache.http.impl.cookie.IgnoreSpec
- formatCookies(List<Cookie>) - Method in class org.apache.http.impl.cookie.NetscapeDraftSpec
- formatCookies(List<Cookie>) - Method in class org.apache.http.impl.cookie.RFC2109Spec
- formatDate(Date) - Static method in class org.apache.http.client.utils.DateUtils
-
Formats the given date according to the RFC 1123 pattern.
- formatDate(Date, String) - Static method in class org.apache.http.client.utils.DateUtils
-
Formats the given date according to the specified pattern.
- formatParamAsVer(CharArrayBuffer, String, String, int) - Method in class org.apache.http.impl.cookie.RFC2109Spec
-
Return a name/value string suitable for sending in a "Cookie" header as defined in RFC 2109 for backward compatibility with cookie version 0
- FutureRequestExecutionMetrics - Class in org.apache.http.impl.client
-
Collection of different counters used to gather metrics for
FutureRequestExecutionService. - FutureRequestExecutionService - Class in org.apache.http.impl.client
-
HttpAsyncClientWithFuture wraps calls to execute with a
HttpRequestFutureTaskand schedules them using the provided executor service. - FutureRequestExecutionService(HttpClient, ExecutorService) - Constructor for class org.apache.http.impl.client.FutureRequestExecutionService
-
Create a new FutureRequestExecutionService.
G
- generateAuthResponse(HttpRequest, AuthState, HttpContext) - Method in class org.apache.http.impl.auth.HttpAuthenticator
- generateGSSToken(byte[], Oid, String) - Method in class org.apache.http.impl.auth.GGSSchemeBase
- generateToken(byte[], String) - Method in class org.apache.http.impl.auth.GGSSchemeBase
- generateToken(byte[], String) - Method in class org.apache.http.impl.auth.KerberosScheme
- generateToken(byte[], String) - Method in class org.apache.http.impl.auth.SPNegoScheme
- generateType1Msg(String, String) - Method in interface org.apache.http.impl.auth.NTLMEngine
-
Generates a Type1 message given the domain and workstation.
- generateType3Msg(String, String, String, String, String) - Method in interface org.apache.http.impl.auth.NTLMEngine
-
Generates a Type3 message given the user credentials and the authentication challenge.
- get() - Static method in class org.apache.http.client.methods.RequestBuilder
- get(int) - Method in class org.apache.http.impl.client.RedirectLocations
-
Returns the URI at the specified position in this list.
- get(long, TimeUnit) - Method in interface org.apache.http.conn.ConnectionRequest
-
Obtains a connection within a given time.
- get(String) - Method in class org.apache.http.conn.scheme.SchemeRegistry
-
Deprecated.Obtains a scheme by name, if registered.
- get(HttpHost) - Method in interface org.apache.http.client.AuthCache
- get(HttpHost) - Method in class org.apache.http.impl.client.BasicAuthCache
- getActiveConnectionCount() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- getAll() - Method in class org.apache.http.impl.client.RedirectLocations
-
Returns all redirect
URIs in the order they were added to the collection. - getAllowedMethods(HttpResponse) - Method in class org.apache.http.client.methods.HttpOptions
- getAttribHandler(String) - Method in class org.apache.http.impl.cookie.AbstractCookieSpec
-
Gets attribute handler
CookieAttributeHandlerfor the given attribute. - getAttribHandlers() - Method in class org.apache.http.impl.cookie.AbstractCookieSpec
- getAttribute(String) - Method in interface org.apache.http.cookie.ClientCookie
- getAttribute(String) - Method in class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
- getAttribute(String) - Method in class org.apache.http.impl.cookie.BasicClientCookie
- getAuthCache() - Method in class org.apache.http.client.protocol.HttpClientContext
- getAuthOptions() - Method in class org.apache.http.auth.AuthState
-
Returns available
AuthOptions. - getAuthScheme() - Method in class org.apache.http.auth.AuthOption
- getAuthScheme() - Method in class org.apache.http.auth.AuthState
-
Returns actual
AuthScheme. - getAuthScheme(String, HttpParams) - Method in class org.apache.http.auth.AuthSchemeRegistry
-
Deprecated.Gets the
authentication schemewith the given name. - getAuthSchemeRegistry() - Method in class org.apache.http.client.protocol.HttpClientContext
- getAuthSchemeRegistry() - Method in class org.apache.http.impl.client.ProxyClient
-
Deprecated.(4.3) do not use.
- getAuthScope() - Method in class org.apache.http.auth.AuthState
-
Deprecated.(4.2) do not use.
- getBinary() - Method in class org.apache.http.client.entity.EntityBuilder
-
Returns entity content as a byte array if set using
EntityBuilder.setBinary(byte[])method. - getCertChain() - Method in class org.apache.http.conn.ssl.PrivateKeyDetails
- getChallenges(HttpHost, HttpResponse, HttpContext) - Method in interface org.apache.http.client.AuthenticationStrategy
-
Extracts from the given HTTP response a collection of authentication challenges, each of which represents an authentication scheme supported by the authentication host.
- getChallengeState() - Method in class org.apache.http.impl.auth.AuthSchemeBase
-
Returns
ChallengeStatevalue ornullif unchallenged. - getCNs(X509Certificate) - Static method in class org.apache.http.conn.ssl.AbstractVerifier
- getComment() - Method in interface org.apache.http.cookie.Cookie
-
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.
- getComment() - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.
- getCommentURL() - Method in interface org.apache.http.cookie.Cookie
-
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL.
- getCommentURL() - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns null.
- getCommentURL() - Method in class org.apache.http.impl.cookie.BasicClientCookie2
- getConfig() - Method in interface org.apache.http.client.methods.Configurable
-
Returns actual request configuration.
- getConfig() - Method in class org.apache.http.client.methods.HttpRequestBase
- getConfig() - Method in class org.apache.http.client.methods.RequestBuilder
- getConnection(long, TimeUnit) - Method in interface org.apache.http.conn.ClientConnectionRequest
-
Deprecated.Obtains a connection within a given time.
- getConnectionConfig() - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- getConnectionConfig(HttpHost) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- getConnectionManager() - Method in interface org.apache.http.client.HttpClient
-
Deprecated.(4.3) use
HttpClientBuilder. - getConnectionRequestTimeout() - Method in class org.apache.http.client.config.RequestConfig
-
Returns the timeout in milliseconds used when requesting a connection from the connection manager.
- getConnectTimeout() - Method in class org.apache.http.client.config.RequestConfig
-
Determines the timeout in milliseconds until a connection is established.
- getContent() - Method in class org.apache.http.client.entity.GzipCompressingEntity
- getContentEncoding() - Method in class org.apache.http.client.entity.DeflateDecompressingEntity
- getContentEncoding() - Method in class org.apache.http.client.entity.EntityBuilder
-
Returns content encoding of the entity, if set.
- getContentEncoding() - Method in class org.apache.http.client.entity.GzipCompressingEntity
- getContentEncoding() - Method in class org.apache.http.client.entity.GzipDecompressingEntity
- getContentLength() - Method in class org.apache.http.client.entity.DeflateDecompressingEntity
- getContentLength() - Method in class org.apache.http.client.entity.GzipCompressingEntity
- getContentLength() - Method in class org.apache.http.client.entity.GzipDecompressingEntity
- getContentType() - Method in class org.apache.http.client.entity.EntityBuilder
-
Returns
ContentTypeof the entity, if set. - getCookieOrigin() - Method in class org.apache.http.client.protocol.HttpClientContext
- getCookies() - Method in interface org.apache.http.client.CookieStore
-
Returns all cookies contained in this store.
- getCookies() - Method in class org.apache.http.impl.client.BasicCookieStore
-
Returns an immutable array of
cookiesthat this HTTP state currently contains. - getCookieSpec() - Method in class org.apache.http.client.config.RequestConfig
-
Determines the name of the cookie specification to be used for HTTP state management.
- getCookieSpec() - Method in class org.apache.http.client.protocol.HttpClientContext
- getCookieSpec(String) - Method in class org.apache.http.cookie.CookieSpecRegistry
-
Deprecated.Gets the
cookie specificationwith the given name. - getCookieSpec(String, HttpParams) - Method in class org.apache.http.cookie.CookieSpecRegistry
-
Deprecated.Gets the
cookie specificationwith the given ID. - getCookieSpecRegistry() - Method in class org.apache.http.client.protocol.HttpClientContext
- getCookieStore() - Method in class org.apache.http.client.protocol.HttpClientContext
- getCredentials() - Method in class org.apache.http.auth.AuthOption
- getCredentials() - Method in class org.apache.http.auth.AuthState
-
Returns actual
Credentials. - getCredentials(AuthScope) - Method in interface org.apache.http.client.CredentialsProvider
-
Get the
credentialsfor the given authentication scope. - getCredentials(AuthScope) - Method in class org.apache.http.impl.client.BasicCredentialsProvider
- getCredentials(AuthScope) - Method in class org.apache.http.impl.client.SystemDefaultCredentialsProvider
- getCredentialsCharset() - Method in class org.apache.http.impl.auth.RFC2617Scheme
- getCredentialsProvider() - Method in class org.apache.http.client.protocol.HttpClientContext
- getDefaultConnectionConfig() - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- getDefaultDomain(CookieOrigin) - Static method in class org.apache.http.impl.cookie.CookieSpecBase
- getDefaultMaxPerRoute() - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- getDefaultPath(CookieOrigin) - Static method in class org.apache.http.impl.cookie.CookieSpecBase
- getDefaultPort() - Method in class org.apache.http.conn.scheme.Scheme
-
Deprecated.Obtains the default port.
- getDefaultSocketConfig() - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- getDNSSubjectAlts(X509Certificate) - Static method in class org.apache.http.conn.ssl.AbstractVerifier
-
Extracts the array of SubjectAlt DNS names from an X509Certificate.
- getDomain() - Method in class org.apache.http.auth.NTCredentials
-
Retrieves the name to authenticate with.
- getDomain() - Method in class org.apache.http.auth.NTUserPrincipal
- getDomain() - Method in interface org.apache.http.cookie.Cookie
-
Returns domain attribute of the cookie.
- getDomain() - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns domain attribute of the cookie.
- getEntity() - Method in class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
- getEntity() - Method in class org.apache.http.client.methods.RequestBuilder
- getEntity() - Method in class org.apache.http.impl.client.EntityEnclosingRequestWrapper
-
Deprecated.
- getExecCount() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- getExpiryDate() - Method in interface org.apache.http.cookie.Cookie
-
Returns the expiration
Dateof the cookie, or null if none exists. - getExpiryDate() - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns the expiration
Dateof the cookie, or null if none exists. - getFailedConnectionAverageDuration() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- getFailedConnectionCount() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- getFile() - Method in class org.apache.http.client.entity.EntityBuilder
-
Returns entity content as a
Fileif set usingEntityBuilder.setFile(java.io.File)method. - getFirstHeader(String) - Method in class org.apache.http.client.methods.RequestBuilder
- getFragment() - Method in class org.apache.http.client.utils.URIBuilder
- getHeaders(String) - Method in class org.apache.http.client.methods.RequestBuilder
- getHopCount() - Method in class org.apache.http.conn.routing.HttpRoute
- getHopCount() - Method in interface org.apache.http.conn.routing.RouteInfo
-
Obtains the number of hops in this route.
- getHopCount() - Method in class org.apache.http.conn.routing.RouteTracker
- getHopTarget(int) - Method in class org.apache.http.conn.routing.HttpRoute
- getHopTarget(int) - Method in interface org.apache.http.conn.routing.RouteInfo
-
Obtains the target of a hop in this route.
- getHopTarget(int) - Method in class org.apache.http.conn.routing.RouteTracker
- getHost() - Method in class org.apache.http.auth.AuthScope
- getHost() - Method in class org.apache.http.client.utils.URIBuilder
- getHost() - Method in exception org.apache.http.conn.ConnectTimeoutException
- getHost() - Method in exception org.apache.http.conn.HttpHostConnectException
- getHost() - Method in class org.apache.http.cookie.CookieOrigin
- getHttpHost() - Method in class org.apache.http.conn.HttpInetSocketAddress
-
Deprecated.
- getHttpRoute() - Method in class org.apache.http.client.protocol.HttpClientContext
- getId() - Method in interface org.apache.http.conn.ManagedHttpClientConnection
-
Returns connection ID which is expected to be unique for the life span of the connection manager.
- getId() - Method in class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
- getKeepAliveDuration(HttpResponse, HttpContext) - Method in interface org.apache.http.conn.ConnectionKeepAliveStrategy
-
Returns the duration of time which this connection can be safely kept idle.
- getKeepAliveDuration(HttpResponse, HttpContext) - Method in class org.apache.http.impl.client.DefaultConnectionKeepAliveStrategy
- getKey(HttpHost) - Method in class org.apache.http.impl.client.BasicAuthCache
- getLastHeader(String) - Method in class org.apache.http.client.methods.RequestBuilder
- getLayerType() - Method in class org.apache.http.conn.routing.HttpRoute
- getLayerType() - Method in interface org.apache.http.conn.routing.RouteInfo
-
Obtains the layering type of this route.
- getLayerType() - Method in class org.apache.http.conn.routing.RouteTracker
- getLocalAddress() - Method in class org.apache.http.client.config.RequestConfig
-
Returns local address to be used for request execution.
- getLocalAddress() - Method in class org.apache.http.conn.routing.HttpRoute
- getLocalAddress() - Method in interface org.apache.http.conn.routing.RouteInfo
-
Obtains the local address to connect from.
- getLocalAddress() - Method in class org.apache.http.conn.routing.RouteTracker
- getLocalSocketAddress() - Method in class org.apache.http.conn.routing.HttpRoute
- getLocationURI(HttpRequest, HttpResponse, HttpContext) - Method in class org.apache.http.impl.client.DefaultRedirectStrategy
- getManager() - Method in class org.apache.http.impl.auth.GGSSchemeBase
- getMaxPerRoute(HttpRoute) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- getMaxRedirects() - Method in class org.apache.http.client.config.RequestConfig
-
Returns the maximum number of redirects to be followed.
- getMaxTotal() - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- getMethod() - Method in class org.apache.http.client.methods.HttpDelete
- getMethod() - Method in class org.apache.http.client.methods.HttpGet
- getMethod() - Method in class org.apache.http.client.methods.HttpHead
- getMethod() - Method in class org.apache.http.client.methods.HttpOptions
- getMethod() - Method in class org.apache.http.client.methods.HttpPatch
- getMethod() - Method in class org.apache.http.client.methods.HttpPost
- getMethod() - Method in class org.apache.http.client.methods.HttpPut
- getMethod() - Method in class org.apache.http.client.methods.HttpRequestBase
- getMethod() - Method in class org.apache.http.client.methods.HttpRequestWrapper
- getMethod() - Method in class org.apache.http.client.methods.HttpTrace
- getMethod() - Method in interface org.apache.http.client.methods.HttpUriRequest
-
Returns the HTTP method this request uses, such as
GET,PUT,POST, or other. - getMethod() - Method in class org.apache.http.client.methods.RequestBuilder
- getMethod() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- getName() - Method in class org.apache.http.auth.BasicUserPrincipal
- getName() - Method in class org.apache.http.auth.NTUserPrincipal
- getName() - Method in class org.apache.http.conn.scheme.Scheme
-
Deprecated.Obtains the scheme name.
- getName() - Method in interface org.apache.http.cookie.Cookie
-
Returns the name.
- getName() - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns the name.
- getOriginal() - Method in class org.apache.http.client.methods.HttpRequestWrapper
- getOriginal() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- getParameter(String) - Method in interface org.apache.http.auth.AuthScheme
-
Returns authentication parameter with the given name, if available.
- getParameter(String) - Method in class org.apache.http.impl.auth.KerberosScheme
-
There are no valid parameters for KERBEROS authentication so this method always returns
null. - getParameter(String) - Method in class org.apache.http.impl.auth.NTLMScheme
- getParameter(String) - Method in class org.apache.http.impl.auth.RFC2617Scheme
-
Returns authentication parameter with the given name, if available.
- getParameter(String) - Method in class org.apache.http.impl.auth.SPNegoScheme
-
There are no valid parameters for SPNEGO authentication so this method always returns
null. - getParameters() - Method in class org.apache.http.client.entity.EntityBuilder
-
Returns entity content as a parameter list if set using
EntityBuilder.setParameters(java.util.List)orEntityBuilder.setParameters(org.apache.http.NameValuePair...)methods. - getParameters() - Method in class org.apache.http.client.methods.RequestBuilder
- getParameters() - Method in class org.apache.http.impl.auth.RFC2617Scheme
-
Returns authentication parameters map.
- getParams() - Method in interface org.apache.http.client.HttpClient
-
Deprecated.(4.3) use
RequestConfig. - getParams() - Method in class org.apache.http.client.methods.HttpRequestWrapper
-
Deprecated.(4.3) use
RequestConfig. - getParams() - Method in class org.apache.http.impl.client.ProxyClient
-
Deprecated.(4.3) do not use.
- getPassword() - Method in interface org.apache.http.auth.Credentials
- getPassword() - Method in class org.apache.http.auth.NTCredentials
- getPassword() - Method in class org.apache.http.auth.UsernamePasswordCredentials
- getPath() - Method in class org.apache.http.client.utils.URIBuilder
- getPath() - Method in interface org.apache.http.cookie.Cookie
-
Returns the path attribute of the cookie.
- getPath() - Method in class org.apache.http.cookie.CookieOrigin
- getPath() - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns the path attribute of the cookie
- getPort() - Method in class org.apache.http.auth.AuthScope
- getPort() - Method in class org.apache.http.client.utils.URIBuilder
- getPort() - Method in class org.apache.http.cookie.CookieOrigin
- getPorts() - Method in interface org.apache.http.cookie.Cookie
-
Get the Port attribute.
- getPorts() - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns null.
- getPorts() - Method in class org.apache.http.impl.cookie.BasicClientCookie2
- getProtocolVersion() - Method in class org.apache.http.client.methods.HttpRequestBase
- getProtocolVersion() - Method in class org.apache.http.client.methods.HttpRequestWrapper
- getProtocolVersion() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- getProxy() - Method in class org.apache.http.client.config.RequestConfig
-
Returns HTTP proxy to be used for request execution.
- getProxyAuthState() - Method in class org.apache.http.client.protocol.HttpClientContext
- getProxyHost() - Method in class org.apache.http.conn.routing.HttpRoute
- getProxyHost() - Method in interface org.apache.http.conn.routing.RouteInfo
-
Obtains the first proxy host.
- getProxyHost() - Method in class org.apache.http.conn.routing.RouteTracker
- getProxyPreferredAuthSchemes() - Method in class org.apache.http.client.config.RequestConfig
-
Determines the order of preference for supported authentication schemes when authenticating with the proxy host.
- getQueryParams() - Method in class org.apache.http.client.utils.URIBuilder
- getRealm() - Method in interface org.apache.http.auth.AuthScheme
-
Returns authentication realm.
- getRealm() - Method in class org.apache.http.auth.AuthScope
- getRealm() - Method in class org.apache.http.impl.auth.KerberosScheme
-
The concept of an authentication realm is not supported by the Negotiate authentication scheme.
- getRealm() - Method in class org.apache.http.impl.auth.NTLMScheme
- getRealm() - Method in class org.apache.http.impl.auth.RFC2617Scheme
-
Returns authentication realm.
- getRealm() - Method in class org.apache.http.impl.auth.SPNegoScheme
-
The concept of an authentication realm is not supported by the Negotiate authentication scheme.
- getRedirect(HttpRequest, HttpResponse, HttpContext) - Method in interface org.apache.http.client.RedirectStrategy
-
Determines the redirect location given the response from the target server and the current request execution context and generates a new request to be sent to the location.
- getRedirect(HttpRequest, HttpResponse, HttpContext) - Method in class org.apache.http.impl.client.DefaultRedirectStrategy
- getRedirectLocations() - Method in class org.apache.http.client.protocol.HttpClientContext
- getRequestAverageDuration() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- getRequestConfig() - Method in class org.apache.http.client.protocol.HttpClientContext
- getRequestConfig(HttpParams) - Static method in class org.apache.http.client.params.HttpClientParamConfig
-
Deprecated.
- getRequestCount() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- getRequestLine() - Method in class org.apache.http.client.methods.HttpRequestBase
- getRequestLine() - Method in class org.apache.http.client.methods.HttpRequestWrapper
- getRequestLine() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- getResponse() - Method in exception org.apache.http.impl.execchain.TunnelRefusedException
- getRetryCount() - Method in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
- getRetryInterval() - Method in interface org.apache.http.client.ServiceUnavailableRetryStrategy
- getRetryInterval() - Method in class org.apache.http.impl.client.DefaultServiceUnavailableRetryStrategy
- getRoute() - Method in interface org.apache.http.conn.HttpRoutedConnection
-
Deprecated.Obtains the current route of this connection.
- getRoute() - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Obtains the current route of this connection.
- getScheduledConnectionCount() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- getScheme() - Method in class org.apache.http.auth.AuthScope
- getScheme() - Method in class org.apache.http.client.utils.URIBuilder
- getScheme(String) - Method in class org.apache.http.conn.scheme.SchemeRegistry
-
Deprecated.Obtains a scheme by name.
- getScheme(HttpHost) - Method in class org.apache.http.conn.scheme.SchemeRegistry
-
Deprecated.Obtains the scheme for a host.
- getSchemeName() - Method in interface org.apache.http.auth.AuthScheme
-
Returns textual designation of the given authentication scheme.
- getSchemeName() - Method in class org.apache.http.impl.auth.BasicScheme
-
Returns textual designation of the basic authentication scheme.
- getSchemeName() - Method in class org.apache.http.impl.auth.DigestScheme
-
Returns textual designation of the digest authentication scheme.
- getSchemeName() - Method in class org.apache.http.impl.auth.KerberosScheme
- getSchemeName() - Method in class org.apache.http.impl.auth.NTLMScheme
- getSchemeName() - Method in class org.apache.http.impl.auth.SPNegoScheme
- getSchemeNames() - Method in class org.apache.http.auth.AuthSchemeRegistry
-
Deprecated.Obtains a list containing the names of all registered
authentication schemes - getSchemeNames() - Method in class org.apache.http.conn.scheme.SchemeRegistry
-
Deprecated.Obtains the names of the registered schemes.
- getSchemeRegistry() - Method in interface org.apache.http.conn.ClientConnectionManager
-
Deprecated.Obtains the scheme registry used by this manager.
- getSchemeSocketFactory() - Method in class org.apache.http.conn.scheme.Scheme
-
Deprecated.Obtains the socket factory.
- getSerializable() - Method in class org.apache.http.client.entity.EntityBuilder
-
Returns entity content as a
Serializableif set usingEntityBuilder.setSerializable(java.io.Serializable)method. - getSocket() - Method in interface org.apache.http.conn.ManagedHttpClientConnection
-
Returns the underlying socket.
- getSocket() - Method in class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
- getSocketConfig() - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- getSocketConfig(HttpHost) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- getSocketFactory() - Method in class org.apache.http.conn.scheme.Scheme
-
Deprecated.(4.1) Use
Scheme.getSchemeSocketFactory() - getSocketFactory() - Static method in class org.apache.http.conn.socket.PlainConnectionSocketFactory
- getSocketFactory() - Static method in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
-
Obtains default SSL socket factory with an SSL context based on the standard JSSE trust material (
cacertsfile in the security properties directory). - getSocketTimeout() - Method in class org.apache.http.client.config.RequestConfig
-
Defines the socket timeout (
SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets). - getSpecNames() - Method in class org.apache.http.cookie.CookieSpecRegistry
-
Deprecated.Obtains a list containing the names of all registered
cookie specs. - getSSLSession() - Method in interface org.apache.http.conn.HttpRoutedConnection
-
Deprecated.Obtains the SSL session of the underlying connection, if any.
- getSSLSession() - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Obtains the SSL session of the underlying connection, if any.
- getSSLSession() - Method in interface org.apache.http.conn.ManagedHttpClientConnection
-
Obtains the SSL session of the underlying connection, if any.
- getSSLSession() - Method in class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
- getState() - Method in class org.apache.http.auth.AuthState
- getState() - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Returns the state object associated with this connection.
- getStats(HttpRoute) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- getStatusCode() - Method in exception org.apache.http.client.HttpResponseException
- getStream() - Method in class org.apache.http.client.entity.EntityBuilder
-
Returns entity content as a
InputStreamif set usingEntityBuilder.setStream(java.io.InputStream)method. - getSuccessfulConnectionAverageDuration() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- getSuccessfulConnectionCount() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- getSystemSocketFactory() - Static method in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
-
Obtains default SSL socket factory with an SSL context based on system properties as described in "JavaTM Secure Socket Extension (JSSE) Reference Guide for the JavaTM 2 Platform Standard Edition 5
- getTargetAuthState() - Method in class org.apache.http.client.protocol.HttpClientContext
- getTargetHost() - Method in class org.apache.http.conn.routing.HttpRoute
- getTargetHost() - Method in interface org.apache.http.conn.routing.RouteInfo
-
Obtains the target host.
- getTargetHost() - Method in class org.apache.http.conn.routing.RouteTracker
- getTargetPreferredAuthSchemes() - Method in class org.apache.http.client.config.RequestConfig
-
Determines the order of preference for supported authentication schemes when authenticating with the target host.
- getTaskAverageDuration() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- getTaskCount() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- getText() - Method in class org.apache.http.client.entity.EntityBuilder
-
Returns entity content as a string if set using
EntityBuilder.setText(String)method. - getTotalStats() - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- getTunnelType() - Method in class org.apache.http.conn.routing.HttpRoute
- getTunnelType() - Method in interface org.apache.http.conn.routing.RouteInfo
-
Obtains the tunnel type of this route.
- getTunnelType() - Method in class org.apache.http.conn.routing.RouteTracker
- getType() - Method in class org.apache.http.conn.ssl.PrivateKeyDetails
- getUri() - Method in class org.apache.http.client.methods.RequestBuilder
- getURI() - Method in class org.apache.http.client.methods.HttpRequestBase
-
Returns the original request URI.
- getURI() - Method in class org.apache.http.client.methods.HttpRequestWrapper
- getURI() - Method in interface org.apache.http.client.methods.HttpUriRequest
-
Returns the URI this request uses, such as
http://example.org/path/to/file. - getURI() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- getUserInfo() - Method in class org.apache.http.client.utils.URIBuilder
- getUsername() - Method in class org.apache.http.auth.NTUserPrincipal
- getUserName() - Method in class org.apache.http.auth.NTCredentials
- getUserName() - Method in class org.apache.http.auth.UsernamePasswordCredentials
- getUserPrincipal() - Method in interface org.apache.http.auth.Credentials
- getUserPrincipal() - Method in class org.apache.http.auth.NTCredentials
- getUserPrincipal() - Method in class org.apache.http.auth.UsernamePasswordCredentials
- getUserToken() - Method in class org.apache.http.client.protocol.HttpClientContext
- getUserToken(Class<T>) - Method in class org.apache.http.client.protocol.HttpClientContext
- getUserToken(HttpContext) - Method in interface org.apache.http.client.UserTokenHandler
-
The token object returned by this method is expected to uniquely identify the current user if the context is user specific or to be
nullif it is not. - getUserToken(HttpContext) - Method in class org.apache.http.impl.client.DefaultUserTokenHandler
- getUserToken(HttpContext) - Method in class org.apache.http.impl.client.NoopUserTokenHandler
- getValue() - Method in interface org.apache.http.cookie.Cookie
-
Returns the value.
- getValue() - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns the value.
- getVersion() - Method in class org.apache.http.client.methods.RequestBuilder
- getVersion() - Method in interface org.apache.http.cookie.Cookie
-
Returns the version of the cookie specification to which this cookie conforms.
- getVersion() - Method in interface org.apache.http.cookie.CookieSpec
-
Returns version of the state management this cookie specification conforms to.
- getVersion() - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns the version of the cookie specification to which this cookie conforms.
- getVersion() - Method in class org.apache.http.impl.cookie.BestMatchSpec
- getVersion() - Method in class org.apache.http.impl.cookie.BrowserCompatSpec
- getVersion() - Method in class org.apache.http.impl.cookie.IgnoreSpec
- getVersion() - Method in class org.apache.http.impl.cookie.NetscapeDraftSpec
- getVersion() - Method in class org.apache.http.impl.cookie.RFC2109Spec
- getVersion() - Method in class org.apache.http.impl.cookie.RFC2965Spec
- getVersionHeader() - Method in interface org.apache.http.cookie.CookieSpec
-
Returns a request header identifying what version of the state management specification is understood.
- getVersionHeader() - Method in class org.apache.http.impl.cookie.BestMatchSpec
- getVersionHeader() - Method in class org.apache.http.impl.cookie.BrowserCompatSpec
- getVersionHeader() - Method in class org.apache.http.impl.cookie.IgnoreSpec
- getVersionHeader() - Method in class org.apache.http.impl.cookie.NetscapeDraftSpec
- getVersionHeader() - Method in class org.apache.http.impl.cookie.RFC2109Spec
- getVersionHeader() - Method in class org.apache.http.impl.cookie.RFC2965Spec
- getWorkstation() - Method in class org.apache.http.auth.NTCredentials
-
Retrieves the workstation name of the computer originating the request.
- GGSSchemeBase - Class in org.apache.http.impl.auth
- GMT - Static variable in class org.apache.http.client.utils.DateUtils
- gzipCompress() - Method in class org.apache.http.client.entity.EntityBuilder
-
Makes entity GZIP compressed.
- GzipCompressingEntity - Class in org.apache.http.client.entity
-
Wrapping entity that compresses content when
writing. - GzipCompressingEntity(HttpEntity) - Constructor for class org.apache.http.client.entity.GzipCompressingEntity
- GzipDecompressingEntity - Class in org.apache.http.client.entity
-
HttpEntityWrapperfor handling gzip Content Coded responses. - GzipDecompressingEntity(HttpEntity) - Constructor for class org.apache.http.client.entity.GzipDecompressingEntity
-
Creates a new
GzipDecompressingEntitywhich will wrap the specifiedHttpEntity.
H
- HANDLE_AUTHENTICATION - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.Defines whether authentication should be handled automatically.
- HANDLE_REDIRECTS - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.Defines whether redirects should be handled automatically
- handleAsIdempotent(HttpRequest) - Method in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
- handleAsIdempotent(HttpRequest) - Method in class org.apache.http.impl.client.StandardHttpRequestRetryHandler
- handleAuthChallenge(HttpHost, HttpResponse, AuthenticationStrategy, AuthState, HttpContext) - Method in class org.apache.http.impl.auth.HttpAuthenticator
- handleResponse(HttpResponse) - Method in interface org.apache.http.client.ResponseHandler
-
Processes an
HttpResponseand returns some value corresponding to that response. - handleResponse(HttpResponse) - Method in class org.apache.http.impl.client.BasicResponseHandler
-
Returns the response body as a String if the response was successful (a 2xx status code).
- HANDSHAKE - org.apache.http.auth.AuthProtocolState
- hasAuthOptions() - Method in class org.apache.http.auth.AuthState
- hashCode() - Method in class org.apache.http.auth.AuthScope
- hashCode() - Method in class org.apache.http.auth.BasicUserPrincipal
- hashCode() - Method in class org.apache.http.auth.NTCredentials
- hashCode() - Method in class org.apache.http.auth.NTUserPrincipal
- hashCode() - Method in class org.apache.http.auth.UsernamePasswordCredentials
- hashCode() - Method in class org.apache.http.conn.routing.HttpRoute
-
Generates a hash code for this route.
- hashCode() - Method in class org.apache.http.conn.routing.RouteTracker
-
Generates a hash code for this tracked route.
- hashCode() - Method in class org.apache.http.conn.scheme.Scheme
-
Deprecated.
- head() - Static method in class org.apache.http.client.methods.RequestBuilder
- HTTP_ROUTE - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
RouteInfoobject that represents the actual connection route. - HttpAuthenticator - Class in org.apache.http.impl.auth
- HttpAuthenticator() - Constructor for class org.apache.http.impl.auth.HttpAuthenticator
- HttpAuthenticator(Log) - Constructor for class org.apache.http.impl.auth.HttpAuthenticator
- HttpClient - Interface in org.apache.http.client
-
This interface represents only the most basic contract for HTTP request execution.
- HttpClientBuilder - Class in org.apache.http.impl.client
-
Builder for
CloseableHttpClientinstances. - HttpClientBuilder() - Constructor for class org.apache.http.impl.client.HttpClientBuilder
- HttpClientConnectionManager - Interface in org.apache.http.conn
-
Represents a manager of persistent client connections.
- HttpClientContext - Class in org.apache.http.client.protocol
-
Adaptor class that provides convenience type safe setters and getters for common
HttpContextattributes used in the course of HTTP request execution. - HttpClientContext() - Constructor for class org.apache.http.client.protocol.HttpClientContext
- HttpClientContext(HttpContext) - Constructor for class org.apache.http.client.protocol.HttpClientContext
- HttpClientParamConfig - Class in org.apache.http.client.params
-
Deprecated.(4.3) provided for compatibility with
HttpParams. Do not use. - HttpClients - Class in org.apache.http.impl.client
-
Factory methods for
CloseableHttpClientinstances. - HttpClientUtils - Class in org.apache.http.client.utils
-
Convenience methods for closing response and client objects.
- HttpConnectionFactory<T,C extends HttpConnection> - Interface in org.apache.http.conn
-
Generic
HttpConnectionfactory. - HttpDelete - Class in org.apache.http.client.methods
-
HTTP DELETE method
- HttpDelete() - Constructor for class org.apache.http.client.methods.HttpDelete
- HttpDelete(String) - Constructor for class org.apache.http.client.methods.HttpDelete
- HttpDelete(URI) - Constructor for class org.apache.http.client.methods.HttpDelete
- HttpEntityEnclosingRequestBase - Class in org.apache.http.client.methods
-
Basic implementation of an entity enclosing HTTP request that can be modified
- HttpEntityEnclosingRequestBase() - Constructor for class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
- HttpExecutionAware - Interface in org.apache.http.client.methods
-
Interface to be implemented by any object that wishes to be notified of blocking I/O operations that could be cancelled.
- HttpGet - Class in org.apache.http.client.methods
-
HTTP GET method.
- HttpGet() - Constructor for class org.apache.http.client.methods.HttpGet
- HttpGet(String) - Constructor for class org.apache.http.client.methods.HttpGet
- HttpGet(URI) - Constructor for class org.apache.http.client.methods.HttpGet
- HttpHead - Class in org.apache.http.client.methods
-
HTTP HEAD method.
- HttpHead() - Constructor for class org.apache.http.client.methods.HttpHead
- HttpHead(String) - Constructor for class org.apache.http.client.methods.HttpHead
- HttpHead(URI) - Constructor for class org.apache.http.client.methods.HttpHead
- HttpHostConnectException - Exception in org.apache.http.conn
-
A
ConnectExceptionthat specifies theHttpHostthat was being connected to. - HttpHostConnectException(IOException, HttpHost, InetAddress...) - Constructor for exception org.apache.http.conn.HttpHostConnectException
-
Creates a HttpHostConnectException based on original
IOException. - HttpHostConnectException(HttpHost, ConnectException) - Constructor for exception org.apache.http.conn.HttpHostConnectException
- HttpInetSocketAddress - Class in org.apache.http.conn
-
Deprecated.(4.3)
- HttpInetSocketAddress(HttpHost, InetAddress, int) - Constructor for class org.apache.http.conn.HttpInetSocketAddress
-
Deprecated.
- HttpOptions - Class in org.apache.http.client.methods
-
HTTP OPTIONS method.
- HttpOptions() - Constructor for class org.apache.http.client.methods.HttpOptions
- HttpOptions(String) - Constructor for class org.apache.http.client.methods.HttpOptions
- HttpOptions(URI) - Constructor for class org.apache.http.client.methods.HttpOptions
- HttpPatch - Class in org.apache.http.client.methods
-
HTTP PATCH method.
- HttpPatch() - Constructor for class org.apache.http.client.methods.HttpPatch
- HttpPatch(String) - Constructor for class org.apache.http.client.methods.HttpPatch
- HttpPatch(URI) - Constructor for class org.apache.http.client.methods.HttpPatch
- HttpPost - Class in org.apache.http.client.methods
-
HTTP POST method.
- HttpPost() - Constructor for class org.apache.http.client.methods.HttpPost
- HttpPost(String) - Constructor for class org.apache.http.client.methods.HttpPost
- HttpPost(URI) - Constructor for class org.apache.http.client.methods.HttpPost
- HttpPut - Class in org.apache.http.client.methods
-
HTTP PUT method.
- HttpPut() - Constructor for class org.apache.http.client.methods.HttpPut
- HttpPut(String) - Constructor for class org.apache.http.client.methods.HttpPut
- HttpPut(URI) - Constructor for class org.apache.http.client.methods.HttpPut
- HttpRequestBase - Class in org.apache.http.client.methods
-
Base implementation of
HttpUriRequest. - HttpRequestBase() - Constructor for class org.apache.http.client.methods.HttpRequestBase
- HttpRequestFutureTask<V> - Class in org.apache.http.impl.client
-
FutureTask implementation that wraps a HttpAsyncClientCallable and exposes various task specific metrics.
- HttpRequestFutureTask(HttpUriRequest, HttpRequestTaskCallable<V>) - Constructor for class org.apache.http.impl.client.HttpRequestFutureTask
- HttpRequestRetryHandler - Interface in org.apache.http.client
-
A handler for determining if an HttpRequest should be retried after a recoverable exception during execution.
- HttpRequestWrapper - Class in org.apache.http.client.methods
-
A wrapper class for
HttpRequestthat can be used to change properties of the current request without modifying the original object. - HttpResponseException - Exception in org.apache.http.client
-
Signals a non 2xx HTTP response.
- HttpResponseException(int, String) - Constructor for exception org.apache.http.client.HttpResponseException
- HttpRoute - Class in org.apache.http.conn.routing
-
The route for a request.
- HttpRoute(HttpHost) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new direct insecure route.
- HttpRoute(HttpHost, InetAddress, boolean) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new direct route.
- HttpRoute(HttpHost, InetAddress, HttpHost[], boolean, RouteInfo.TunnelType, RouteInfo.LayerType) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new route with all attributes specified explicitly.
- HttpRoute(HttpHost, InetAddress, HttpHost, boolean) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new route through a proxy.
- HttpRoute(HttpHost, InetAddress, HttpHost, boolean, RouteInfo.TunnelType, RouteInfo.LayerType) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new route with at most one proxy.
- HttpRoute(HttpHost, HttpHost) - Constructor for class org.apache.http.conn.routing.HttpRoute
-
Creates a new plain route through a proxy.
- HttpRoutedConnection - Interface in org.apache.http.conn
-
Deprecated.(4.3) replaced by
HttpClientConnectionManager. - HttpRouteDirector - Interface in org.apache.http.conn.routing
-
Provides directions on establishing a route.
- HttpRoutePlanner - Interface in org.apache.http.conn.routing
-
Encapsulates logic to compute a
HttpRouteto a target host. - HttpTrace - Class in org.apache.http.client.methods
-
HTTP TRACE method.
- HttpTrace() - Constructor for class org.apache.http.client.methods.HttpTrace
- HttpTrace(String) - Constructor for class org.apache.http.client.methods.HttpTrace
- HttpTrace(URI) - Constructor for class org.apache.http.client.methods.HttpTrace
- HttpUriRequest - Interface in org.apache.http.client.methods
-
Extended version of the
HttpRequestinterface that provides convenience methods to access request properties such as request URI and method type.
I
- Idn - Interface in org.apache.http.client.utils
-
Abstraction of international domain name (IDN) conversion.
- IGNORE_COOKIES - Static variable in class org.apache.http.client.config.CookieSpecs
-
The policy that ignores cookies.
- IgnoreSpec - Class in org.apache.http.impl.cookie
-
CookieSpec that ignores all cookies
- IgnoreSpec() - Constructor for class org.apache.http.impl.cookie.IgnoreSpec
- IgnoreSpecFactory - Class in org.apache.http.impl.cookie
-
CookieSpecProviderimplementation that ignores all cookies. - IgnoreSpecFactory() - Constructor for class org.apache.http.impl.cookie.IgnoreSpecFactory
- incrementExecCount() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- InetAddressUtils - Class in org.apache.http.conn.util
-
A collection of utilities relating to InetAddresses.
- InMemoryDnsResolver - Class in org.apache.http.impl.conn
-
In-memory
DnsResolverimplementation. - InMemoryDnsResolver() - Constructor for class org.apache.http.impl.conn.InMemoryDnsResolver
-
Builds a DNS resolver that will resolve the host names against a collection held in-memory.
- input(byte[]) - Method in class org.apache.http.impl.conn.Wire
- input(byte[], int, int) - Method in class org.apache.http.impl.conn.Wire
- input(int) - Method in class org.apache.http.impl.conn.Wire
- input(InputStream) - Method in class org.apache.http.impl.conn.Wire
- input(String) - Method in class org.apache.http.impl.conn.Wire
-
Deprecated.(4.1) do not use
- INSTANCE - Static variable in class org.apache.http.conn.socket.PlainConnectionSocketFactory
- INSTANCE - Static variable in class org.apache.http.impl.client.DefaultConnectionKeepAliveStrategy
- INSTANCE - Static variable in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
- INSTANCE - Static variable in class org.apache.http.impl.client.DefaultRedirectStrategy
- INSTANCE - Static variable in class org.apache.http.impl.client.DefaultUserTokenHandler
- INSTANCE - Static variable in class org.apache.http.impl.client.NoopUserTokenHandler
- INSTANCE - Static variable in class org.apache.http.impl.client.ProxyAuthenticationStrategy
- INSTANCE - Static variable in class org.apache.http.impl.client.TargetAuthenticationStrategy
- INSTANCE - Static variable in class org.apache.http.impl.conn.DefaultHttpResponseParserFactory
- INSTANCE - Static variable in class org.apache.http.impl.conn.DefaultSchemePortResolver
- INSTANCE - Static variable in class org.apache.http.impl.conn.ManagedHttpClientConnectionFactory
- INSTANCE - Static variable in class org.apache.http.impl.conn.SystemDefaultDnsResolver
- invalidate() - Method in class org.apache.http.auth.AuthState
-
Deprecated.(4.2) use
AuthState.reset() - InvalidCredentialsException - Exception in org.apache.http.auth
-
Authentication credentials required to respond to a authentication challenge are invalid
- InvalidCredentialsException() - Constructor for exception org.apache.http.auth.InvalidCredentialsException
-
Creates a new InvalidCredentialsException with a null detail message.
- InvalidCredentialsException(String) - Constructor for exception org.apache.http.auth.InvalidCredentialsException
-
Creates a new InvalidCredentialsException with the specified message.
- InvalidCredentialsException(String, Throwable) - Constructor for exception org.apache.http.auth.InvalidCredentialsException
-
Creates a new InvalidCredentialsException with the specified detail message and cause.
- isAborted() - Method in class org.apache.http.client.methods.AbstractExecutionAwareRequest
- isAborted() - Method in interface org.apache.http.client.methods.HttpExecutionAware
- isAborted() - Method in class org.apache.http.client.methods.HttpRequestWrapper
- isAborted() - Method in interface org.apache.http.client.methods.HttpUriRequest
-
Tests if the request execution has been aborted.
- isAborted() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- isAbsolute() - Method in class org.apache.http.client.utils.URIBuilder
- isAuthenticationEnabled() - Method in class org.apache.http.client.config.RequestConfig
-
Determines whether authentication should be handled automatically.
- isAuthenticationRequested(HttpHost, HttpResponse, AuthenticationStrategy, AuthState, HttpContext) - Method in class org.apache.http.impl.auth.HttpAuthenticator
- isAuthenticationRequested(HttpHost, HttpResponse, HttpContext) - Method in interface org.apache.http.client.AuthenticationStrategy
-
Determines if the given HTTP response response represents an authentication challenge that was sent back as a result of authentication failure.
- isChunked() - Method in class org.apache.http.client.entity.EntityBuilder
-
Returns
trueif entity is to be chunk coded,falseotherwise. - isChunked() - Method in class org.apache.http.client.entity.GzipCompressingEntity
- isCircularRedirectsAllowed() - Method in class org.apache.http.client.config.RequestConfig
-
Determines whether circular redirects (redirects to the same location) should be allowed.
- isComplete() - Method in interface org.apache.http.auth.AuthScheme
-
Authentication process may involve a series of challenge-response exchanges.
- isComplete() - Method in class org.apache.http.impl.auth.BasicScheme
-
Tests if the Basic authentication process has been completed.
- isComplete() - Method in class org.apache.http.impl.auth.DigestScheme
-
Tests if the Digest authentication process has been completed.
- isComplete() - Method in class org.apache.http.impl.auth.GGSSchemeBase
- isComplete() - Method in class org.apache.http.impl.auth.NTLMScheme
- isConnected() - Method in class org.apache.http.conn.routing.RouteTracker
- isConnectionBased() - Method in interface org.apache.http.auth.AuthScheme
-
Tests if the authentication scheme is provides authorization on a per connection basis instead of usual per request basis
- isConnectionBased() - Method in class org.apache.http.impl.auth.BasicScheme
-
Returns false.
- isConnectionBased() - Method in class org.apache.http.impl.auth.DigestScheme
-
Returns false.
- isConnectionBased() - Method in class org.apache.http.impl.auth.KerberosScheme
-
Returns true.
- isConnectionBased() - Method in class org.apache.http.impl.auth.NTLMScheme
- isConnectionBased() - Method in class org.apache.http.impl.auth.SPNegoScheme
-
Returns true.
- isEncoded(HttpEntity) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Returns true if the entity's Content-Type header is
application/x-www-form-urlencoded. - isExpectContinueEnabled() - Method in class org.apache.http.client.config.RequestConfig
-
Determines whether the 'Expect: 100-Continue' handshake is enabled for entity enclosing methods.
- isExpired(Date) - Method in interface org.apache.http.cookie.Cookie
-
Returns true if this cookie has expired.
- isExpired(Date) - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns true if this cookie has expired.
- isExpired(Date) - Method in class org.apache.http.impl.cookie.BasicClientCookie2
- isGzipCompress() - Method in class org.apache.http.client.entity.EntityBuilder
-
Returns
trueif entity is to be GZIP compressed,falseotherwise. - isIPv4Address(String) - Static method in class org.apache.http.conn.util.InetAddressUtils
-
Checks whether the parameter is a valid IPv4 address
- isIPv4MappedIPv64Address(String) - Static method in class org.apache.http.conn.util.InetAddressUtils
- isIPv6Address(String) - Static method in class org.apache.http.conn.util.InetAddressUtils
-
Checks whether the parameter is a valid IPv6 address (including compressed).
- isIPv6HexCompressedAddress(String) - Static method in class org.apache.http.conn.util.InetAddressUtils
-
Checks whether the parameter is a valid compressed IPv6 address
- isIPv6StdAddress(String) - Static method in class org.apache.http.conn.util.InetAddressUtils
-
Checks whether the parameter is a valid standard (non-compressed) IPv6 address
- isLayered() - Method in class org.apache.http.conn.routing.HttpRoute
- isLayered() - Method in interface org.apache.http.conn.routing.RouteInfo
-
Checks whether this route includes a layered protocol.
- isLayered() - Method in class org.apache.http.conn.routing.RouteTracker
- isLayered() - Method in class org.apache.http.conn.scheme.Scheme
-
Deprecated.Indicates whether this scheme allows for layered connections.
- isMarkedReusable() - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Indicates whether this connection is in a reusable communication state.
- isOpaque() - Method in class org.apache.http.client.utils.URIBuilder
- isPersistent() - Method in interface org.apache.http.cookie.Cookie
-
Returns false if the cookie should be discarded at the end of the "session"; true otherwise.
- isPersistent() - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Returns false if the cookie should be discarded at the end of the "session"; true otherwise.
- isPersistent() - Method in class org.apache.http.impl.cookie.BasicClientCookie2
- isProxy() - Method in class org.apache.http.impl.auth.AuthSchemeBase
-
Returns
trueif authenticating against a proxy,falseotherwise. - isReadAllowed() - Method in class org.apache.http.conn.EofSensorInputStream
-
Checks whether the underlying stream can be read from.
- isRedirectable(String) - Method in class org.apache.http.impl.client.DefaultRedirectStrategy
- isRedirectable(String) - Method in class org.apache.http.impl.client.LaxRedirectStrategy
- isRedirected(HttpRequest, HttpResponse, HttpContext) - Method in interface org.apache.http.client.RedirectStrategy
-
Determines if a request should be redirected to a new location given the response from the target server.
- isRedirected(HttpRequest, HttpResponse, HttpContext) - Method in class org.apache.http.impl.client.DefaultRedirectStrategy
- isRedirectsEnabled() - Method in class org.apache.http.client.config.RequestConfig
-
Determines whether redirects should be handled automatically.
- isRelativeRedirectsAllowed() - Method in class org.apache.http.client.config.RequestConfig
-
Determines whether relative redirects should be rejected.
- isRepeatable() - Method in class org.apache.http.impl.client.EntityEnclosingRequestWrapper
-
Deprecated.
- isRepeatable() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- isRequestSentRetryEnabled() - Method in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
- isSecure() - Method in interface org.apache.http.conn.HttpRoutedConnection
-
Deprecated.Indicates whether this connection is secure.
- isSecure() - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Indicates whether this connection is secure.
- isSecure() - Method in class org.apache.http.conn.routing.HttpRoute
- isSecure() - Method in interface org.apache.http.conn.routing.RouteInfo
-
Checks whether this route is secure.
- isSecure() - Method in class org.apache.http.conn.routing.RouteTracker
- isSecure() - Method in interface org.apache.http.cookie.Cookie
-
Indicates whether this cookie requires a secure connection.
- isSecure() - Method in class org.apache.http.cookie.CookieOrigin
- isSecure() - Method in class org.apache.http.impl.cookie.BasicClientCookie
- isSecure(Socket) - Method in interface org.apache.http.conn.scheme.SchemeSocketFactory
-
Deprecated.Checks whether a socket provides a secure connection.
- isSecure(Socket) - Method in interface org.apache.http.conn.scheme.SocketFactory
-
Deprecated.Checks whether a socket provides a secure connection.
- isStaleConnectionCheckEnabled() - Method in class org.apache.http.client.config.RequestConfig
-
Determines whether stale connection check is to be used.
- isStripPort() - Method in class org.apache.http.impl.auth.KerberosSchemeFactory
- isStripPort() - Method in class org.apache.http.impl.auth.SPNegoSchemeFactory
- isTrusted(X509Certificate[], String) - Method in class org.apache.http.conn.ssl.TrustSelfSignedStrategy
- isTrusted(X509Certificate[], String) - Method in interface org.apache.http.conn.ssl.TrustStrategy
-
Determines whether the certificate chain can be trusted without consulting the trust manager configured in the actual SSL context.
- isTunnelled() - Method in class org.apache.http.conn.routing.HttpRoute
- isTunnelled() - Method in interface org.apache.http.conn.routing.RouteInfo
-
Checks whether this route is tunnelled through a proxy.
- isTunnelled() - Method in class org.apache.http.conn.routing.RouteTracker
- isValid() - Method in class org.apache.http.auth.AuthState
-
Deprecated.(4.2) do not use
J
- JdkIdn - Class in org.apache.http.client.utils
-
Uses the java.net.IDN class through reflection.
- JdkIdn() - Constructor for class org.apache.http.client.utils.JdkIdn
K
- KERBEROS - Static variable in class org.apache.http.client.config.AuthSchemes
-
Kerberos Authentication scheme.
- KerberosScheme - Class in org.apache.http.impl.auth
-
KERBEROS authentication scheme.
- KerberosScheme() - Constructor for class org.apache.http.impl.auth.KerberosScheme
- KerberosScheme(boolean) - Constructor for class org.apache.http.impl.auth.KerberosScheme
- KerberosSchemeFactory - Class in org.apache.http.impl.auth
-
AuthSchemeProviderimplementation that creates and initializesKerberosSchemeinstances. - KerberosSchemeFactory() - Constructor for class org.apache.http.impl.auth.KerberosSchemeFactory
- KerberosSchemeFactory(boolean) - Constructor for class org.apache.http.impl.auth.KerberosSchemeFactory
L
- LaxRedirectStrategy - Class in org.apache.http.impl.client
-
Lax
RedirectStrategyimplementation that automatically redirects all HEAD, GET and POST requests. - LaxRedirectStrategy() - Constructor for class org.apache.http.impl.client.LaxRedirectStrategy
- LAYER_PROTOCOL - Static variable in interface org.apache.http.conn.routing.HttpRouteDirector
-
Step: layer protocol (over tunnel).
- LAYERED - org.apache.http.conn.routing.RouteInfo.LayerType
- LayeredConnectionSocketFactory - Interface in org.apache.http.conn.socket
-
Extended
ConnectionSocketFactoryinterface for layered sockets such as SSL/TLS. - LayeredSchemeSocketFactory - Interface in org.apache.http.conn.scheme
-
Deprecated.(4.2) use
SchemeLayeredSocketFactory - LayeredSocketFactory - Interface in org.apache.http.conn.scheme
-
Deprecated.(4.1) use
SchemeSocketFactory - layerProtocol(boolean) - Method in class org.apache.http.conn.routing.RouteTracker
-
Tracks layering a protocol.
- layerProtocol(HttpContext, HttpParams) - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Layers a new protocol on top of a
tunnelledconnection. - leaseConnection(Future<CPoolEntry>, long, TimeUnit) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- loadKeyMaterial(KeyStore, char[]) - Method in class org.apache.http.conn.ssl.SSLContextBuilder
- loadKeyMaterial(KeyStore, char[], PrivateKeyStrategy) - Method in class org.apache.http.conn.ssl.SSLContextBuilder
- loadTrustMaterial(KeyStore) - Method in class org.apache.http.conn.ssl.SSLContextBuilder
- loadTrustMaterial(KeyStore, TrustStrategy) - Method in class org.apache.http.conn.ssl.SSLContextBuilder
- LOCAL_ADDRESS - Static variable in interface org.apache.http.conn.params.ConnRoutePNames
-
Deprecated.Parameter for the local address.
- lookup(String) - Method in class org.apache.http.auth.AuthSchemeRegistry
-
Deprecated.
- lookup(String) - Method in class org.apache.http.cookie.CookieSpecRegistry
-
Deprecated.
M
- MainClientExec - Class in org.apache.http.impl.execchain
-
The last request executor in the HTTP request execution chain that is responsible for execution of request / response exchanges with the opposite endpoint.
- MainClientExec(HttpRequestExecutor, HttpClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, AuthenticationStrategy, AuthenticationStrategy, UserTokenHandler) - Constructor for class org.apache.http.impl.execchain.MainClientExec
- MalformedChallengeException - Exception in org.apache.http.auth
-
Signals that authentication challenge is in some way invalid or illegal in the given context
- MalformedChallengeException() - Constructor for exception org.apache.http.auth.MalformedChallengeException
-
Creates a new MalformedChallengeException with a null detail message.
- MalformedChallengeException(String) - Constructor for exception org.apache.http.auth.MalformedChallengeException
-
Creates a new MalformedChallengeException with the specified message.
- MalformedChallengeException(String, Throwable) - Constructor for exception org.apache.http.auth.MalformedChallengeException
-
Creates a new MalformedChallengeException with the specified detail message and cause.
- MalformedCookieException - Exception in org.apache.http.cookie
-
Signals that a cookie is in some way invalid or illegal in a given context
- MalformedCookieException() - Constructor for exception org.apache.http.cookie.MalformedCookieException
-
Creates a new MalformedCookieException with a null detail message.
- MalformedCookieException(String) - Constructor for exception org.apache.http.cookie.MalformedCookieException
-
Creates a new MalformedCookieException with a specified message string.
- MalformedCookieException(String, Throwable) - Constructor for exception org.apache.http.cookie.MalformedCookieException
-
Creates a new MalformedCookieException with the specified detail message and cause.
- ManagedClientConnection - Interface in org.apache.http.conn
-
Deprecated.(4.3) replaced by
HttpClientConnectionManager. - ManagedHttpClientConnection - Interface in org.apache.http.conn
-
Represents a managed connection whose state and life cycle is managed by a connection manager.
- ManagedHttpClientConnectionFactory - Class in org.apache.http.impl.conn
-
Factory for
ManagedHttpClientConnectioninstances. - ManagedHttpClientConnectionFactory() - Constructor for class org.apache.http.impl.conn.ManagedHttpClientConnectionFactory
- ManagedHttpClientConnectionFactory(HttpMessageParserFactory<HttpResponse>) - Constructor for class org.apache.http.impl.conn.ManagedHttpClientConnectionFactory
- ManagedHttpClientConnectionFactory(HttpMessageWriterFactory<HttpRequest>, HttpMessageParserFactory<HttpResponse>) - Constructor for class org.apache.http.impl.conn.ManagedHttpClientConnectionFactory
- mark(int) - Method in class org.apache.http.client.entity.DeflateInputStream
-
Mark.
- markReusable() - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Marks this connection as being in a reusable communication state.
- markSupported() - Method in class org.apache.http.client.entity.DeflateInputStream
-
Check if mark is supported.
- match(AuthScope) - Method in class org.apache.http.auth.AuthScope
-
Tests if the authentication scopes match.
- match(Cookie, CookieOrigin) - Method in interface org.apache.http.cookie.CookieAttributeHandler
-
Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.
- match(Cookie, CookieOrigin) - Method in interface org.apache.http.cookie.CookieSpec
-
Determines if a Cookie matches the target location.
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.AbstractCookieAttributeHandler
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.BasicDomainHandler
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.BasicPathHandler
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.BasicSecureHandler
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.BestMatchSpec
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.CookieSpecBase
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.NetscapeDomainHandler
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.PublicSuffixFilter
-
Never matches if the cookie's domain is from the blacklist.
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2109DomainHandler
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965CommentUrlAttributeHandler
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965DiscardAttributeHandler
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965DomainAttributeHandler
-
Match cookie domain attribute.
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965PortAttributeHandler
-
Match cookie port attribute.
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965Spec
- match(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965VersionAttributeHandler
- MAX_AGE_ATTR - Static variable in interface org.apache.http.cookie.ClientCookie
- MAX_CONNECTIONS_PER_ROUTE - Static variable in interface org.apache.http.conn.params.ConnManagerPNames
-
Deprecated.Defines the maximum number of connections per route.
- MAX_REDIRECTS - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.Defines the maximum number of redirects to be followed.
- MAX_STATUS_LINE_GARBAGE - Static variable in interface org.apache.http.conn.params.ConnConnectionPNames
-
Deprecated.(4.1) Use custom
DefaultHttpResponseParserimplementation - MAX_TOTAL_CONNECTIONS - Static variable in interface org.apache.http.conn.params.ConnManagerPNames
-
Deprecated.Defines the maximum number of connections in total.
- METHOD_NAME - Static variable in class org.apache.http.client.methods.HttpDelete
- METHOD_NAME - Static variable in class org.apache.http.client.methods.HttpGet
- METHOD_NAME - Static variable in class org.apache.http.client.methods.HttpHead
- METHOD_NAME - Static variable in class org.apache.http.client.methods.HttpOptions
- METHOD_NAME - Static variable in class org.apache.http.client.methods.HttpPatch
- METHOD_NAME - Static variable in class org.apache.http.client.methods.HttpPost
- METHOD_NAME - Static variable in class org.apache.http.client.methods.HttpPut
- METHOD_NAME - Static variable in class org.apache.http.client.methods.HttpTrace
- metrics() - Method in class org.apache.http.impl.client.FutureRequestExecutionService
- MinimalClientExec - Class in org.apache.http.impl.execchain
-
Request executor that implements the most fundamental aspects of the HTTP specification and the most straight-forward request / response exchange with the target server.
- MinimalClientExec(HttpRequestExecutor, HttpClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy) - Constructor for class org.apache.http.impl.execchain.MinimalClientExec
N
- NETSCAPE - Static variable in class org.apache.http.client.config.CookieSpecs
-
The Netscape cookie draft compliant policy.
- NetscapeDomainHandler - Class in org.apache.http.impl.cookie
- NetscapeDomainHandler() - Constructor for class org.apache.http.impl.cookie.NetscapeDomainHandler
- NetscapeDraftHeaderParser - Class in org.apache.http.impl.cookie
- NetscapeDraftHeaderParser() - Constructor for class org.apache.http.impl.cookie.NetscapeDraftHeaderParser
- NetscapeDraftSpec - Class in org.apache.http.impl.cookie
-
This
CookieSpecimplementation conforms to the original draft specification published by Netscape Communications. - NetscapeDraftSpec() - Constructor for class org.apache.http.impl.cookie.NetscapeDraftSpec
-
Default constructor
- NetscapeDraftSpec(String[]) - Constructor for class org.apache.http.impl.cookie.NetscapeDraftSpec
-
Default constructor
- NetscapeDraftSpecFactory - Class in org.apache.http.impl.cookie
-
CookieSpecProviderimplementation that creates and initializesNetscapeDraftSpecinstances. - NetscapeDraftSpecFactory() - Constructor for class org.apache.http.impl.cookie.NetscapeDraftSpecFactory
- NetscapeDraftSpecFactory(String[]) - Constructor for class org.apache.http.impl.cookie.NetscapeDraftSpecFactory
- newInstance(HttpParams) - Method in interface org.apache.http.auth.AuthSchemeFactory
-
Deprecated.Creates an instance of
AuthSchemeusing given HTTP parameters. - newInstance(HttpParams) - Method in interface org.apache.http.cookie.CookieSpecFactory
-
Deprecated.Creates an instance of
CookieSpecusing given HTTP parameters. - newInstance(HttpParams) - Method in class org.apache.http.impl.auth.BasicSchemeFactory
- newInstance(HttpParams) - Method in class org.apache.http.impl.auth.DigestSchemeFactory
- newInstance(HttpParams) - Method in class org.apache.http.impl.auth.KerberosSchemeFactory
- newInstance(HttpParams) - Method in class org.apache.http.impl.auth.NTLMSchemeFactory
- newInstance(HttpParams) - Method in class org.apache.http.impl.auth.SPNegoSchemeFactory
- newInstance(HttpParams) - Method in class org.apache.http.impl.cookie.BestMatchSpecFactory
- newInstance(HttpParams) - Method in class org.apache.http.impl.cookie.BrowserCompatSpecFactory
- newInstance(HttpParams) - Method in class org.apache.http.impl.cookie.IgnoreSpecFactory
- newInstance(HttpParams) - Method in class org.apache.http.impl.cookie.NetscapeDraftSpecFactory
- newInstance(HttpParams) - Method in class org.apache.http.impl.cookie.RFC2109SpecFactory
- newInstance(HttpParams) - Method in class org.apache.http.impl.cookie.RFC2965SpecFactory
- nextStep(RouteInfo, RouteInfo) - Method in class org.apache.http.conn.routing.BasicRouteDirector
-
Provides the next step.
- nextStep(RouteInfo, RouteInfo) - Method in interface org.apache.http.conn.routing.HttpRouteDirector
-
Provides the next step.
- NonRepeatableRequestException - Exception in org.apache.http.client
-
Signals failure to retry the request due to non-repeatable request entity.
- NonRepeatableRequestException() - Constructor for exception org.apache.http.client.NonRepeatableRequestException
-
Creates a new NonRepeatableEntityException with a null detail message.
- NonRepeatableRequestException(String) - Constructor for exception org.apache.http.client.NonRepeatableRequestException
-
Creates a new NonRepeatableEntityException with the specified detail message.
- NonRepeatableRequestException(String, Throwable) - Constructor for exception org.apache.http.client.NonRepeatableRequestException
-
Creates a new NonRepeatableEntityException with the specified detail message.
- NoopUserTokenHandler - Class in org.apache.http.impl.client
-
Noop implementation of
UserTokenHandlerthat always returnsnull. - NoopUserTokenHandler() - Constructor for class org.apache.http.impl.client.NoopUserTokenHandler
- NTCredentials - Class in org.apache.http.auth
-
Credentialsimplementation for Microsoft Windows platforms that includes Windows specific attributes such as name of the domain the user belongs to. - NTCredentials(String) - Constructor for class org.apache.http.auth.NTCredentials
-
The constructor with the fully qualified username and password combined string argument.
- NTCredentials(String, String, String, String) - Constructor for class org.apache.http.auth.NTCredentials
-
Constructor.
- NTLM - Static variable in class org.apache.http.client.config.AuthSchemes
-
The NTLM scheme is a proprietary Microsoft Windows Authentication protocol (considered to be the most secure among currently supported authentication schemes).
- NTLMEngine - Interface in org.apache.http.impl.auth
-
Abstract NTLM authentication engine.
- NTLMEngineException - Exception in org.apache.http.impl.auth
-
Signals NTLM protocol failure.
- NTLMEngineException() - Constructor for exception org.apache.http.impl.auth.NTLMEngineException
- NTLMEngineException(String) - Constructor for exception org.apache.http.impl.auth.NTLMEngineException
-
Creates a new NTLMEngineException with the specified message.
- NTLMEngineException(String, Throwable) - Constructor for exception org.apache.http.impl.auth.NTLMEngineException
-
Creates a new NTLMEngineException with the specified detail message and cause.
- NTLMScheme - Class in org.apache.http.impl.auth
-
NTLM is a proprietary authentication scheme developed by Microsoft and optimized for Windows platforms.
- NTLMScheme() - Constructor for class org.apache.http.impl.auth.NTLMScheme
- NTLMScheme(NTLMEngine) - Constructor for class org.apache.http.impl.auth.NTLMScheme
- NTLMSchemeFactory - Class in org.apache.http.impl.auth
-
AuthSchemeProviderimplementation that creates and initializesNTLMSchemeinstances configured to use the defaultNTLMEngineimplementation. - NTLMSchemeFactory() - Constructor for class org.apache.http.impl.auth.NTLMSchemeFactory
- NTUserPrincipal - Class in org.apache.http.auth
-
Microsoft Windows specific user principal implementation.
- NTUserPrincipal(String, String) - Constructor for class org.apache.http.auth.NTUserPrincipal
- NullBackoffStrategy - Class in org.apache.http.impl.client
-
This is a
ConnectionBackoffStrategythat never backs off, for compatibility with existing behavior. - NullBackoffStrategy() - Constructor for class org.apache.http.impl.client.NullBackoffStrategy
O
- open(HttpRoute, HttpContext, HttpParams) - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Opens this connection according to the given route.
- options() - Static method in class org.apache.http.client.methods.RequestBuilder
- org.apache.http.auth - package org.apache.http.auth
-
Client HTTP authentication APIs.
- org.apache.http.auth.params - package org.apache.http.auth.params
-
Deprecated.
- org.apache.http.client - package org.apache.http.client
-
Client HTTP communication APIs.
- org.apache.http.client.config - package org.apache.http.client.config
-
Client configuration APIs.
- org.apache.http.client.entity - package org.apache.http.client.entity
-
Client specific HTTP entity implementations.
- org.apache.http.client.methods - package org.apache.http.client.methods
-
Standard HTTP method implementations.
- org.apache.http.client.params - package org.apache.http.client.params
-
Deprecated.
- org.apache.http.client.protocol - package org.apache.http.client.protocol
-
Client specific HTTP protocol handlers.
- org.apache.http.client.utils - package org.apache.http.client.utils
-
Client utility classes.
- org.apache.http.conn - package org.apache.http.conn
-
Client connection management APIs.
- org.apache.http.conn.params - package org.apache.http.conn.params
-
Deprecated.
- org.apache.http.conn.routing - package org.apache.http.conn.routing
-
Client connection routing APIs.
- org.apache.http.conn.scheme - package org.apache.http.conn.scheme
-
Deprecated.
- org.apache.http.conn.socket - package org.apache.http.conn.socket
-
Client connection socket APIs.
- org.apache.http.conn.ssl - package org.apache.http.conn.ssl
-
Client TLS/SSL support.
- org.apache.http.conn.util - package org.apache.http.conn.util
-
Connection utility classes.
- org.apache.http.cookie - package org.apache.http.cookie
-
Client HTTP state management APIs.
- org.apache.http.cookie.params - package org.apache.http.cookie.params
-
Deprecated.
- org.apache.http.impl.auth - package org.apache.http.impl.auth
-
Default implementations of standard and common HTTP authentication schemes.
- org.apache.http.impl.client - package org.apache.http.impl.client
-
Default HTTP client implementation.
- org.apache.http.impl.conn - package org.apache.http.impl.conn
-
Default implementations of client connection management functions.
- org.apache.http.impl.cookie - package org.apache.http.impl.cookie
-
Default implementations of standard and common HTTP state management policies.
- org.apache.http.impl.execchain - package org.apache.http.impl.execchain
-
HTTP request execution chain APIs.
- output(byte[]) - Method in class org.apache.http.impl.conn.Wire
- output(byte[], int, int) - Method in class org.apache.http.impl.conn.Wire
- output(int) - Method in class org.apache.http.impl.conn.Wire
- output(InputStream) - Method in class org.apache.http.impl.conn.Wire
- output(String) - Method in class org.apache.http.impl.conn.Wire
-
Deprecated.(4.1) do not use
- overrideParamter(String, String) - Method in class org.apache.http.impl.auth.DigestScheme
P
- parse(Reader) - Method in class org.apache.http.impl.cookie.PublicSuffixListParser
-
Parses the public suffix list format.
- parse(String, Charset) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Returns a list of
NameValuePairsas parsed from the given string using the given character encoding. - parse(String, Charset, char...) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Returns a list of
NameValuePairsas parsed from the given string using the given character encoding. - parse(URI, String) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Returns a list of
NameValuePairsas built from the URI's query portion. - parse(List<NameValuePair>, Scanner, String) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Adds all parameters within the Scanner to the list of
parameters, as encoded byencoding. - parse(List<NameValuePair>, Scanner, String, String) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Adds all parameters within the Scanner to the list of
parameters, as encoded byencoding. - parse(SetCookie, String) - Method in interface org.apache.http.cookie.CookieAttributeHandler
-
Parse the given cookie attribute value and update the corresponding
Cookieproperty. - parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.BasicCommentHandler
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.BasicDomainHandler
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.BasicExpiresHandler
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.BasicMaxAgeHandler
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.BasicPathHandler
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.BasicSecureHandler
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.BrowserCompatVersionAttributeHandler
-
Parse cookie version attribute.
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.PublicSuffixFilter
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.RFC2109DomainHandler
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.RFC2109VersionHandler
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.RFC2965CommentUrlAttributeHandler
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.RFC2965DiscardAttributeHandler
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.RFC2965DomainAttributeHandler
-
Parse cookie domain attribute.
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.RFC2965PortAttributeHandler
-
Parse cookie port attribute.
- parse(SetCookie, String) - Method in class org.apache.http.impl.cookie.RFC2965VersionAttributeHandler
-
Parse cookie version attribute.
- parse(HeaderElement[], CookieOrigin) - Method in class org.apache.http.impl.cookie.CookieSpecBase
- parse(HeaderElement[], CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965Spec
- parse(Header, CookieOrigin) - Method in interface org.apache.http.cookie.CookieSpec
-
Parse the "Set-Cookie" Header into an array of Cookies.
- parse(Header, CookieOrigin) - Method in class org.apache.http.impl.cookie.BestMatchSpec
- parse(Header, CookieOrigin) - Method in class org.apache.http.impl.cookie.BrowserCompatSpec
- parse(Header, CookieOrigin) - Method in class org.apache.http.impl.cookie.IgnoreSpec
- parse(Header, CookieOrigin) - Method in class org.apache.http.impl.cookie.NetscapeDraftSpec
-
Parses the Set-Cookie value into an array of Cookies.
- parse(Header, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2109Spec
- parse(Header, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965Spec
- parse(HttpEntity) - Static method in class org.apache.http.client.utils.URLEncodedUtils
-
Returns a list of
NameValuePairsas parsed from anHttpEntity. - parseChallenge(CharArrayBuffer, int, int) - Method in class org.apache.http.impl.auth.AuthSchemeBase
- parseChallenge(CharArrayBuffer, int, int) - Method in class org.apache.http.impl.auth.GGSSchemeBase
- parseChallenge(CharArrayBuffer, int, int) - Method in class org.apache.http.impl.auth.NTLMScheme
- parseChallenge(CharArrayBuffer, int, int) - Method in class org.apache.http.impl.auth.RFC2617Scheme
- parseDate(String) - Static method in class org.apache.http.client.utils.DateUtils
-
Parses a date value.
- parseDate(String, String[]) - Static method in class org.apache.http.client.utils.DateUtils
-
Parses the date value using the given date formats.
- parseDate(String, String[], Date) - Static method in class org.apache.http.client.utils.DateUtils
-
Parses the date value using the given date formats.
- parseHead(SessionInputBuffer) - Method in class org.apache.http.impl.conn.DefaultHttpResponseParser
- parseHeader(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.impl.cookie.NetscapeDraftHeaderParser
- PATH_ATTR - Static variable in interface org.apache.http.cookie.ClientCookie
- PATTERN_ASCTIME - Static variable in class org.apache.http.client.utils.DateUtils
-
Date format pattern used to parse HTTP date headers in ANSI C
asctime()format. - PATTERN_RFC1036 - Static variable in class org.apache.http.client.utils.DateUtils
-
Date format pattern used to parse HTTP date headers in RFC 1036 format.
- PATTERN_RFC1123 - Static variable in class org.apache.http.client.utils.DateUtils
-
Date format pattern used to parse HTTP date headers in RFC 1123 format.
- PLAIN - org.apache.http.conn.routing.RouteInfo.LayerType
- PLAIN - org.apache.http.conn.routing.RouteInfo.TunnelType
- PlainConnectionSocketFactory - Class in org.apache.http.conn.socket
-
The default class for creating plain (unencrypted) sockets.
- PlainConnectionSocketFactory() - Constructor for class org.apache.http.conn.socket.PlainConnectionSocketFactory
- PoolingHttpClientConnectionManager - Class in org.apache.http.impl.conn
-
ClientConnectionPoolManager maintains a pool of
HttpClientConnections and is able to service connection requests from multiple execution threads. - PoolingHttpClientConnectionManager() - Constructor for class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- PoolingHttpClientConnectionManager(long, TimeUnit) - Constructor for class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- PoolingHttpClientConnectionManager(Registry<ConnectionSocketFactory>) - Constructor for class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- PoolingHttpClientConnectionManager(Registry<ConnectionSocketFactory>, DnsResolver) - Constructor for class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- PoolingHttpClientConnectionManager(Registry<ConnectionSocketFactory>, HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection>) - Constructor for class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- PoolingHttpClientConnectionManager(Registry<ConnectionSocketFactory>, HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection>, DnsResolver) - Constructor for class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- PoolingHttpClientConnectionManager(Registry<ConnectionSocketFactory>, HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection>, SchemePortResolver, DnsResolver, long, TimeUnit) - Constructor for class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- PoolingHttpClientConnectionManager(HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection>) - Constructor for class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- PORT_ATTR - Static variable in interface org.apache.http.cookie.ClientCookie
- post() - Static method in class org.apache.http.client.methods.RequestBuilder
- prepareSocket(SSLSocket) - Method in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
-
Performs any custom initialization for a newly created SSLSocket (before the SSL handshake happens).
- PrivateKeyDetails - Class in org.apache.http.conn.ssl
-
Private key details.
- PrivateKeyDetails(String, X509Certificate[]) - Constructor for class org.apache.http.conn.ssl.PrivateKeyDetails
- PrivateKeyStrategy - Interface in org.apache.http.conn.ssl
-
A strategy allowing for a choice of an alias during SSL authentication.
- probe(HttpRoute) - Method in interface org.apache.http.client.BackoffManager
-
Called when we have determined that the result of using a connection has succeeded and that we may probe for more connections.
- probe(HttpRoute) - Method in class org.apache.http.impl.client.AIMDBackoffManager
- process(HttpRequest, HttpContext) - Method in class org.apache.http.client.protocol.RequestAcceptEncoding
-
Adds the header
"Accept-Encoding: gzip,deflate"to the request. - process(HttpRequest, HttpContext) - Method in class org.apache.http.client.protocol.RequestAddCookies
- process(HttpRequest, HttpContext) - Method in class org.apache.http.client.protocol.RequestAuthCache
- process(HttpRequest, HttpContext) - Method in class org.apache.http.client.protocol.RequestClientConnControl
- process(HttpRequest, HttpContext) - Method in class org.apache.http.client.protocol.RequestDefaultHeaders
- process(HttpRequest, HttpContext) - Method in class org.apache.http.client.protocol.RequestExpectContinue
- process(HttpResponse, HttpContext) - Method in class org.apache.http.client.protocol.ResponseContentEncoding
-
Handles the following
Content-Encodings by using the appropriate decompressor to wrap the response Entity: gzip - seeGzipDecompressingEntitydeflate - seeDeflateDecompressingEntityidentity - no action needed - process(HttpResponse, HttpContext) - Method in class org.apache.http.client.protocol.ResponseProcessCookies
- processChallenge(Header) - Method in interface org.apache.http.auth.AuthScheme
-
Processes the given challenge token.
- processChallenge(Header) - Method in class org.apache.http.impl.auth.AuthSchemeBase
-
Processes the given challenge token.
- processChallenge(Header) - Method in class org.apache.http.impl.auth.BasicScheme
-
Processes the Basic challenge.
- processChallenge(Header) - Method in class org.apache.http.impl.auth.DigestScheme
-
Processes the Digest challenge.
- ProtocolExec - Class in org.apache.http.impl.execchain
-
Request executor in the request execution chain that is responsible for implementation of HTTP specification requirements.
- ProtocolExec(ClientExecChain, HttpProcessor) - Constructor for class org.apache.http.impl.execchain.ProtocolExec
- proxiedStep(RouteInfo, RouteInfo) - Method in class org.apache.http.conn.routing.BasicRouteDirector
-
Determines the next step to establish a connection via proxy.
- PROXY - org.apache.http.auth.ChallengeState
- PROXY_AUTH - Static variable in class org.apache.http.auth.AUTH
-
The proxy authenticate challange header.
- PROXY_AUTH_PREF - Static variable in interface org.apache.http.auth.params.AuthPNames
-
Deprecated.Defines the order of preference for supported
AuthSchemes when authenticating with the proxy host. - PROXY_AUTH_RESP - Static variable in class org.apache.http.auth.AUTH
-
The proxy authenticate response header.
- PROXY_AUTH_STATE - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
AuthStateobject that represents the actual proxy authentication state. - ProxyAuthenticationStrategy - Class in org.apache.http.impl.client
-
Default
AuthenticationStrategyimplementation for proxy host authentication. - ProxyAuthenticationStrategy() - Constructor for class org.apache.http.impl.client.ProxyAuthenticationStrategy
- ProxyClient - Class in org.apache.http.impl.client
-
ProxyClient can be used to establish a tunnel via an HTTP proxy.
- ProxyClient() - Constructor for class org.apache.http.impl.client.ProxyClient
- ProxyClient(RequestConfig) - Constructor for class org.apache.http.impl.client.ProxyClient
- ProxyClient(HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection>, ConnectionConfig, RequestConfig) - Constructor for class org.apache.http.impl.client.ProxyClient
- ProxyClient(HttpParams) - Constructor for class org.apache.http.impl.client.ProxyClient
-
Deprecated.
- PublicSuffixFilter - Class in org.apache.http.impl.cookie
-
Wraps a CookieAttributeHandler and leverages its match method to never match a suffix from a black list.
- PublicSuffixFilter(CookieAttributeHandler) - Constructor for class org.apache.http.impl.cookie.PublicSuffixFilter
- PublicSuffixListParser - Class in org.apache.http.impl.cookie
-
Parses the list from publicsuffix.org and configures a PublicSuffixFilter.
- Punycode - Class in org.apache.http.client.utils
-
Facade that provides conversion between Unicode and Punycode domain names.
- Punycode() - Constructor for class org.apache.http.client.utils.Punycode
- put() - Static method in class org.apache.http.client.methods.RequestBuilder
- put(HttpHost, AuthScheme) - Method in interface org.apache.http.client.AuthCache
- put(HttpHost, AuthScheme) - Method in class org.apache.http.impl.client.BasicAuthCache
R
- read() - Method in class org.apache.http.client.entity.DeflateInputStream
-
Read a byte.
- read() - Method in class org.apache.http.conn.EofSensorInputStream
- read(byte[]) - Method in class org.apache.http.client.entity.DeflateInputStream
-
Read lots of bytes.
- read(byte[]) - Method in class org.apache.http.conn.EofSensorInputStream
- read(byte[], int, int) - Method in class org.apache.http.client.entity.DeflateInputStream
-
Read lots of specific bytes.
- read(byte[], int, int) - Method in class org.apache.http.conn.EofSensorInputStream
- REDIRECT_LOCATIONS - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
Listobject that represents a collection of all redirect locations received in the process of request execution. - REDIRECT_LOCATIONS - Static variable in class org.apache.http.impl.client.DefaultRedirectStrategy
-
Deprecated.(4.3) use
HttpClientContext.REDIRECT_LOCATIONS. - RedirectException - Exception in org.apache.http.client
-
Signals violation of HTTP specification caused by an invalid redirect
- RedirectException() - Constructor for exception org.apache.http.client.RedirectException
-
Creates a new RedirectException with a null detail message.
- RedirectException(String) - Constructor for exception org.apache.http.client.RedirectException
-
Creates a new RedirectException with the specified detail message.
- RedirectException(String, Throwable) - Constructor for exception org.apache.http.client.RedirectException
-
Creates a new RedirectException with the specified detail message and cause.
- RedirectExec - Class in org.apache.http.impl.execchain
-
Request executor in the request execution chain that is responsible for handling of request redirects.
- RedirectExec(ClientExecChain, HttpRoutePlanner, RedirectStrategy) - Constructor for class org.apache.http.impl.execchain.RedirectExec
- RedirectLocations - Class in org.apache.http.impl.client
-
This class represents a collection of
URIs used as redirect locations. - RedirectLocations() - Constructor for class org.apache.http.impl.client.RedirectLocations
- RedirectStrategy - Interface in org.apache.http.client
-
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.
- register(String, AuthSchemeFactory) - Method in class org.apache.http.auth.AuthSchemeRegistry
-
Deprecated.Registers a
AuthSchemeFactorywith the given identifier. - register(String, CookieSpecFactory) - Method in class org.apache.http.cookie.CookieSpecRegistry
-
Deprecated.Registers a
CookieSpecFactorywith the given identifier. - register(Scheme) - Method in class org.apache.http.conn.scheme.SchemeRegistry
-
Deprecated.Registers a scheme.
- registerAttribHandler(String, CookieAttributeHandler) - Method in class org.apache.http.impl.cookie.AbstractCookieSpec
- reject(CharArrayBuffer, int) - Method in class org.apache.http.impl.conn.DefaultHttpResponseParser
- REJECT_RELATIVE_REDIRECT - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.Defines whether relative redirects should be rejected.
- releaseConnection() - Method in class org.apache.http.client.methods.HttpRequestBase
-
A convenience method to simplify migration from HttpClient 3.1 API.
- releaseConnection() - Method in interface org.apache.http.conn.ConnectionReleaseTrigger
-
Releases the connection with the option of keep-alive.
- releaseConnection() - Method in class org.apache.http.conn.EofSensorInputStream
-
Same as
close(). - releaseConnection(ManagedClientConnection, long, TimeUnit) - Method in interface org.apache.http.conn.ClientConnectionManager
-
Deprecated.Releases a connection for use by others.
- releaseConnection(HttpClientConnection, Object, long, TimeUnit) - Method in interface org.apache.http.conn.HttpClientConnectionManager
-
Releases the connection back to the manager making it potentially re-usable by other consumers.
- releaseConnection(HttpClientConnection, Object, long, TimeUnit) - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- releaseConnection(HttpClientConnection, Object, long, TimeUnit) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- remove(int) - Method in class org.apache.http.impl.client.RedirectLocations
-
Removes the URI at the specified position in this list.
- remove(URI) - Method in class org.apache.http.impl.client.RedirectLocations
-
Removes a URI from the collection.
- remove(HttpHost) - Method in interface org.apache.http.client.AuthCache
- remove(HttpHost) - Method in class org.apache.http.impl.client.BasicAuthCache
- removeAttribute(String) - Method in class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
- removeHeader(Header) - Method in class org.apache.http.client.methods.RequestBuilder
- removeHeaders(String) - Method in class org.apache.http.client.methods.RequestBuilder
- removeQuery() - Method in class org.apache.http.client.utils.URIBuilder
-
Removes URI query.
- REQUEST_CONFIG - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
RequestConfigobject that represents the actual request configuration. - RequestAbortedException - Exception in org.apache.http.impl.execchain
-
Signals that the request has been aborted.
- RequestAbortedException(String) - Constructor for exception org.apache.http.impl.execchain.RequestAbortedException
- RequestAbortedException(String, Throwable) - Constructor for exception org.apache.http.impl.execchain.RequestAbortedException
- RequestAcceptEncoding - Class in org.apache.http.client.protocol
-
Class responsible for handling Content Encoding requests in HTTP.
- RequestAcceptEncoding() - Constructor for class org.apache.http.client.protocol.RequestAcceptEncoding
- RequestAddCookies - Class in org.apache.http.client.protocol
-
Request interceptor that matches cookies available in the current
CookieStoreto the request being executed and generates correspondingCookierequest headers. - RequestAddCookies() - Constructor for class org.apache.http.client.protocol.RequestAddCookies
- RequestAuthCache - Class in org.apache.http.client.protocol
-
Request interceptor that can preemptively authenticate against known hosts, if there is a cached
AuthSchemeinstance in the localAuthCacheassociated with the given target or proxy host. - RequestAuthCache() - Constructor for class org.apache.http.client.protocol.RequestAuthCache
- RequestBuilder - Class in org.apache.http.client.methods
-
Builder for
HttpUriRequestinstances. - RequestClientConnControl - Class in org.apache.http.client.protocol
-
This protocol interceptor is responsible for adding
ConnectionorProxy-Connectionheaders to the outgoing requests, which is essential for managing persistence ofHTTP/1.0connections. - RequestClientConnControl() - Constructor for class org.apache.http.client.protocol.RequestClientConnControl
- RequestConfig - Class in org.apache.http.client.config
- RequestConfig.Builder - Class in org.apache.http.client.config
- requestConnection(HttpRoute, Object) - Method in interface org.apache.http.conn.ClientConnectionManager
-
Deprecated.Returns a new
ClientConnectionRequest, from which aManagedClientConnectioncan be obtained or the request can be aborted. - requestConnection(HttpRoute, Object) - Method in interface org.apache.http.conn.HttpClientConnectionManager
-
Returns a new
ConnectionRequest, from which aHttpClientConnectioncan be obtained or the request can be aborted. - requestConnection(HttpRoute, Object) - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- requestConnection(HttpRoute, Object) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- RequestDefaultHeaders - Class in org.apache.http.client.protocol
-
Request interceptor that adds default request headers.
- RequestDefaultHeaders() - Constructor for class org.apache.http.client.protocol.RequestDefaultHeaders
- RequestDefaultHeaders(Collection<? extends Header>) - Constructor for class org.apache.http.client.protocol.RequestDefaultHeaders
- requestDuration() - Method in class org.apache.http.impl.client.HttpRequestFutureTask
- RequestExpectContinue - Class in org.apache.http.client.protocol
-
RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by adding
Expectheader. - RequestExpectContinue() - Constructor for class org.apache.http.client.protocol.RequestExpectContinue
- requestIsAborted(HttpRequest) - Method in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
-
Deprecated.(4.3)
- RequestWrapper - Class in org.apache.http.impl.client
-
Deprecated.(4.3) do not use.
- RequestWrapper(HttpRequest) - Constructor for class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- reset() - Method in class org.apache.http.auth.AuthState
-
Resets the auth state.
- reset() - Method in class org.apache.http.client.entity.DeflateInputStream
-
Reset.
- reset() - Method in class org.apache.http.client.methods.AbstractExecutionAwareRequest
-
Resets internal state of the request making it reusable.
- reset() - Method in class org.apache.http.conn.routing.RouteTracker
- resetHeaders() - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- resolve(String) - Method in interface org.apache.http.conn.DnsResolver
-
Returns the IP address for the specified host name, or null if the given host is not recognized or the associated IP address cannot be used to build an InetAddress instance.
- resolve(String) - Method in class org.apache.http.impl.conn.InMemoryDnsResolver
-
Returns the IP address for the specified host name, or null if the given host is not recognized or the associated IP address cannot be used to build an InetAddress instance.
- resolve(String) - Method in class org.apache.http.impl.conn.SystemDefaultDnsResolver
- resolve(URI, String) - Static method in class org.apache.http.client.utils.URIUtils
-
Resolves a URI reference against a base URI.
- resolve(URI, URI) - Static method in class org.apache.http.client.utils.URIUtils
-
Resolves a URI reference against a base URI.
- resolve(URI, HttpHost, List<URI>) - Static method in class org.apache.http.client.utils.URIUtils
-
Derives the interpreted (absolute) URI that was used to generate the last request.
- resolve(HttpHost) - Method in interface org.apache.http.conn.SchemePortResolver
-
Returns the actual port for the host based on the protocol scheme.
- resolve(HttpHost) - Method in class org.apache.http.impl.conn.DefaultSchemePortResolver
- resolvePort(int) - Method in class org.apache.http.conn.scheme.Scheme
-
Deprecated.Resolves the correct port for this scheme.
- ResponseContentEncoding - Class in org.apache.http.client.protocol
-
HttpResponseInterceptorresponsible for processing Content-Encoding responses. - ResponseContentEncoding() - Constructor for class org.apache.http.client.protocol.ResponseContentEncoding
- ResponseHandler<T> - Interface in org.apache.http.client
-
Handler that encapsulates the process of generating a response object from a
HttpResponse. - ResponseProcessCookies - Class in org.apache.http.client.protocol
-
Response interceptor that populates the current
CookieStorewith data contained in response cookies received in the given the HTTP response. - ResponseProcessCookies() - Constructor for class org.apache.http.client.protocol.ResponseProcessCookies
- RetryExec - Class in org.apache.http.impl.execchain
-
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.
- RetryExec(ClientExecChain, HttpRequestRetryHandler) - Constructor for class org.apache.http.impl.execchain.RetryExec
- retryRequest(IOException, int, HttpContext) - Method in interface org.apache.http.client.HttpRequestRetryHandler
-
Determines if a method should be retried after an IOException occurs during execution.
- retryRequest(IOException, int, HttpContext) - Method in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
-
Used
retryCountandrequestSentRetryEnabledto determine if the given method should be retried. - retryRequest(HttpResponse, int, HttpContext) - Method in interface org.apache.http.client.ServiceUnavailableRetryStrategy
-
Determines if a method should be retried given the response from the target server.
- retryRequest(HttpResponse, int, HttpContext) - Method in class org.apache.http.impl.client.DefaultServiceUnavailableRetryStrategy
- rewriteURI(URI) - Static method in class org.apache.http.client.utils.URIUtils
-
A convenience method that creates a new
URIwhose scheme, host, port, path, query are taken from the existing URI, dropping any fragment or user-information. - rewriteURI(URI, HttpHost) - Static method in class org.apache.http.client.utils.URIUtils
-
A convenience method for
URIUtils.rewriteURI(URI, HttpHost, boolean)that always keeps the fragment. - rewriteURI(URI, HttpHost, boolean) - Static method in class org.apache.http.client.utils.URIUtils
-
A convenience method for creating a new
URIwhose scheme, host and port are taken from the target host, but whose path, query and fragment are taken from the existing URI. - RFC2109DomainHandler - Class in org.apache.http.impl.cookie
- RFC2109DomainHandler() - Constructor for class org.apache.http.impl.cookie.RFC2109DomainHandler
- RFC2109Spec - Class in org.apache.http.impl.cookie
-
RFC 2109 compliant
CookieSpecimplementation. - RFC2109Spec() - Constructor for class org.apache.http.impl.cookie.RFC2109Spec
-
Default constructor
- RFC2109Spec(String[], boolean) - Constructor for class org.apache.http.impl.cookie.RFC2109Spec
-
Default constructor
- RFC2109SpecFactory - Class in org.apache.http.impl.cookie
-
CookieSpecProviderimplementation that creates and initializesRFC2109Specinstances. - RFC2109SpecFactory() - Constructor for class org.apache.http.impl.cookie.RFC2109SpecFactory
- RFC2109SpecFactory(String[], boolean) - Constructor for class org.apache.http.impl.cookie.RFC2109SpecFactory
- RFC2109VersionHandler - Class in org.apache.http.impl.cookie
- RFC2109VersionHandler() - Constructor for class org.apache.http.impl.cookie.RFC2109VersionHandler
- RFC2617Scheme - Class in org.apache.http.impl.auth
-
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.
- RFC2617Scheme() - Constructor for class org.apache.http.impl.auth.RFC2617Scheme
- RFC2617Scheme(Charset) - Constructor for class org.apache.http.impl.auth.RFC2617Scheme
- RFC2617Scheme(ChallengeState) - Constructor for class org.apache.http.impl.auth.RFC2617Scheme
-
Deprecated.(4.3) do not use.
- RFC2965CommentUrlAttributeHandler - Class in org.apache.http.impl.cookie
-
"CommentURL" cookie attribute handler for RFC 2965 cookie spec.
- RFC2965CommentUrlAttributeHandler() - Constructor for class org.apache.http.impl.cookie.RFC2965CommentUrlAttributeHandler
- RFC2965DiscardAttributeHandler - Class in org.apache.http.impl.cookie
-
"Discard" cookie attribute handler for RFC 2965 cookie spec.
- RFC2965DiscardAttributeHandler() - Constructor for class org.apache.http.impl.cookie.RFC2965DiscardAttributeHandler
- RFC2965DomainAttributeHandler - Class in org.apache.http.impl.cookie
-
"Domain" cookie attribute handler for RFC 2965 cookie spec.
- RFC2965DomainAttributeHandler() - Constructor for class org.apache.http.impl.cookie.RFC2965DomainAttributeHandler
- RFC2965PortAttributeHandler - Class in org.apache.http.impl.cookie
-
"Port" cookie attribute handler for RFC 2965 cookie spec.
- RFC2965PortAttributeHandler() - Constructor for class org.apache.http.impl.cookie.RFC2965PortAttributeHandler
- RFC2965Spec - Class in org.apache.http.impl.cookie
-
RFC 2965 compliant
CookieSpecimplementation. - RFC2965Spec() - Constructor for class org.apache.http.impl.cookie.RFC2965Spec
-
Default constructor
- RFC2965Spec(String[], boolean) - Constructor for class org.apache.http.impl.cookie.RFC2965Spec
- RFC2965SpecFactory - Class in org.apache.http.impl.cookie
-
CookieSpecProviderimplementation that creates and initializesRFC2965Specinstances. - RFC2965SpecFactory() - Constructor for class org.apache.http.impl.cookie.RFC2965SpecFactory
- RFC2965SpecFactory(String[], boolean) - Constructor for class org.apache.http.impl.cookie.RFC2965SpecFactory
- RFC2965VersionAttributeHandler - Class in org.apache.http.impl.cookie
-
"Version" cookie attribute handler for RFC 2965 cookie spec.
- RFC2965VersionAttributeHandler() - Constructor for class org.apache.http.impl.cookie.RFC2965VersionAttributeHandler
- Rfc3492Idn - Class in org.apache.http.client.utils
-
Implementation from pseudo code in RFC 3492.
- Rfc3492Idn() - Constructor for class org.apache.http.client.utils.Rfc3492Idn
- routeComplete(HttpClientConnection, HttpRoute, HttpContext) - Method in interface org.apache.http.conn.HttpClientConnectionManager
-
Marks the connection as fully established with all its intermediate hops completed.
- routeComplete(HttpClientConnection, HttpRoute, HttpContext) - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- routeComplete(HttpClientConnection, HttpRoute, HttpContext) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- RouteInfo - Interface in org.apache.http.conn.routing
-
Read-only interface for route information.
- RouteInfo.LayerType - Enum in org.apache.http.conn.routing
-
The layering type of a route.
- RouteInfo.TunnelType - Enum in org.apache.http.conn.routing
-
The tunnelling type of a route.
- RouteTracker - Class in org.apache.http.conn.routing
-
Helps tracking the steps in establishing a route.
- RouteTracker(HttpRoute) - Constructor for class org.apache.http.conn.routing.RouteTracker
-
Creates a new tracker for the given route.
- RouteTracker(HttpHost, InetAddress) - Constructor for class org.apache.http.conn.routing.RouteTracker
-
Creates a new route tracker.
S
- scheduledTime() - Method in class org.apache.http.impl.client.HttpRequestFutureTask
- Scheme - Class in org.apache.http.conn.scheme
-
Deprecated.(4.3) use
SchemePortResolverfor default port resolution andRegistryfor socket factory lookups. - Scheme(String, int, SchemeSocketFactory) - Constructor for class org.apache.http.conn.scheme.Scheme
-
Deprecated.Creates a new scheme.
- Scheme(String, SocketFactory, int) - Constructor for class org.apache.http.conn.scheme.Scheme
-
Deprecated.(4.1) Use
Scheme(String, int, SchemeSocketFactory) - SchemeLayeredSocketFactory - Interface in org.apache.http.conn.scheme
-
Deprecated.(4.3) use
LayeredConnectionSocketFactory - SchemePortResolver - Interface in org.apache.http.conn
-
Strategy for default port resolution for protocol schemes.
- SchemeRegistry - Class in org.apache.http.conn.scheme
-
Deprecated.(4.3) use
Registry - SchemeRegistry() - Constructor for class org.apache.http.conn.scheme.SchemeRegistry
-
Deprecated.Creates a new, empty scheme registry.
- SchemeSocketFactory - Interface in org.apache.http.conn.scheme
-
Deprecated.(4.3) use
ConnectionSocketFactory - SECURE_ATTR - Static variable in interface org.apache.http.cookie.ClientCookie
- SECURITYLEVEL_DEFAULT - org.apache.http.impl.cookie.BrowserCompatSpecFactory.SecurityLevel
- SECURITYLEVEL_IE_MEDIUM - org.apache.http.impl.cookie.BrowserCompatSpecFactory.SecurityLevel
- select(Map<String, Header>, HttpHost, HttpResponse, HttpContext) - Method in interface org.apache.http.client.AuthenticationStrategy
-
Selects one authentication challenge out of all available and creates and generates
AuthOptioninstance capable of processing that challenge. - ServiceUnavailableRetryExec - Class in org.apache.http.impl.execchain
-
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.
- ServiceUnavailableRetryExec(ClientExecChain, ServiceUnavailableRetryStrategy) - Constructor for class org.apache.http.impl.execchain.ServiceUnavailableRetryExec
- ServiceUnavailableRetryStrategy - Interface in org.apache.http.client
-
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.
- set(int, Object) - Method in class org.apache.http.impl.client.RedirectLocations
-
Replaces the URI at the specified position in this list with the specified element (must be a URI).
- SET_COOKIE - Static variable in interface org.apache.http.cookie.SM
- SET_COOKIE2 - Static variable in interface org.apache.http.cookie.SM
- setAttribute(String, Object) - Method in class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
- setAttribute(String, String) - Method in class org.apache.http.impl.cookie.BasicClientCookie
- setAuthCache(AuthCache) - Method in class org.apache.http.client.protocol.HttpClientContext
- setAuthenticationEnabled(boolean) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setAuthScheme(AuthScheme) - Method in class org.apache.http.auth.AuthState
-
Deprecated.
- setAuthSchemeRegistry(Lookup<AuthSchemeProvider>) - Method in class org.apache.http.client.protocol.HttpClientContext
- setAuthScope(AuthScope) - Method in class org.apache.http.auth.AuthState
-
Deprecated.(4.2) do not use.
- setBackoffFactor(double) - Method in class org.apache.http.impl.client.AIMDBackoffManager
-
Sets the factor to use when backing off; the new per-host limit will be roughly the current max times this factor.
- setBackoffManager(BackoffManager) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
BackoffManagerinstance. - setBinary(byte[]) - Method in class org.apache.http.client.entity.EntityBuilder
-
Sets entity content as a byte array.
- setCancellable(Cancellable) - Method in class org.apache.http.client.methods.AbstractExecutionAwareRequest
- setCancellable(Cancellable) - Method in interface org.apache.http.client.methods.HttpExecutionAware
-
Sets
Cancellablefor the ongoing operation. - setCircularRedirectsAllowed(boolean) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setComment(String) - Method in interface org.apache.http.cookie.SetCookie
-
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment.
- setComment(String) - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment.
- setCommentURL(String) - Method in interface org.apache.http.cookie.SetCookie2
-
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL.
- setCommentURL(String) - Method in class org.apache.http.impl.cookie.BasicClientCookie2
- setConfig(RequestConfig) - Method in class org.apache.http.client.methods.HttpRequestBase
- setConfig(RequestConfig) - Method in class org.apache.http.client.methods.RequestBuilder
- setConnectionBackoffStrategy(ConnectionBackoffStrategy) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
ConnectionBackoffStrategyinstance. - setConnectionConfig(ConnectionConfig) - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- setConnectionConfig(HttpHost, ConnectionConfig) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- setConnectionManager(HttpClientConnectionManager) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
HttpClientConnectionManagerinstance. - setConnectionRequest(ClientConnectionRequest) - Method in interface org.apache.http.client.methods.AbortableHttpRequest
-
Deprecated.Sets the
ClientConnectionRequestcallback that can be used to abort a long-lived request for a connection. - setConnectionRequest(ClientConnectionRequest) - Method in class org.apache.http.client.methods.AbstractExecutionAwareRequest
-
Deprecated.
- setConnectionRequestTimeout(int) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setConnectionReuseStrategy(ConnectionReuseStrategy) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
ConnectionReuseStrategyinstance. - setConnectTimeout(int) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setContentEncoding(String) - Method in class org.apache.http.client.entity.EntityBuilder
-
Sets content encoding of the entity.
- setContentType(ContentType) - Method in class org.apache.http.client.entity.EntityBuilder
-
Sets
ContentTypeof the entity. - SetCookie - Interface in org.apache.http.cookie
-
This interface represents a
Set-Cookieresponse header sent by the origin server to the HTTP agent in order to maintain a conversational state. - SetCookie2 - Interface in org.apache.http.cookie
-
This interface represents a
Set-Cookie2response header sent by the origin server to the HTTP agent in order to maintain a conversational state. - setCookieSpec(String) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setCookieSpecRegistry(Lookup<CookieSpecProvider>) - Method in class org.apache.http.client.protocol.HttpClientContext
- setCookieStore(CookieStore) - Method in class org.apache.http.client.protocol.HttpClientContext
- setCooldownMillis(long) - Method in class org.apache.http.impl.client.AIMDBackoffManager
-
Sets the amount of time, in milliseconds, to wait between adjustments in pool sizes for a given host, to allow enough time for the adjustments to take effect.
- setCredentials(AuthScope, Credentials) - Method in interface org.apache.http.client.CredentialsProvider
-
Sets the
credentialsfor the given authentication scope. - setCredentials(AuthScope, Credentials) - Method in class org.apache.http.impl.client.BasicCredentialsProvider
- setCredentials(AuthScope, Credentials) - Method in class org.apache.http.impl.client.SystemDefaultCredentialsProvider
- setCredentials(Credentials) - Method in class org.apache.http.auth.AuthState
-
Deprecated.
- setCredentialsProvider(CredentialsProvider) - Method in class org.apache.http.client.protocol.HttpClientContext
- setCustomQuery(String) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets custom URI query.
- setDefaultAuthSchemeRegistry(Lookup<AuthSchemeProvider>) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns default
AuthSchemeregistry which will be used for request execution if not explicitly set in the client execution context. - setDefaultConnectionConfig(ConnectionConfig) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns default
ConnectionConfig. - setDefaultConnectionConfig(ConnectionConfig) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- setDefaultCookieSpecRegistry(Lookup<CookieSpecProvider>) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns default
CookieSpecregistry which will be used for request execution if not explicitly set in the client execution context. - setDefaultCookieStore(CookieStore) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns default
CookieStoreinstance which will be used for request execution if not explicitly set in the client execution context. - setDefaultCredentialsProvider(CredentialsProvider) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns default
CredentialsProviderinstance which will be used for request execution if not explicitly set in the client execution context. - setDefaultHeaders(Collection<? extends Header>) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns default request header values.
- setDefaultMaxPerRoute(int) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- setDefaultRequestConfig(RequestConfig) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns default
RequestConfiginstance which will be used for request execution if not explicitly set in the client execution context. - setDefaultSocketConfig(SocketConfig) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns default
SocketConfig. - setDefaultSocketConfig(SocketConfig) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- setDiscard(boolean) - Method in interface org.apache.http.cookie.SetCookie2
-
Set the Discard attribute.
- setDiscard(boolean) - Method in class org.apache.http.impl.cookie.BasicClientCookie2
- setDomain(String) - Method in interface org.apache.http.cookie.SetCookie
-
Sets the domain attribute.
- setDomain(String) - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Sets the domain attribute.
- setEntity(HttpEntity) - Method in class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
- setEntity(HttpEntity) - Method in class org.apache.http.client.methods.RequestBuilder
- setEntity(HttpEntity) - Method in class org.apache.http.impl.client.EntityEnclosingRequestWrapper
-
Deprecated.
- setExceptions(Collection<String>) - Method in class org.apache.http.impl.cookie.PublicSuffixFilter
-
Sets the exceptions from the blacklist.
- setExpectContinueEnabled(boolean) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setExpiryDate(Date) - Method in interface org.apache.http.cookie.SetCookie
-
Sets expiration date.
- setExpiryDate(Date) - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Sets expiration date.
- setFile(File) - Method in class org.apache.http.client.entity.EntityBuilder
-
Sets entity content as a
File. - setFragment(String) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets URI fragment.
- setHeader(String, String) - Method in class org.apache.http.client.methods.RequestBuilder
- setHeader(Header) - Method in class org.apache.http.client.methods.RequestBuilder
- setHost(String) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets URI host.
- setHostnameVerifier(X509HostnameVerifier) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
X509HostnameVerifierinstance. - setHttpProcessor(HttpProcessor) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
HttpProcessorinstance. - setIdleDuration(long, TimeUnit) - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Sets the duration that this connection can remain idle before it is reused.
- setItems(Map<String, AuthSchemeFactory>) - Method in class org.apache.http.auth.AuthSchemeRegistry
-
Deprecated.Populates the internal collection of registered
authentication schemeswith the content of the map passed as a parameter. - setItems(Map<String, Scheme>) - Method in class org.apache.http.conn.scheme.SchemeRegistry
-
Deprecated.Populates the internal collection of registered
protocol schemeswith the content of the map passed as a parameter. - setItems(Map<String, CookieSpecFactory>) - Method in class org.apache.http.cookie.CookieSpecRegistry
-
Deprecated.Populates the internal collection of registered
cookie specswith the content of the map passed as a parameter. - setKeepAliveStrategy(ConnectionKeepAliveStrategy) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
ConnectionKeepAliveStrategyinstance. - setLocalAddress(InetAddress) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setMaxConnPerRoute(int) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns maximum connection per route value.
- setMaxConnTotal(int) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns maximum total connection value.
- setMaxPerRoute(HttpRoute, int) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- setMaxRedirects(int) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setMaxTotal(int) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- setMethod(String) - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- setParameter(String, String) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets parameter of URI query overriding existing value if set.
- setParameters(List<NameValuePair>) - Method in class org.apache.http.client.entity.EntityBuilder
-
Sets entity content as a parameter list.
- setParameters(List<NameValuePair>) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets URI query parameters.
- setParameters(NameValuePair...) - Method in class org.apache.http.client.entity.EntityBuilder
-
Sets entity content as a parameter list.
- setParameters(NameValuePair...) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets URI query parameters.
- setPath(String) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets URI path.
- setPath(String) - Method in interface org.apache.http.cookie.SetCookie
-
Sets the path attribute.
- setPath(String) - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Sets the path attribute.
- setPerHostConnectionCap(int) - Method in class org.apache.http.impl.client.AIMDBackoffManager
-
Sets the absolute maximum per-host connection pool size to probe up to; defaults to 2 (the default per-host max).
- setPort(int) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets URI port.
- setPorts(int[]) - Method in interface org.apache.http.cookie.SetCookie2
-
Sets the Port attribute.
- setPorts(int[]) - Method in class org.apache.http.impl.cookie.BasicClientCookie2
- setProtocolVersion(ProtocolVersion) - Method in class org.apache.http.client.methods.HttpRequestBase
- setProtocolVersion(ProtocolVersion) - Method in class org.apache.http.client.methods.HttpRequestWrapper
- setProtocolVersion(ProtocolVersion) - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- setProxy(HttpHost) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setProxy(HttpHost) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns default proxy value.
- setProxyAuthenticationStrategy(AuthenticationStrategy) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
AuthenticationStrategyinstance for target host authentication. - setProxyPreferredAuthSchemes(Collection<String>) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setPublicSuffixes(Collection<String>) - Method in class org.apache.http.impl.cookie.PublicSuffixFilter
-
Sets the suffix blacklist patterns.
- setQuery(String) - Method in class org.apache.http.client.utils.URIBuilder
-
Deprecated.
- setRedirectsEnabled(boolean) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setRedirectStrategy(RedirectStrategy) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
RedirectStrategyinstance. - setRelativeRedirectsAllowed(boolean) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setReleaseTrigger(ConnectionReleaseTrigger) - Method in interface org.apache.http.client.methods.AbortableHttpRequest
-
Deprecated.Sets the
ConnectionReleaseTriggercallback that can be used to abort an active connection. - setReleaseTrigger(ConnectionReleaseTrigger) - Method in class org.apache.http.client.methods.AbstractExecutionAwareRequest
-
Deprecated.
- setRequestConfig(RequestConfig) - Method in class org.apache.http.client.protocol.HttpClientContext
- setRequestExecutor(HttpRequestExecutor) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
HttpRequestExecutorinstance. - setRetryHandler(HttpRequestRetryHandler) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
HttpRequestRetryHandlerinstance. - setRoutePlanner(HttpRoutePlanner) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
HttpRoutePlannerinstance. - setScheme(String) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets URI scheme.
- setSchemePortResolver(SchemePortResolver) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
SchemePortResolverinstance. - setSecure(boolean) - Method in interface org.apache.http.cookie.SetCookie
-
Sets the secure attribute of the cookie.
- setSecure(boolean) - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Sets the secure attribute of the cookie.
- setSecureRandom(SecureRandom) - Method in class org.apache.http.conn.ssl.SSLContextBuilder
- setSerializable(Serializable) - Method in class org.apache.http.client.entity.EntityBuilder
-
Sets entity content as a
Serializable. - setServiceUnavailableRetryStrategy(ServiceUnavailableRetryStrategy) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
ServiceUnavailableRetryStrategyinstance. - setSocketConfig(SocketConfig) - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- setSocketConfig(HttpHost, SocketConfig) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- setSocketTimeout(int) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setSslcontext(SSLContext) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
SSLContextinstance. - setSSLSocketFactory(LayeredConnectionSocketFactory) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
LayeredConnectionSocketFactoryinstance. - setStaleConnectionCheckEnabled(boolean) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setState(Object) - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Assigns a state object to this connection.
- setState(AuthProtocolState) - Method in class org.apache.http.auth.AuthState
- setStream(InputStream) - Method in class org.apache.http.client.entity.EntityBuilder
-
Sets entity content as a
InputStream. - setTargetAuthenticationStrategy(AuthenticationStrategy) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
AuthenticationStrategyinstance for proxy authentication. - setTargetPreferredAuthSchemes(Collection<String>) - Method in class org.apache.http.client.config.RequestConfig.Builder
- setText(String) - Method in class org.apache.http.client.entity.EntityBuilder
-
Sets entity content as a string.
- setUri(String) - Method in class org.apache.http.client.methods.RequestBuilder
- setUri(URI) - Method in class org.apache.http.client.methods.RequestBuilder
- setURI(URI) - Method in class org.apache.http.client.methods.HttpRequestBase
- setURI(URI) - Method in class org.apache.http.client.methods.HttpRequestWrapper
- setURI(URI) - Method in class org.apache.http.impl.client.RequestWrapper
-
Deprecated.
- setUserAgent(String) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns User-Agent value.
- setUserInfo(String) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets URI user info.
- setUserInfo(String, String) - Method in class org.apache.http.client.utils.URIBuilder
-
Sets URI user info as a combination of username and password.
- setUserToken(Object) - Method in class org.apache.http.client.protocol.HttpClientContext
- setUserTokenHandler(UserTokenHandler) - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Assigns
UserTokenHandlerinstance. - setValue(String) - Method in interface org.apache.http.cookie.SetCookie
- setValue(String) - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Sets the value
- setVersion(int) - Method in interface org.apache.http.cookie.SetCookie
-
Sets the version of the cookie specification to which this cookie conforms.
- setVersion(int) - Method in class org.apache.http.impl.cookie.BasicClientCookie
-
Sets the version of the cookie specification to which this cookie conforms.
- setVersion(ProtocolVersion) - Method in class org.apache.http.client.methods.RequestBuilder
- shouldBackoff(Throwable) - Method in interface org.apache.http.client.ConnectionBackoffStrategy
-
Determines whether seeing the given
Throwableas a result of request execution should result in a backoff signal. - shouldBackoff(Throwable) - Method in class org.apache.http.impl.client.DefaultBackoffStrategy
- shouldBackoff(Throwable) - Method in class org.apache.http.impl.client.NullBackoffStrategy
- shouldBackoff(HttpResponse) - Method in interface org.apache.http.client.ConnectionBackoffStrategy
-
Determines whether receiving the given
HttpResponseas a result of request execution should result in a backoff signal. - shouldBackoff(HttpResponse) - Method in class org.apache.http.impl.client.DefaultBackoffStrategy
- shouldBackoff(HttpResponse) - Method in class org.apache.http.impl.client.NullBackoffStrategy
- shutdown() - Method in interface org.apache.http.conn.ClientConnectionManager
-
Deprecated.Shuts down this connection manager and releases allocated resources.
- shutdown() - Method in interface org.apache.http.conn.HttpClientConnectionManager
-
Shuts down this connection manager and releases allocated resources.
- shutdown() - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- shutdown() - Method in class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
- shutdown() - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- SINGLE_COOKIE_HEADER - Static variable in interface org.apache.http.cookie.params.CookieSpecPNames
-
Deprecated.Defines whether cookies should be forced into a single
Cookierequest header. - size() - Method in class org.apache.http.impl.client.RedirectLocations
-
Returns the number of elements in this list.
- skip(long) - Method in class org.apache.http.client.entity.DeflateInputStream
-
Skip
- SM - Interface in org.apache.http.cookie
-
Constants and static helpers related to the HTTP state management.
- SocketFactory - Interface in org.apache.http.conn.scheme
-
Deprecated.(4.1) use
SchemeSocketFactory - SPNEGO - Static variable in class org.apache.http.client.config.AuthSchemes
-
SPNEGO Authentication scheme.
- SPNegoScheme - Class in org.apache.http.impl.auth
-
SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication scheme.
- SPNegoScheme() - Constructor for class org.apache.http.impl.auth.SPNegoScheme
- SPNegoScheme(boolean) - Constructor for class org.apache.http.impl.auth.SPNegoScheme
- SPNegoSchemeFactory - Class in org.apache.http.impl.auth
-
AuthSchemeProviderimplementation that creates and initializesSPNegoSchemeinstances. - SPNegoSchemeFactory() - Constructor for class org.apache.http.impl.auth.SPNegoSchemeFactory
- SPNegoSchemeFactory(boolean) - Constructor for class org.apache.http.impl.auth.SPNegoSchemeFactory
- SSL - Static variable in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- SSLConnectionSocketFactory - Class in org.apache.http.conn.ssl
-
Layered socket factory for TLS/SSL connections.
- SSLConnectionSocketFactory(SSLContext) - Constructor for class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- SSLConnectionSocketFactory(SSLContext, String[], String[], X509HostnameVerifier) - Constructor for class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- SSLConnectionSocketFactory(SSLContext, X509HostnameVerifier) - Constructor for class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- SSLConnectionSocketFactory(SSLSocketFactory, String[], String[], X509HostnameVerifier) - Constructor for class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- SSLConnectionSocketFactory(SSLSocketFactory, X509HostnameVerifier) - Constructor for class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- SSLContextBuilder - Class in org.apache.http.conn.ssl
-
Builder for
SSLContextinstances. - SSLContextBuilder() - Constructor for class org.apache.http.conn.ssl.SSLContextBuilder
- SSLContexts - Class in org.apache.http.conn.ssl
-
SSLContextfactory methods. - SSLContexts() - Constructor for class org.apache.http.conn.ssl.SSLContexts
- SSLInitializationException - Exception in org.apache.http.conn.ssl
- SSLInitializationException(String, Throwable) - Constructor for exception org.apache.http.conn.ssl.SSLInitializationException
- SSLV2 - Static variable in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- STANDARD - Static variable in class org.apache.http.client.config.CookieSpecs
-
The RFC 2965 compliant policy (standard).
- StandardHttpRequestRetryHandler - Class in org.apache.http.impl.client
-
HttpRequestRetryHandlerwhich assumes that all requested HTTP methods which should be idempotent according to RFC-2616 are in fact idempotent and can be retried. - StandardHttpRequestRetryHandler() - Constructor for class org.apache.http.impl.client.StandardHttpRequestRetryHandler
-
Default constructor
- StandardHttpRequestRetryHandler(int, boolean) - Constructor for class org.apache.http.impl.client.StandardHttpRequestRetryHandler
-
Default constructor
- started() - Method in class org.apache.http.client.methods.HttpRequestBase
- startedTime() - Method in class org.apache.http.impl.client.HttpRequestFutureTask
- streamAbort(InputStream) - Method in interface org.apache.http.conn.EofSensorWatcher
-
Indicates that the
streamis aborted. - streamClosed(InputStream) - Method in interface org.apache.http.conn.EofSensorWatcher
-
Indicates that the
streamis closed. - STRICT_HOSTNAME_VERIFIER - Static variable in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- StrictHostnameVerifier - Class in org.apache.http.conn.ssl
-
The Strict HostnameVerifier works the same way as Sun Java 1.4, Sun Java 5, Sun Java 6-rc.
- StrictHostnameVerifier() - Constructor for class org.apache.http.conn.ssl.StrictHostnameVerifier
- SUCCESS - org.apache.http.auth.AuthProtocolState
- SystemDefaultCredentialsProvider - Class in org.apache.http.impl.client
-
Implementation of
CredentialsProviderbacked by standard JREAuthenticator. - SystemDefaultCredentialsProvider() - Constructor for class org.apache.http.impl.client.SystemDefaultCredentialsProvider
-
Default constructor.
- SystemDefaultDnsResolver - Class in org.apache.http.impl.conn
-
DNS resolver that uses the default OS implementation for resolving host names.
- SystemDefaultDnsResolver() - Constructor for class org.apache.http.impl.conn.SystemDefaultDnsResolver
- SystemDefaultRoutePlanner - Class in org.apache.http.impl.conn
-
HttpRoutePlannerimplementation based onProxySelector. - SystemDefaultRoutePlanner(ProxySelector) - Constructor for class org.apache.http.impl.conn.SystemDefaultRoutePlanner
- SystemDefaultRoutePlanner(SchemePortResolver, ProxySelector) - Constructor for class org.apache.http.impl.conn.SystemDefaultRoutePlanner
T
- TARGET - org.apache.http.auth.ChallengeState
- TARGET_AUTH_PREF - Static variable in interface org.apache.http.auth.params.AuthPNames
-
Deprecated.Defines the order of preference for supported
AuthSchemes when authenticating with the target host. - TARGET_AUTH_STATE - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
AuthStateobject that represents the actual target authentication state. - TargetAuthenticationStrategy - Class in org.apache.http.impl.client
-
Default
AuthenticationStrategyimplementation for proxy host authentication. - TargetAuthenticationStrategy() - Constructor for class org.apache.http.impl.client.TargetAuthenticationStrategy
- taskDuration() - Method in class org.apache.http.impl.client.HttpRequestFutureTask
- TIMEOUT - Static variable in interface org.apache.http.conn.params.ConnManagerPNames
-
Deprecated.Defines the timeout in milliseconds used when retrieving an instance of
ManagedClientConnectionfrom theClientConnectionManager. - TLS - Static variable in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
- toRoute() - Method in class org.apache.http.conn.routing.RouteTracker
-
Obtains the tracked route.
- toString() - Method in class org.apache.http.auth.AuthOption
- toString() - Method in class org.apache.http.auth.AuthScope
- toString() - Method in class org.apache.http.auth.AuthState
- toString() - Method in class org.apache.http.auth.BasicUserPrincipal
- toString() - Method in class org.apache.http.auth.NTCredentials
- toString() - Method in class org.apache.http.auth.NTUserPrincipal
- toString() - Method in class org.apache.http.auth.UsernamePasswordCredentials
- toString() - Method in class org.apache.http.client.config.RequestConfig
- toString() - Method in class org.apache.http.client.methods.HttpRequestBase
- toString() - Method in class org.apache.http.client.methods.HttpRequestWrapper
- toString() - Method in class org.apache.http.client.utils.URIBuilder
- toString() - Method in class org.apache.http.conn.HttpInetSocketAddress
-
Deprecated.
- toString() - Method in class org.apache.http.conn.routing.HttpRoute
-
Obtains a description of this route.
- toString() - Method in class org.apache.http.conn.routing.RouteTracker
-
Obtains a description of the tracked route.
- toString() - Method in class org.apache.http.conn.scheme.Scheme
-
Deprecated.Return a string representation of this object.
- toString() - Method in class org.apache.http.conn.ssl.AllowAllHostnameVerifier
- toString() - Method in class org.apache.http.conn.ssl.BrowserCompatHostnameVerifier
- toString() - Method in class org.apache.http.conn.ssl.PrivateKeyDetails
- toString() - Method in class org.apache.http.conn.ssl.StrictHostnameVerifier
- toString() - Method in class org.apache.http.cookie.CookieOrigin
- toString() - Method in class org.apache.http.impl.auth.AuthSchemeBase
- toString() - Method in class org.apache.http.impl.auth.DigestScheme
- toString() - Method in class org.apache.http.impl.client.BasicAuthCache
- toString() - Method in class org.apache.http.impl.client.BasicCookieStore
- toString() - Method in class org.apache.http.impl.client.BasicCredentialsProvider
- toString() - Method in class org.apache.http.impl.client.FutureRequestExecutionMetrics
- toString() - Method in class org.apache.http.impl.client.HttpRequestFutureTask
- toString() - Method in class org.apache.http.impl.cookie.BasicClientCookie
- toString() - Method in class org.apache.http.impl.cookie.BestMatchSpec
- toString() - Method in class org.apache.http.impl.cookie.BrowserCompatSpec
- toString() - Method in class org.apache.http.impl.cookie.NetscapeDraftSpec
- toString() - Method in class org.apache.http.impl.cookie.RFC2109Spec
- toString() - Method in class org.apache.http.impl.cookie.RFC2965Spec
- toUnicode(String) - Method in interface org.apache.http.client.utils.Idn
-
Converts a name from its punycode representation to Unicode.
- toUnicode(String) - Method in class org.apache.http.client.utils.JdkIdn
- toUnicode(String) - Static method in class org.apache.http.client.utils.Punycode
- toUnicode(String) - Method in class org.apache.http.client.utils.Rfc3492Idn
- trace() - Static method in class org.apache.http.client.methods.RequestBuilder
- TrustSelfSignedStrategy - Class in org.apache.http.conn.ssl
-
A trust strategy that accepts self-signed certificates as trusted.
- TrustSelfSignedStrategy() - Constructor for class org.apache.http.conn.ssl.TrustSelfSignedStrategy
- TrustStrategy - Interface in org.apache.http.conn.ssl
-
A strategy to establish trustworthiness of certificates without consulting the trust manager configured in the actual SSL context.
- tunnel(HttpHost, HttpHost, Credentials) - Method in class org.apache.http.impl.client.ProxyClient
- TUNNEL_PROXY - Static variable in interface org.apache.http.conn.routing.HttpRouteDirector
-
Step: tunnel through proxy to other proxy.
- TUNNEL_TARGET - Static variable in interface org.apache.http.conn.routing.HttpRouteDirector
-
Step: tunnel through proxy to target.
- TUNNELLED - org.apache.http.conn.routing.RouteInfo.TunnelType
- tunnelProxy(HttpHost, boolean) - Method in class org.apache.http.conn.routing.RouteTracker
-
Tracks tunnelling to a proxy in a proxy chain.
- tunnelProxy(HttpHost, boolean, HttpParams) - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Indicates that a tunnel to an intermediate proxy has been established.
- TunnelRefusedException - Exception in org.apache.http.impl.execchain
-
Signals that the tunnel request was rejected by the proxy host.
- TunnelRefusedException(String, HttpResponse) - Constructor for exception org.apache.http.impl.execchain.TunnelRefusedException
- tunnelTarget(boolean) - Method in class org.apache.http.conn.routing.RouteTracker
-
Tracks tunnelling to the target.
- tunnelTarget(boolean, HttpParams) - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Indicates that a tunnel to the target has been established.
U
- UNCHALLENGED - org.apache.http.auth.AuthProtocolState
- UNCOMPRESSED - Static variable in class org.apache.http.client.protocol.ResponseContentEncoding
- unmarkReusable() - Method in interface org.apache.http.conn.ManagedClientConnection
-
Deprecated.Marks this connection as not being in a reusable state.
- UNREACHABLE - Static variable in interface org.apache.http.conn.routing.HttpRouteDirector
-
Indicates that the route can not be established at all.
- unregister(String) - Method in class org.apache.http.auth.AuthSchemeRegistry
-
Deprecated.Unregisters the class implementing an
authentication schemewith the given name. - unregister(String) - Method in class org.apache.http.conn.scheme.SchemeRegistry
-
Deprecated.Unregisters a scheme.
- unregister(String) - Method in class org.apache.http.cookie.CookieSpecRegistry
-
Deprecated.Unregisters the
CookieSpecFactorywith the given ID. - UnsupportedDigestAlgorithmException - Exception in org.apache.http.impl.auth
-
Authentication credentials required to respond to a authentication challenge are invalid
- UnsupportedDigestAlgorithmException() - Constructor for exception org.apache.http.impl.auth.UnsupportedDigestAlgorithmException
-
Creates a new UnsupportedAuthAlgoritmException with a null detail message.
- UnsupportedDigestAlgorithmException(String) - Constructor for exception org.apache.http.impl.auth.UnsupportedDigestAlgorithmException
-
Creates a new UnsupportedAuthAlgoritmException with the specified message.
- UnsupportedDigestAlgorithmException(String, Throwable) - Constructor for exception org.apache.http.impl.auth.UnsupportedDigestAlgorithmException
-
Creates a new UnsupportedAuthAlgoritmException with the specified detail message and cause.
- UnsupportedSchemeException - Exception in org.apache.http.conn
-
Signals failure to establish connection using an unknown protocol scheme.
- UnsupportedSchemeException(String) - Constructor for exception org.apache.http.conn.UnsupportedSchemeException
-
Creates a UnsupportedSchemeException with the specified detail message.
- update(Queue<AuthOption>) - Method in class org.apache.http.auth.AuthState
-
Updates the auth state with a queue of
AuthOptions. - update(AuthScheme, Credentials) - Method in class org.apache.http.auth.AuthState
-
Updates the auth state with
AuthSchemeandCredentials. - upgrade(HttpClientConnection, HttpRoute, HttpContext) - Method in interface org.apache.http.conn.HttpClientConnectionManager
-
Upgrades the underlying connection socket to TLS/SSL (or another layering protocol) after having executed
CONNECTmethod to all intermediate proxy hops - upgrade(HttpClientConnection, HttpRoute, HttpContext) - Method in class org.apache.http.impl.conn.BasicHttpClientConnectionManager
- upgrade(HttpClientConnection, HttpRoute, HttpContext) - Method in class org.apache.http.impl.conn.PoolingHttpClientConnectionManager
- URIBuilder - Class in org.apache.http.client.utils
-
Builder for
URIinstances. - URIBuilder() - Constructor for class org.apache.http.client.utils.URIBuilder
-
Constructs an empty instance.
- URIBuilder(String) - Constructor for class org.apache.http.client.utils.URIBuilder
-
Construct an instance from the string which must be a valid URI.
- URIBuilder(URI) - Constructor for class org.apache.http.client.utils.URIBuilder
-
Construct an instance from the provided URI.
- URIUtils - Class in org.apache.http.client.utils
-
A collection of utilities for
URIs, to workaround bugs within the class or for ease-of-use features. - UrlEncodedFormEntity - Class in org.apache.http.client.entity
-
An entity composed of a list of url-encoded pairs.
- UrlEncodedFormEntity(Iterable<? extends NameValuePair>) - Constructor for class org.apache.http.client.entity.UrlEncodedFormEntity
-
Constructs a new
UrlEncodedFormEntitywith the list of parameters with the default encoding ofHTTP.DEFAULT_CONTENT_CHARSET - UrlEncodedFormEntity(Iterable<? extends NameValuePair>, Charset) - Constructor for class org.apache.http.client.entity.UrlEncodedFormEntity
-
Constructs a new
UrlEncodedFormEntitywith the list of parameters in the specified encoding. - UrlEncodedFormEntity(List<? extends NameValuePair>) - Constructor for class org.apache.http.client.entity.UrlEncodedFormEntity
-
Constructs a new
UrlEncodedFormEntitywith the list of parameters with the default encoding ofHTTP.DEFAULT_CONTENT_CHARSET - UrlEncodedFormEntity(List<? extends NameValuePair>, String) - Constructor for class org.apache.http.client.entity.UrlEncodedFormEntity
-
Constructs a new
UrlEncodedFormEntitywith the list of parameters in the specified encoding. - URLEncodedUtils - Class in org.apache.http.client.utils
-
A collection of utilities for encoding URLs.
- URLEncodedUtils() - Constructor for class org.apache.http.client.utils.URLEncodedUtils
- useProtocol(String) - Method in class org.apache.http.conn.ssl.SSLContextBuilder
- USER_TOKEN - Static variable in class org.apache.http.client.protocol.HttpClientContext
-
Attribute name of a
Objectobject that represents the actual user identity such as userPrincipal. - UsernamePasswordCredentials - Class in org.apache.http.auth
-
Simple
Credentialsimplementation based on a user name / password pair. - UsernamePasswordCredentials(String) - Constructor for class org.apache.http.auth.UsernamePasswordCredentials
-
The constructor with the username and password combined string argument.
- UsernamePasswordCredentials(String, String) - Constructor for class org.apache.http.auth.UsernamePasswordCredentials
-
The constructor with the username and password arguments.
- UserTokenHandler - Interface in org.apache.http.client
-
A handler for determining if the given execution context is user specific or not.
- useSSL() - Method in class org.apache.http.conn.ssl.SSLContextBuilder
- useSystemProperties() - Method in class org.apache.http.impl.client.HttpClientBuilder
-
Use system properties when creating and configuring default implementations.
- useTLS() - Method in class org.apache.http.conn.ssl.SSLContextBuilder
V
- validate(Cookie, CookieOrigin) - Method in interface org.apache.http.cookie.CookieAttributeHandler
-
Peforms cookie validation for the given attribute value.
- validate(Cookie, CookieOrigin) - Method in interface org.apache.http.cookie.CookieSpec
-
Validate the cookie according to validation rules defined by the cookie specification.
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.AbstractCookieAttributeHandler
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.BasicDomainHandler
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.BasicPathHandler
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.BestMatchSpec
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.CookieSpecBase
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.NetscapeDomainHandler
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.PublicSuffixFilter
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2109DomainHandler
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2109Spec
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2109VersionHandler
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965CommentUrlAttributeHandler
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965DiscardAttributeHandler
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965DomainAttributeHandler
-
Validate cookie domain attribute.
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965PortAttributeHandler
-
Validate cookie port attribute.
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965Spec
- validate(Cookie, CookieOrigin) - Method in class org.apache.http.impl.cookie.RFC2965VersionAttributeHandler
-
validate cookie version attribute.
- valueOf(String) - Static method in enum org.apache.http.auth.AuthProtocolState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.http.auth.ChallengeState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.http.conn.routing.RouteInfo.LayerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.http.conn.routing.RouteInfo.TunnelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.http.impl.cookie.BrowserCompatSpecFactory.SecurityLevel
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.http.auth.AuthProtocolState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.http.auth.ChallengeState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.http.conn.routing.RouteInfo.LayerType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.http.conn.routing.RouteInfo.TunnelType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.http.impl.cookie.BrowserCompatSpecFactory.SecurityLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verify(String, String[], String[]) - Method in class org.apache.http.conn.ssl.AllowAllHostnameVerifier
- verify(String, String[], String[]) - Method in class org.apache.http.conn.ssl.BrowserCompatHostnameVerifier
- verify(String, String[], String[]) - Method in class org.apache.http.conn.ssl.StrictHostnameVerifier
- verify(String, String[], String[]) - Method in interface org.apache.http.conn.ssl.X509HostnameVerifier
-
Checks to see if the supplied hostname matches any of the supplied CNs or "DNS" Subject-Alts.
- verify(String, String[], String[], boolean) - Method in class org.apache.http.conn.ssl.AbstractVerifier
- verify(String, X509Certificate) - Method in class org.apache.http.conn.ssl.AbstractVerifier
- verify(String, X509Certificate) - Method in interface org.apache.http.conn.ssl.X509HostnameVerifier
-
Verifies that the host name is an acceptable match with the server's authentication scheme based on the given
X509Certificate. - verify(String, SSLSession) - Method in class org.apache.http.conn.ssl.AbstractVerifier
- verify(String, SSLSocket) - Method in class org.apache.http.conn.ssl.AbstractVerifier
- verify(String, SSLSocket) - Method in interface org.apache.http.conn.ssl.X509HostnameVerifier
-
Verifies that the host name is an acceptable match with the server's authentication scheme based on the given
SSLSocket. - VERSION_ATTR - Static variable in interface org.apache.http.cookie.ClientCookie
- VIRTUAL_HOST - Static variable in interface org.apache.http.client.params.ClientPNames
-
Deprecated.Defines the virtual host to be used in the
Hostrequest header instead of the physical host.
W
- Wire - Class in org.apache.http.impl.conn
-
Logs data to the wire LOG.
- Wire(Log) - Constructor for class org.apache.http.impl.conn.Wire
- Wire(Log, String) - Constructor for class org.apache.http.impl.conn.Wire
- wrap(HttpRequest) - Static method in class org.apache.http.client.methods.HttpRequestWrapper
- wrappedStream - Variable in class org.apache.http.conn.EofSensorInputStream
-
The wrapped input stream, while accessible.
- writeTo(OutputStream) - Method in class org.apache.http.client.entity.GzipCompressingEntity
- WWW_AUTH - Static variable in class org.apache.http.auth.AUTH
-
The www authenticate challange header.
- WWW_AUTH_RESP - Static variable in class org.apache.http.auth.AUTH
-
The www authenticate response header.
X
- X509HostnameVerifier - Interface in org.apache.http.conn.ssl
-
Interface for checking if a hostname matches the names stored inside the server's X.509 certificate.
All Classes All Packages