Uses of Interface
org.apache.http.nio.protocol.HttpAsyncResponseConsumer
Packages that use HttpAsyncResponseConsumer
Package
Description
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
-
Uses of HttpAsyncResponseConsumer in org.apache.http.nio.protocol
Subinterfaces of HttpAsyncResponseConsumer in org.apache.http.nio.protocolClasses in org.apache.http.nio.protocol that implement HttpAsyncResponseConsumerModifier and TypeClassDescriptionclass
AbstractHttpAsyncResponseConsumer
implementation that relieves its subclasses from having to manage internal state and provides a number of protected event methods that they need to implement.class
Deprecated.(4.3) useBasicAsyncClientExchangeHandler
.class
Basic implementation ofHttpAsyncResponseConsumer
.Fields in org.apache.http.nio.protocol declared as HttpAsyncResponseConsumerModifier and TypeFieldDescriptionprivate final HttpAsyncResponseConsumer
<T> BasicAsyncClientExchangeHandler.responseConsumer
private final HttpAsyncResponseConsumer
<T> BasicAsyncRequestExecutionHandler.responseConsumer
Deprecated.private final HttpAsyncResponseConsumer
<T> HttpAsyncRequester.ConnRequestCallback.responseConsumer
Fields in org.apache.http.nio.protocol with type parameters of type HttpAsyncResponseConsumerModifier and TypeFieldDescriptionprivate final Queue
<HttpAsyncResponseConsumer<T>> PipeliningClientExchangeHandler.responseConsumerQueue
private final AtomicReference
<HttpAsyncResponseConsumer<T>> PipeliningClientExchangeHandler.responseConsumerRef
private final List
<? extends HttpAsyncResponseConsumer<T>> HttpAsyncRequester.ConnPipelinedRequestCallback.responseConsumers
Methods in org.apache.http.nio.protocol with parameters of type HttpAsyncResponseConsumerModifier and TypeMethodDescription<T,
E extends PoolEntry<HttpHost, NHttpClientConnection>>
Future<T> HttpAsyncRequester.execute
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, E poolEntry, ConnPool<HttpHost, E> connPool, HttpContext context, FutureCallback<T> callback) Initiates asynchronous HTTP request execution.<T> Future
<T> HttpAsyncRequester.execute
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, NHttpClientConnection conn) Initiates asynchronous HTTP request execution.<T> Future
<T> HttpAsyncRequester.execute
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, NHttpClientConnection conn, HttpContext context) Initiates asynchronous HTTP request execution.<T> Future
<T> HttpAsyncRequester.execute
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, NHttpClientConnection conn, HttpContext context, FutureCallback<T> callback) Initiates asynchronous HTTP request execution.<T,
E extends PoolEntry<HttpHost, NHttpClientConnection>>
Future<T> HttpAsyncRequester.execute
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, ConnPool<HttpHost, E> connPool) Initiates asynchronous HTTP request execution.<T,
E extends PoolEntry<HttpHost, NHttpClientConnection>>
Future<T> HttpAsyncRequester.execute
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, ConnPool<HttpHost, E> connPool, HttpContext context) Initiates asynchronous HTTP request execution.<T,
E extends PoolEntry<HttpHost, NHttpClientConnection>>
Future<T> HttpAsyncRequester.execute
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, ConnPool<HttpHost, E> connPool, HttpContext context, FutureCallback<T> callback) Initiates asynchronous HTTP request execution.Constructors in org.apache.http.nio.protocol with parameters of type HttpAsyncResponseConsumerModifierConstructorDescriptionBasicAsyncClientExchangeHandler
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback, HttpContext localContext, NHttpClientConnection conn, HttpProcessor httpPocessor, ConnectionReuseStrategy connReuseStrategy) Creates new instance of BasicAsyncRequestExecutionHandler.BasicAsyncClientExchangeHandler
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, HttpContext localContext, NHttpClientConnection conn, HttpProcessor httpPocessor) Creates new instance of BasicAsyncRequestExecutionHandler.BasicAsyncRequestExecutionHandler
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback, HttpContext localContext, HttpProcessor httpPocessor, ConnectionReuseStrategy reuseStrategy, HttpParams params) Deprecated.BasicAsyncRequestExecutionHandler
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, HttpContext localContext, HttpProcessor httpPocessor, ConnectionReuseStrategy reuseStrategy, HttpParams params) Deprecated.(package private)
ConnRequestCallback
(BasicFuture<T> requestFuture, HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, ConnPool<HttpHost, E> connPool, HttpContext context)
HttpAsyncClientExchangeHandler