Package | Description |
---|---|
org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpAsyncRequestExecutionHandler<T>
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicAsyncRequestExecutionHandler<T>
Deprecated.
(4.3) use
BasicAsyncClientExchangeHandler . |
class |
BasicAsyncRequestProducer
Basic implementation of
HttpAsyncRequestProducer . |
Modifier and Type | Method and Description |
---|---|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
ConnPool<HttpHost,E> connPool)
Initiates asynchronous HTTP request execution.
|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
ConnPool<HttpHost,E> connPool,
HttpContext context)
Initiates asynchronous HTTP request execution.
|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
ConnPool<HttpHost,E> connPool,
HttpContext context,
FutureCallback<T> callback)
Initiates asynchronous HTTP request execution.
|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
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.
|
Modifier and Type | Method and Description |
---|---|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.executePipelined(HttpHost target,
List<? extends HttpAsyncRequestProducer> requestProducers,
List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
ConnPool<HttpHost,E> connPool,
HttpContext context,
FutureCallback<List<T>> callback)
Initiates asynchronous pipelined HTTP request execution.
|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.executePipelined(List<HttpAsyncRequestProducer> requestProducers,
List<HttpAsyncResponseConsumer<T>> responseConsumers,
E poolEntry,
ConnPool<HttpHost,E> connPool,
HttpContext context,
FutureCallback<List<T>> callback)
Initiates asynchronous pipelined HTTP request execution.
|
Constructor and Description |
---|
PipeliningClientExchangeHandler(List<? extends HttpAsyncRequestProducer> requestProducers,
List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
FutureCallback<List<T>> callback,
HttpContext localContext,
NHttpClientConnection conn,
HttpProcessor httpPocessor,
ConnectionReuseStrategy connReuseStrategy)
Creates new instance of
PipeliningClientExchangeHandler . |
PipeliningClientExchangeHandler(List<? extends HttpAsyncRequestProducer> requestProducers,
List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
HttpContext localContext,
NHttpClientConnection conn,
HttpProcessor httpPocessor)
Creates new instance of
PipeliningClientExchangeHandler . |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.