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 |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
BoundRequestBuilder.execute(AsyncHandler<T> handler) |
<T> ListenableFuture<T> |
DefaultAsyncHttpClient.executeRequest(Request request,
AsyncHandler<T> handler) |
<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> |
AsyncHttpClient.executeRequest(RequestBuilder requestBuilder,
AsyncHandler<T> handler)
Execute an HTTP request.
|
Modifier and Type | Method and Description |
---|---|
AsyncHandler<T> |
FilterContext.getAsyncHandler() |
AsyncHandler<T> |
FilterContext.FilterContextBuilder.getAsyncHandler() |
static <T> AsyncHandler<T> |
ReleasePermitOnComplete.wrap(AsyncHandler<T> handler,
Semaphore available)
Wrap handler to release the permit of the semaphore on
onCompleted() . |
Modifier and Type | Method and 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 on
onCompleted() . |
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. |
interface |
StreamedAsyncHandler<T>
AsyncHandler that uses reactive streams to handle the request.
|
Modifier and Type | Class and 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
|
Modifier and Type | Class and Description |
---|---|
class |
ResumableAsyncHandler
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 occurred. |
Constructor and Description |
---|
ResumableAsyncHandler(AsyncHandler<Response> decoratedAsyncHandler) |
ResumableAsyncHandler(long byteTransferred,
AsyncHandler<Response> decoratedAsyncHandler) |
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(Request originalRequest,
AsyncHandler<V> asyncHandler,
NettyRequest nettyRequest,
int maxRetry,
ChannelPoolPartitioning connectionPoolPartitioning,
ConnectionSemaphore connectionSemaphore,
ProxyServer proxyServer) |
Modifier and Type | Method and Description |
---|---|
void |
ChannelManager.tryToOfferChannelToPool(io.netty.channel.Channel channel,
AsyncHandler<?> asyncHandler,
boolean keepAlive,
Object partitionKey) |
Constructor and Description |
---|
NettyChannelConnector(InetAddress localAddress,
List<InetSocketAddress> remoteAddresses,
AsyncHandler<?> asyncHandler,
AsyncHttpClientState clientState) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
NettyRequestSender.sendRequest(Request request,
AsyncHandler<T> asyncHandler,
NettyResponseFuture<T> future) |
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<List<InetSocketAddress>> |
RequestHostnameResolver.resolve(io.netty.resolver.NameResolver<InetAddress> nameResolver,
InetSocketAddress unresolvedAddress,
AsyncHandler<?> asyncHandler) |
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 © 2021. All rights reserved.