|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Throwable to the AsyncHandler or Future
ListenableFuture.HttpContent in order to build a Response
IOExceptionFilter that will be invoked when an IOException
occurs during the download/upload operations.
AsyncHttpProvider
AsyncHttpProvider
RequestFilter that will be invoked before AsyncHttpClient.executeRequest(Request)
ResponseFilter that will be invoked as soon as the response is
received, and before AsyncHandler.onStatusReceived(HttpResponseStatus).
TransferListener
Request based on the last valid bytes
position.
AsyncHttpProvider for Apache Http Client 3.1AsyncHandler augmented with an AsyncCompletionHandler.onCompleted(Response) convenience method which gets called
when the Response processing is finished.AsyncHandler of type ResponseAsyncHandler.onStatusReceived(HttpResponseStatus),
AsyncHandler.onHeadersReceived(HttpResponseHeaders),
AsyncHandler.onBodyPartReceived(HttpResponseBodyPart), which could be invoked multiple times,
AsyncHandler.onCompleted(), once the response has been fully read.
Returning a AsyncHandler.STATE.ABORT from any of those callback methods will interrupt asynchronous response
processing, after that only AsyncHandler.onCompleted() is going to be called.AsyncHttpClientConfig configuration.
AsyncHttpProvider and
the default AsyncHttpClientConfig configuration.
AsyncHttpClientConfig configuration and the
AsyncHttpClient.DEFAULT_PROVIDER
AsyncHttpClientConfig configuration and
and a AsyncHttpProvider.
AsyncHttpClientConfig configuration and
and a AsyncHttpProvider class' name.
AsyncHttpClient.AsyncHttpClientAsyncHttpClientConfigAsyncHttpProvider proprietary configurable properties.AsyncHttpProvider common utilities.SimpleAsyncHttpClient class in order to process response's bytes.AsyncHttpClientConfig
Realm
Response instance
BodyGenerator backed by a byte array.RequestBuilder.build() method is called.
Future cannot be recovered.
DefaultChannelGroup that's used mainly as a cleanup container, where CleanupChannelGroup.close() is only
supposed to be called once.AsyncHttpProvider for caching http connections.FileInputStream for the current filename.
AsyncHttpClient to execute requests.
AsyncHandler
Callable and if there is no exception, mark this Future as done and release the internal lock.
AsyncHandler when the response arrive.
Runnable, Executor) pairs that guarantees
that every Runnable that is added using the add method will be
executed in its associated Executor after ExecutionList.run() is called.ExecutorService an AsyncHttpClient use for handling
asynchronous response.
AsyncHttpProvider will invoke IOExceptionFilter.filter(com.ning.http.client.filter.FilterContext) and will
use the returned FilterContext to replay the Request or abort the processing.
AsyncHttpProvider will invoke RequestFilter.filter(com.ning.http.client.filter.FilterContext) and will use the
returned FilterContext.getRequest() and FilterContext.getAsyncHandler() to continue the request
processing.
AsyncHttpProvider will invoke ResponseFilter.filter(com.ning.http.client.filter.FilterContext) and will use the
returned FilterContext.replayRequest() and FilterContext.getAsyncHandler() to decide if the response
processing can continue.
FilterContext can be used to decorate Request and AsyncHandler from a list of RequestFilter.FilterContext.FilterContextBuilder instead
FilterContext.FilterContextBuilder instead
FilterContext.FilterContextBuilder instead
FilterContext.FilterContextBuilder instead
AsyncHandler to interrupt invocation of
the RequestFilter and ResponseFilter.String -> List<String> map that adds a fluent interface, i.e.String -> List<String> map that adds a fluent interface, i.e.ConnectionsPool support enabled.
Request body
Request body
Request body
Request body
Request headers
Request headers
Request headers
Request headers
BodyDeferringAsyncHandler.getResponse().
AsyncHandler
AsyncHttpProviderConfig
ByteBuffer that wraps the actual bytes read from the response's chunk.
Part.getPartBoundary()
AsyncHttpClientConfig
ConnectionsPool
AsyncHttpClient can wait when connecting to a remote host
Cookie.
File to upload.
List of the response header value.
HostnameVerifier
AsyncHttpClient will keep connection
in pool.
AsyncHttpClientConfig.getIdleConnectionInPoolTimeoutInMs()
IOException
IOException
AsyncHttpClientConfig.getAllowPoolingConnection()
Future#get() method.
AsyncHttpClient can handle.
IOException is throw by the remote server
AsyncHttpClient can handle.
Part
AsyncHttpProvider
ProxyServer used by an AsyncHttpClient
ProxyServer
Realm}
Realm
Request
RequestFilter
AsyncHttpClient wait for a response
ResponseFilter
HttpResponseStatus
SSLContext used for SSL connection.
SSLEngineFactory used for SSL connection.
URI.
AsyncHandler.
AsyncHandler.
AsyncHandler.
AsyncHandler.
AsyncHandler It will return false if the
either AsyncHandler.onStatusReceived(HttpResponseStatus)
or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
AsyncHandler It will return false if the
either AsyncHandler.onStatusReceived(HttpResponseStatus)
or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
AsyncHandler It will return false if the
either AsyncHandler.onStatusReceived(HttpResponseStatus)
or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
AsyncHandler It will return false if the
either AsyncHandler.onStatusReceived(HttpResponseStatus)
or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
AsyncHandler
AsyncHandler
AsyncHandler
AsyncHandler
SimpleAHCTransferListener.onHeaders(String, HeaderMap).AsyncHandlerBodyGenerator which use an InputStream for reading bytes, without having to read the entire
stream in memory.IOException occurs during an http transaction.ExecutorService has been shutdown.
true if all parts are repeatable, false otherwise.
RequestEntity.writeRequest(java.io.OutputStream) can be called more than once.
FutureMap in memory, contains information about the transferred bytes.
Map in memory, contains information about the transferred bytes.
AsyncHttpClientConfig.getMaxRedirects() has been reached.ConnectionsPool based on a ConcurrentHashMapResponse API.Future that can be used to track when an asynchronous HTTP request has been fully processed.SSLEngine.
RandomAccessFile, allowing
resumable file download.
File, String or FileInputStream has been fully
written on the I/O socket.
File, String or FileInputStream has been fully
written on the I/O socket.
File, String or FileInputStream has been fully
written on the I/O socket.
Request body as been progressed.
Request body as been progressed.
Request body wasn't fully written in a single I/O write
operation.
File, String or FileInputStream has been fully
written on the I/O socket.
File, String or FileInputStream has been fully
written on the I/O socket.
File, String or FileInputStream has been fully
written on the I/O socket.
asctime() format.
AsyncHttpClient.BoundRequestBuilder using a Request
Response
AsyncHandler with two extra callback who get invoked during the content upload to a remote server.ResumableAsyncHandler.ResumableProcessor which use a properties file
to store the download index information.RealmScheduledExecutorService used to expire idle connections.
IOExceptionFilter tthat will be invoked when an IOException
occurs during the download/upload operations.
RequestFilter that will be invoked before AsyncHttpClient.executeRequest(Request)
ResponseFilter that will be invoked as soon as the response is
received, and before AsyncHandler.onStatusReceived(HttpResponseStatus).
TransferListener
Request be executed.
Request.RequestAsyncCompletionHandlerAsyncHandler which support resumable download, e.g when used with an ResumableIOExceptionFilter,
this handler can resume the download operation at the point it was before the interruption occured.IOExceptionFilter that replay the current Request using
a ResumableAsyncHandlerResumableAsyncHandlerTransferListener which use a RandomAccessFile for storing the received bytes.Socket.setReuseAddress(boolean)
Map instance which contains information about the current transfer state.
Map instance which contains information about the current transfer state.
ConnectionsPool.
AsyncHttpProviderConfig
RequestBuilderBase.setBody(BodyGenerator) setBody(new InputStreamBodyGenerator(inputStream))
ConnectionsPool
AsyncHttpClient can wait when connecting to a remote host
BodyConsumer after an error status code was received (e.g.
ExecutorService an AsyncHttpClient use for handling
asynchronous response.
HostnameVerifier
AsyncHttpClient will keep connection
idle in pool.
AsyncHttpClientConfig.Builder.setIdleConnectionInPoolTimeoutInMs(int)
AsyncHttpClientConfig.Builder.setAllowPoolingConnection(boolean)
AsyncHttpClient can handle.
AsyncHttpClient can handle.
IOException occurs because of a Network exception.
IOException occurs because of a Network exception.
ProxyServer used by an AsyncHttpClient
Realm that will be used for all requests.
AsyncHttpClient wait for a response
ResumableListener
ScheduledExecutorService used to expire idle connections.
SSLContext for secure connection.
SSLEngineFactory for secure connection.
RequestBuilder so that signature calculation and inclusion can
be added as a pluggable component.SimpleAsyncHttpClient.AsyncHttpClient and it's related builders (AsyncHttpClientConfig,
Realm, ProxyServer and AsyncHandler.SSLEngine to be used for a single SSL connection.RequestFilter throttles requests and block when the number of permits is reached, waiting for
the response to arrives before executing the next request.Throwable handler to be used with SimpleAsyncHttpClientTransferCompletionHandler.TransferAdapter with this listener.
AsyncHandler that can be used to notify a set of TransferListener
AsyncHttpClient client = new AsyncHttpClient();
TransferCompletionHandler tl = new TransferCompletionHandler();
tl.addTransferListener(new TransferListener() {
public void onRequestHeadersSent(FluentCaseInsensitiveStringsMap headers) {
}
public void onResponseHeadersReceived(FluentCaseInsensitiveStringsMap headers) {
}
public void onBytesReceived(ByteBuffer buffer) {
}
public void onBytesSent(ByteBuffer buffer) {
}
public void onRequestResponseCompleted() {
}
public void onThrowable(Throwable t) {
}
});
Response response = httpClient.prepareGet("http://...").execute(tl).get();
Response.getResponseBody() get called.
ByteBuffer
AsyncHandler that add support for WebDav's response manipulation.Response which add support for getting the response's body as an XML document (@link WebDavResponse#getBodyAsXML}OutputStream
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||