Top Description Interfaces Classes
[default module]

Package org.apache.http.client


Client HTTP communication APIs.

Interface Summary

Modifier and TypeInterface and Description
public interface
AuthCache

Abstract AuthScheme cache.

public interface
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.
public interface
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.

public interface
BackoffManager

Represents a controller that dynamically adjusts the size of an available connection pool based on feedback from using the connections.

public interface
ConnectionBackoffStrategy

When managing a dynamic number of connections for a given route, this strategy assesses whether a given request execution outcome should result in a backoff signal or not, based on either examining the Throwable that resulted or by examining the resulting response (e.g. for its status code).

public interface
CookieStore

This interface represents an abstract store for Cookie objects.

public interface
CredentialsProvider

Abstract credentials provider that maintains a collection of user credentials.

public interface
HttpClient

This interface represents only the most basic contract for HTTP request execution.

public interface
HttpRequestRetryHandler

A handler for determining if an HttpRequest should be retried after a recoverable exception during execution.

public interface
RedirectHandler

Deprecated (4.1) use RedirectStrategy
A handler for determining if an HTTP request should be redirected to a new location in response to an HTTP response received from the target server.
public interface
RedirectStrategy

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.

public interface
RequestDirector

Deprecated (4.3) No longer used
A client-side request director.
public interface
ResponseHandler<T>

Handler that encapsulates the process of generating a response object from a HttpResponse.

public interface
ServiceUnavailableRetryStrategy

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.

public interface
UserTokenHandler

A handler for determining if the given execution context is user specific or not.

Class Summary

Modifier and TypeClass and Description
public class
CircularRedirectException

Signals a circular redirect

public class
ClientProtocolException

Signals an error in the HTTP protocol.

public class
HttpResponseException

Signals a non 2xx HTTP response.

public class
NonRepeatableRequestException

Signals failure to retry the request due to non-repeatable request entity.

public class
RedirectException

Signals violation of HTTP specification caused by an invalid redirect