Uses of Interface
org.asynchttpclient.AsyncHandler
-
-
Uses of AsyncHandler in org.asynchttpclient
Classes in org.asynchttpclient that implement AsyncHandler Modifier and Type Class Description class
AsyncCompletionHandler<T>
AnAsyncHandler
augmented with anAsyncCompletionHandler.onCompleted(Response)
convenience method which gets called when theResponse
processing is finished.class
AsyncCompletionHandlerBase
SimpleAsyncHandler
of typeResponse
Methods in org.asynchttpclient with parameters of type AsyncHandler Modifier and Type Method Description <T> ListenableFuture<T>
BoundRequestBuilder. execute(AsyncHandler<T> handler)
<T> ListenableFuture<T>
AsyncHttpClient. executeRequest(RequestBuilder requestBuilder, AsyncHandler<T> handler)
Execute an HTTP request.<T> ListenableFuture<T>
AsyncHttpClient. executeRequest(Request request, AsyncHandler<T> handler)
Execute an HTTP request.<T> ListenableFuture<T>
DefaultAsyncHttpClient. executeRequest(RequestBuilder requestBuilder, AsyncHandler<T> handler)
<T> ListenableFuture<T>
DefaultAsyncHttpClient. executeRequest(Request request, AsyncHandler<T> handler)
-
Uses of AsyncHandler in org.asynchttpclient.filter
Methods in org.asynchttpclient.filter that return AsyncHandler Modifier and Type Method Description AsyncHandler<T>
FilterContext.FilterContextBuilder. getAsyncHandler()
AsyncHandler<T>
FilterContext. getAsyncHandler()
static <T> AsyncHandler<T>
ReleasePermitOnComplete. wrap(AsyncHandler<T> handler, Semaphore available)
Wrap handler to release the permit of the semaphore ononCompleted()
.Methods in org.asynchttpclient.filter with parameters of type AsyncHandler Modifier and Type Method Description FilterContext.FilterContextBuilder<T>
FilterContext.FilterContextBuilder. asyncHandler(AsyncHandler<T> asyncHandler)
static <T> AsyncHandler<T>
ReleasePermitOnComplete. wrap(AsyncHandler<T> handler, Semaphore available)
Wrap handler to release the permit of the semaphore ononCompleted()
. -
Uses of AsyncHandler in org.asynchttpclient.handler
Subinterfaces of AsyncHandler in org.asynchttpclient.handler Modifier and Type Interface Description interface
ProgressAsyncHandler<T>
An extendedAsyncHandler
with two extra callback who get invoked during the content upload to a remote server.Classes in org.asynchttpclient.handler that implement AsyncHandler Modifier and Type Class Description 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.class
TransferCompletionHandler
-
Uses of AsyncHandler in org.asynchttpclient.handler.resumable
Classes in org.asynchttpclient.handler.resumable that implement AsyncHandler Modifier and Type Class Description class
ResumableAsyncHandler
AnAsyncHandler
which support resumable download, e.g when used with anResumableIOExceptionFilter
, this handler can resume the download operation at the point it was before the interruption occurred.Constructors in org.asynchttpclient.handler.resumable with parameters of type AsyncHandler Constructor Description ResumableAsyncHandler(long byteTransferred, AsyncHandler<Response> decoratedAsyncHandler)
ResumableAsyncHandler(AsyncHandler<Response> decoratedAsyncHandler)
-
Uses of AsyncHandler in org.asynchttpclient.netty
Methods in org.asynchttpclient.netty that return AsyncHandler Modifier and Type Method Description AsyncHandler<V>
NettyResponseFuture. getAsyncHandler()
Methods in org.asynchttpclient.netty with parameters of type AsyncHandler Modifier and Type Method Description void
NettyResponseFuture. setAsyncHandler(AsyncHandler<V> asyncHandler)
Constructors in org.asynchttpclient.netty with parameters of type AsyncHandler Constructor Description NettyResponseFuture(Request originalRequest, AsyncHandler<V> asyncHandler, NettyRequest nettyRequest, int maxRetry, ChannelPoolPartitioning connectionPoolPartitioning, ConnectionSemaphore connectionSemaphore, ProxyServer proxyServer)
-
Uses of AsyncHandler in org.asynchttpclient.netty.channel
Methods in org.asynchttpclient.netty.channel with parameters of type AsyncHandler Modifier and Type Method Description void
ChannelManager. tryToOfferChannelToPool(io.netty.channel.Channel channel, AsyncHandler<?> asyncHandler, boolean keepAlive, Object partitionKey)
Constructors in org.asynchttpclient.netty.channel with parameters of type AsyncHandler Constructor Description NettyChannelConnector(InetAddress localAddress, List<InetSocketAddress> remoteAddresses, AsyncHandler<?> asyncHandler, AsyncHttpClientState clientState)
-
Uses of AsyncHandler in org.asynchttpclient.netty.handler.intercept
Methods in org.asynchttpclient.netty.handler.intercept with parameters of type AsyncHandler Modifier and Type Method Description boolean
Interceptors. exitAfterIntercept(io.netty.channel.Channel channel, NettyResponseFuture<?> future, AsyncHandler<?> handler, io.netty.handler.codec.http.HttpResponse response, HttpResponseStatus status, io.netty.handler.codec.http.HttpHeaders responseHeaders)
boolean
ResponseFiltersInterceptor. exitAfterProcessingFilters(io.netty.channel.Channel channel, NettyResponseFuture<?> future, AsyncHandler<?> handler, HttpResponseStatus status, io.netty.handler.codec.http.HttpHeaders responseHeaders)
-
Uses of AsyncHandler in org.asynchttpclient.netty.request
Methods in org.asynchttpclient.netty.request with parameters of type AsyncHandler Modifier and Type Method Description <T> ListenableFuture<T>
NettyRequestSender. sendRequest(Request request, AsyncHandler<T> asyncHandler, NettyResponseFuture<T> future)
-
Uses of AsyncHandler in org.asynchttpclient.resolver
Methods in org.asynchttpclient.resolver with parameters of type AsyncHandler Modifier and Type Method Description io.netty.util.concurrent.Future<List<InetSocketAddress>>
RequestHostnameResolver. resolve(io.netty.resolver.NameResolver<InetAddress> nameResolver, InetSocketAddress unresolvedAddress, AsyncHandler<?> asyncHandler)
-
Uses of AsyncHandler in org.asynchttpclient.webdav
Classes in org.asynchttpclient.webdav that implement AsyncHandler Modifier and Type Class Description class
WebDavCompletionHandlerBase<T>
SimpleAsyncHandler
that add support for WebDav's response manipulation. -
Uses of AsyncHandler in org.asynchttpclient.ws
Classes in org.asynchttpclient.ws that implement AsyncHandler Modifier and Type Class Description class
WebSocketUpgradeHandler
AnAsyncHandler
which is able to execute WebSocket upgrade.
-