| Modifier and Type | Interface and Description |
|---|---|
interface |
ProgressAsyncHandler<T>
An extended
AsyncHandler with two extra callback who get invoked during the content upload to a remote server. |
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncCompletionHandler<T>
An
AsyncHandler augmented with an AsyncCompletionHandler.onCompleted(Response) convenience method which gets called
when the Response processing is finished. |
class |
AsyncCompletionHandlerBase
Simple
AsyncHandler of type Response |
class |
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.
|
| Modifier and Type | Method and Description |
|---|---|
<T> ListenableFuture<T> |
AsyncHttpClient.BoundRequestBuilder.execute(AsyncHandler<T> handler) |
<T> ListenableFuture<T> |
AsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler)
Execute the request and invoke the
AsyncHandler when the response arrive. |
<T> ListenableFuture<T> |
AsyncHttpClient.executeRequest(Request request,
AsyncHandler<T> handler)
Execute an HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncHandler<T> |
FilterContext.getAsyncHandler()
Return the original or decorated
AsyncHandler |
AsyncHandler<T> |
FilterContext.FilterContextBuilder.getAsyncHandler() |
| Modifier and Type | Method and Description |
|---|---|
FilterContext.FilterContextBuilder<T> |
FilterContext.FilterContextBuilder.asyncHandler(AsyncHandler<T> asyncHandler) |
| Modifier and Type | Class and Description |
|---|---|
class |
TransferCompletionHandler
A
org.asynchttpclient.AsyncHandler that can be used to notify a set of TransferListener
|
| Modifier and Type | Method and Description |
|---|---|
AsyncHandler |
HttpTransactionContext.getAsyncHandler() |
| Modifier and Type | Method and Description |
|---|---|
<T> ListenableFuture<T> |
GrizzlyAsyncHttpProvider.execute(Request request,
AsyncHandler<T> asyncHandler) |
| Modifier and Type | Class and Description |
|---|---|
class |
ResumableAsyncHandler<T>
An
AsyncHandler 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. |
| Constructor and Description |
|---|
ResumableAsyncHandler(AsyncHandler<T> decoratedAsyncHandler) |
ResumableAsyncHandler(long byteTransferred,
AsyncHandler<T> decoratedAsyncHandler) |
| Modifier and Type | Class and Description |
|---|---|
class |
WebDavCompletionHandlerBase<T>
Simple
AsyncHandler that add support for WebDav's response manipulation. |
| Modifier and Type | Class and Description |
|---|---|
class |
WebSocketUpgradeHandler
An
AsyncHandler which is able to execute WebSocket upgrade. |
Copyright © 2019. All Rights Reserved.