| Package | Description |
|---|---|
| org.asynchttpclient | |
| org.asynchttpclient.handler | |
| org.asynchttpclient.netty.request |
| Class and Description |
|---|
| ProgressAsyncHandler
An extended
AsyncHandler with two extra callback who get invoked during the content upload to a remote server. |
| Class and Description |
|---|
| AsyncHandlerExtensions
This interface hosts new low level callback methods on
AsyncHandler. |
| 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.
|
| ProgressAsyncHandler
An extended
AsyncHandler with two extra callback who get invoked during the content upload to a remote server. |
| TransferCompletionHandler
A
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(HttpHeaders headers) { } public void onResponseHeadersReceived(HttpHeaders headers) { } public void onBytesReceived(ByteBuffer buffer) { } public void onBytesSent(long amount, long current, long total) { } public void onRequestResponseCompleted() { } public void onThrowable(Throwable t) { } }); Response response = httpClient.prepareGet("http://...").execute(tl).get(); |
| TransferListener
A simple interface an application can implements in order to received byte transfer information.
|
| Class and Description |
|---|
| ProgressAsyncHandler
An extended
AsyncHandler with two extra callback who get invoked during the content upload to a remote server. |
Copyright © 2017. All Rights Reserved.