Package | Description |
---|---|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.http.nio |
Core HTTP transport APIs based on the asynchronous, event driven I/O model.
|
org.apache.hc.core5.http.nio.support |
Support classes for the asynchronous I/O model.
|
org.apache.hc.core5.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
org.apache.hc.core5.reactive | |
org.apache.hc.core5.testing.nio |
Modifier and Type | Method and Description |
---|---|
<T> Future<T> |
HttpAsyncRequester.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
Timeout timeout,
HttpContext context,
FutureCallback<T> callback) |
<T> Future<T> |
HttpAsyncRequester.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
Timeout timeout,
FutureCallback<T> callback) |
<T> Future<T> |
HttpAsyncRequester.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
Timeout timeout,
HttpContext context,
FutureCallback<T> callback) |
Modifier and Type | Method and Description |
---|---|
<T> Future<T> |
AsyncClientEndpoint.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
FutureCallback<T> callback)
Initiates a message exchange using the given request producer and response consumer.
|
<T> Future<T> |
AsyncClientEndpoint.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context,
FutureCallback<T> callback)
Initiates message exchange using the given request producer and response consumer.
|
<T> Future<T> |
AsyncClientEndpoint.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HttpContext context,
FutureCallback<T> callback)
Initiates message exchange using the given request producer and response consumer.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAsyncResponseConsumer<T,E>
Abstract asynchronous response consumer that makes use of
AsyncEntityConsumer
to process response message content. |
class |
BasicResponseConsumer<T>
Basic implementation of
AsyncResponseConsumer that represents response message as
a Message and relies on a AsyncEntityConsumer to process response entity
stream. |
Constructor and Description |
---|
AbstractAsyncPushHandler(AsyncResponseConsumer<T> responseConsumer) |
BasicClientExchangeHandler(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
FutureCallback<T> resultCallback) |
Modifier and Type | Method and Description |
---|---|
<T> Future<T> |
H2MultiplexingRequester.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
Timeout timeout,
HttpContext context,
FutureCallback<T> callback) |
<T> Future<T> |
H2MultiplexingRequester.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
Timeout timeout,
FutureCallback<T> callback) |
<T> Future<T> |
H2MultiplexingRequester.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
Timeout timeout,
HttpContext context,
FutureCallback<T> callback) |
Modifier and Type | Class and Description |
---|---|
class |
ReactiveResponseConsumer
An
AsyncResponseConsumer that publishes the response body through
a Publisher , as defined by the Reactive Streams specification. |
Modifier and Type | Method and Description |
---|---|
<T> Future<T> |
ClientSessionEndpoint.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
FutureCallback<T> callback) |
<T> Future<T> |
ClientSessionEndpoint.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context,
FutureCallback<T> callback) |
<T> Future<T> |
ClientSessionEndpoint.execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HttpContext context,
FutureCallback<T> callback) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.