Client HTTP communication APIs.
Interface Summary Interface Description AuthCacheAbstract
AuthenticationHandler Deprecated.(4.2) use
AuthenticationStrategy/** 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. BackoffManagerRepresents a controller that dynamically adjusts the size of an available connection pool based on feedback from using the connections. ConnectionBackoffStrategyWhen 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.
CookieStoreThis interface represents an abstract store for
CredentialsProviderAbstract credentials provider that maintains a collection of user credentials. HttpClientThis interface represents only the most basic contract for HTTP request execution. HttpRequestRetryHandlerA handler for determining if an HttpRequest should be retried after a recoverable exception during execution. RedirectHandler Deprecated.(4.1) use
RedirectStrategyA 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. RequestDirector Deprecated.(4.3) No longer used ResponseHandler<T>Handler that encapsulates the process of generating a response object from a
ServiceUnavailableRetryStrategyStrategy 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. UserTokenHandlerA handler for determining if the given execution context is user specific or not.
Exception Summary Exception Description CircularRedirectExceptionSignals a circular redirect ClientProtocolExceptionSignals an error in the HTTP protocol. HttpResponseExceptionSignals a non 2xx HTTP response. NonRepeatableRequestExceptionSignals failure to retry the request due to non-repeatable request entity. RedirectExceptionSignals violation of HTTP specification caused by an invalid redirect