Uses of Interface
org.asynchttpclient.AsyncHandler
-
-
Uses of AsyncHandler in org.asynchttpclient
Classes in org.asynchttpclient that implement AsyncHandler Modifier and Type Class Description classAsyncCompletionHandler<T>AnAsyncHandleraugmented with anAsyncCompletionHandler.onCompleted(Response)convenience method which gets called when theResponseprocessing is finished.classAsyncCompletionHandlerBaseSimpleAsyncHandlerof typeResponseMethods 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().Constructors in org.asynchttpclient.filter with parameters of type AsyncHandler Constructor Description FilterContextBuilder(AsyncHandler<T> asyncHandler, Request request) -
Uses of AsyncHandler in org.asynchttpclient.handler
Subinterfaces of AsyncHandler in org.asynchttpclient.handler Modifier and Type Interface Description interfaceProgressAsyncHandler<T>An extendedAsyncHandlerwith 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 classBodyDeferringAsyncHandlerAn 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.classTransferCompletionHandler -
Uses of AsyncHandler in org.asynchttpclient.handler.resumable
Classes in org.asynchttpclient.handler.resumable that implement AsyncHandler Modifier and Type Class Description classResumableAsyncHandlerAnAsyncHandlerwhich 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 voidNettyResponseFuture. 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 voidChannelManager. 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 booleanInterceptors. 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)booleanResponseFiltersInterceptor. 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.ws
Classes in org.asynchttpclient.ws that implement AsyncHandler Modifier and Type Class Description classWebSocketUpgradeHandlerAnAsyncHandlerwhich is able to execute WebSocket upgrade.
-