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 | Class and Description |
---|---|
class |
AsyncHandlerWrapper<T> |
Modifier and Type | Method and Description |
---|---|
AsyncHandler<T> |
FilterContext.getAsyncHandler() |
AsyncHandler<T> |
FilterContext.FilterContextBuilder.getAsyncHandler() |
Modifier and Type | Method and Description |
---|---|
FilterContext.FilterContextBuilder<T> |
FilterContext.FilterContextBuilder.asyncHandler(AsyncHandler<T> asyncHandler) |
Constructor and Description |
---|
AsyncHandlerWrapper(AsyncHandler<T> asyncHandler,
Semaphore available) |
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 |
ExtendedAsyncHandler<T> |
class |
TransferCompletionHandler
|
Modifier and Type | Method and Description |
---|---|
static AsyncHandlerExtensions |
AsyncHandlerExtensionsUtils.toAsyncHandlerExtensions(AsyncHandler<?> asyncHandler) |
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,
ProxyServer proxyServer) |
Modifier and Type | Method and Description |
---|---|
void |
ChannelManager.tryToOfferChannelToPool(io.netty.channel.Channel channel,
AsyncHandler<?> asyncHandler,
boolean keepAlive,
Object partitionKey) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
Protocol.exitAfterProcessingFilters(io.netty.channel.Channel channel,
NettyResponseFuture<?> future,
AsyncHandler<?> handler,
HttpResponseStatus status,
HttpResponseHeaders responseHeaders) |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
NettyRequestSender.sendRequest(Request request,
AsyncHandler<T> asyncHandler,
NettyResponseFuture<T> future,
boolean reclaimCache) |
Constructor and Description |
---|
NettyChannelConnector(InetAddress localAddress,
List<InetSocketAddress> remoteAddresses,
AsyncHandler<?> asyncHandler) |
ProgressListener(AsyncHandler<?> asyncHandler,
NettyResponseFuture<?> future,
boolean notifyHeaders,
long expectedTotal) |
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<List<InetSocketAddress>> |
RequestNameResolver.resolve(Request request,
ProxyServer proxy,
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 © 2015. All Rights Reserved.