package

com.ning.http.client

Interfaces

AsyncHandler<T> An asynchronous handler or callback which gets invoked as soon as some data is available when processing an asynchronous response. 
AsyncHttpProvider Interface to be used when implementing custom asynchronous I/O HTTP client. 
AsyncHttpProviderConfig<U, V> AsyncHttpProvider proprietary configurable properties. 
Body A request body. 
BodyConsumer A simple API to be used with the SimpleAsyncHttpClient class in order to process response's bytes. 
BodyGenerator Creates a request body. 
ConnectionsPool<U, V> An interface used by an AsyncHttpProvider for caching http connections. 
ListenableFuture<V> Extended Future 
Part Interface for the parts in a multipart request. 
ProgressAsyncHandler<T> An extended AsyncHandler with two extra callback who get invoked during the content upload to a remote server. 
RandomAccessBody A request body which supports random access to its contents. 
Request The Request class can be used to construct HTTP request:
   Request r = new RequestBuilder().setUrl("url")
                      .setRealm((new Realm.RealmBuilder()).setPrincipal(user)
                      .setPassword(admin)
                      .setRealmName("MyRealm")
                      .setScheme(Realm.AuthScheme.DIGEST).build());
   r.execute();
 
 
Request.EntityWriter An entity that can be used to manipulate the Request's body output before it get sent. 
Response Represents the asynchronous HTTP response callback for an AsyncCompletionHandler  
ResumableBodyConsumer  
SSLEngineFactory Factory that creates an SSLEngine to be used for a single SSL connection. 
SignatureCalculator Interface that allows injecting signature calculator into RequestBuilder so that signature calculation and inclusion can be added as a pluggable component. 
SimpleAsyncHttpClient.DerivedBuilder This interface contains possible configuration changes for a derived SimpleAsyncHttpClient. 
ThrowableHandler Simple Throwable handler to be used with SimpleAsyncHttpClient  
UpgradeHandler<T> Invoked when an UPGRADE is returned. 

Classes

AsyncCompletionHandler<T> An AsyncHandler augmented with an onCompleted(Response) convenience method which gets called when the Response processing is finished. 
AsyncCompletionHandlerBase Simple AsyncHandler of type Response  
AsyncHttpClient This class support asynchronous and synchronous HTTP request. 
AsyncHttpClient.BoundRequestBuilder  
AsyncHttpClientConfig Configuration class to use with a AsyncHttpClient
AsyncHttpClientConfig.Builder Builder for an AsyncHttpClient  
AsyncHttpClientConfigBean Simple JavaBean version of AsyncHttpClientConfig  
BodyDeferringAsyncHandler An AsyncHandler that returns Response (without body, so status code and headers only) as fast as possible for inspection, but leaves you the option to defer body consumption. 
BodyDeferringAsyncHandler.BodyDeferringInputStream A simple helper class that is used to perform automatic "join" for async download and the error checking of the Future of the request. 
ByteArrayPart  
Cookie  
FilePart A file multipart part. 
FluentCaseInsensitiveStringsMap An implementation of a String -> List<String> map that adds a fluent interface, i.e. 
FluentStringsMap An implementation of a String -> List<String> map that adds a fluent interface, i.e. 
HttpContent Base class for callback class used by AsyncHandler  
HttpResponseBodyPart A callback class used when an HTTP response body is received. 
HttpResponseHeaders A class that represent the HTTP headers. 
HttpResponseStatus A class that represent the HTTP response' status line (code + text)  
PerRequestConfig This class is deprecated. Per request properties are set on request directly or via builder. This class will be gone in next major release.  
ProxyServer Represents a proxy server. 
Realm This class is required when authentication is needed. 
Realm.RealmBuilder A builder for Realm  
RequestBuilder Builder for a Request
RequestBuilderBase<T extends RequestBuilderBase<T>> Builder for Request 
Response.ResponseBuilder  
SimpleAsyncHttpClient Simple implementation of AsyncHttpClient and it's related builders (AsyncHttpClientConfig, Realm, ProxyServer and AsyncHandler
SimpleAsyncHttpClient.Builder  
StringPart A string multipart part. 

Enums

Exceptions

MaxRedirectException Thrown when the getMaxRedirects() has been reached.