Package com.ning.http.client
package com.ning.http.client
-
ClassDescriptionAn
AsyncHandleraugmented with anAsyncCompletionHandler.onCompleted(Response)convenience method which gets called when theResponseprocessing is finished.SimpleAsyncHandlerof typeResponseAsyncHandler<T>An asynchronous handler or callback which gets invoked as soon as some data is available when processing an asynchronous response.
Callback methods get invoked in the following order:AsyncHandler.onStatusReceived(HttpResponseStatus),AsyncHandler.onHeadersReceived(HttpResponseHeaders),AsyncHandler.onBodyPartReceived(HttpResponseBodyPart), which could be invoked multiple times,AsyncHandler.onCompleted(), once the response has been fully read.This interface hosts new low level callback methods onAsyncHandler.This class support asynchronous and synchronous HTTP request.Configuration class to use with aAsyncHttpClient.Builder for anAsyncHttpClientSimple JavaBean version ofAsyncHttpClientConfigInterface to be used when implementing custom asynchronous I/O HTTP client.AsyncHttpProviderproprietary configurable properties.A request body.A simple API to be used with theSimpleAsyncHttpClientclass in order to process response's bytes.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.A simple helper class that is used to perform automatic "join" for async download and the error checking of the Future of the request.Creates a request body.An implementation of aString -> List<String>map that adds a fluent interface, i.e.An implementation of aString -> List<String>map that adds a fluent interface, i.e.A callback class used when an HTTP response body is received.AnInputStreamthat reads all the elements in an array ofHttpResponseBodyParts.A class that represent the HTTP headers.A class that represent the HTTP response' status line (code + text)ExtendedFutureThrown when theAsyncHttpClientConfig.getMaxRedirects()has been reached.A pair of (name, value) StringAn extendedAsyncHandlerwith two extra callback who get invoked during the content upload to a remote server.Represents a proxy server.Selector for a proxy serverA request body which supports random access to its contents.This class is required when authentication is needed.A builder forRealmThe Request class can be used to construct HTTP request:Builder for aRequest.RequestBuilderBase<T extends RequestBuilderBase<T>>Builder forRequestRepresents the asynchronous HTTP response callback for anAsyncCompletionHandlerInterface that allows injecting signature calculator intoRequestBuilderso that signature calculation and inclusion can be added as a pluggable component.Simple implementation ofAsyncHttpClientand it's related builders (AsyncHttpClientConfig,Realm,ProxyServerandAsyncHandler.This interface contains possible configuration changes for a derived SimpleAsyncHttpClient.Factory that creates anSSLEngineto be used for a single SSL connection.SimpleThrowablehandler to be used withSimpleAsyncHttpClientInvoked when anAsyncHandler.STATE.UPGRADEis returned.