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 |
---|---|
<T> ListenableFuture<T> |
GrizzlyAsyncHttpProvider.execute(Request request,
AsyncHandler<T> asyncHandler) |
Modifier and Type | Field and Description |
---|---|
protected AsyncHandler<V> |
JDKFuture.asyncHandler |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
JDKAsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler) |
Constructor and Description |
---|
JDKDelegateFuture(AsyncHandler<V> asyncHandler,
int responseTimeoutInMs,
JDKFuture<V> delegateFuture,
HttpURLConnection urlConnection) |
JDKFuture(AsyncHandler<V> asyncHandler,
int responseTimeoutInMs,
HttpURLConnection urlConnection) |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
NettyAsyncHttpProvider.execute(Request request,
AsyncHandler<T> asyncHandler) |
Modifier and Type | Method and Description |
---|---|
AsyncHandler<V> |
NettyResponseFuture.getAsyncHandler() |
Modifier and Type | Method and Description |
---|---|
void |
NettyResponseFuture.setAsyncHandler(AsyncHandler<V> asyncHandler) |
Constructor and Description |
---|
NettyResponseFuture(Uri uri,
Request request,
AsyncHandler<V> asyncHandler,
NettyRequest nettyRequest,
int maxRetry,
ConnectionPoolPartitioning connectionPoolPartitioning,
ProxyServer proxyServer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
Protocol.exitAfterProcessingFilters(org.jboss.netty.channel.Channel channel,
NettyResponseFuture<?> future,
AsyncHandler<?> handler,
HttpResponseStatus status,
HttpResponseHeaders responseHeaders) |
Modifier and Type | Method and Description |
---|---|
org.jboss.netty.channel.Channel |
NettyRequestSender.pollAndVerifyCachedChannel(Uri uri,
ProxyServer proxy,
ConnectionPoolPartitioning connectionPoolPartitioning,
AsyncHandler<?> asyncHandler) |
<T> ListenableFuture<T> |
NettyRequestSender.sendRequest(Request request,
AsyncHandler<T> asyncHandler,
NettyResponseFuture<T> future,
boolean reclaimCache) |
Constructor and Description |
---|
ProgressListener(AsyncHttpClientConfig config,
AsyncHandler<?> asyncHandler,
NettyResponseFuture<?> future,
boolean notifyHeaders) |
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 © 2016. All Rights Reserved.