Package | Description |
---|---|
org.apache.hc.core5.http.nio.support |
Support classes for the asynchronous I/O model.
|
org.apache.hc.core5.reactive |
Modifier and Type | Method and Description |
---|---|
void |
BasicRequestConsumer.consumeRequest(HttpRequest request,
EntityDetails entityDetails,
HttpContext httpContext,
FutureCallback<Message<HttpRequest,T>> resultCallback) |
void |
BasicResponseConsumer.consumeResponse(HttpResponse response,
EntityDetails entityDetails,
HttpContext httpContext,
FutureCallback<Message<HttpResponse,T>> resultCallback) |
Modifier and Type | Method and Description |
---|---|
Future<Message<HttpResponse,org.reactivestreams.Publisher<ByteBuffer>>> |
ReactiveResponseConsumer.getResponseFuture() |
Constructor and Description |
---|
ReactiveResponseConsumer(FutureCallback<Message<HttpResponse,org.reactivestreams.Publisher<ByteBuffer>>> responseCallback)
Creates a
ReactiveResponseConsumer that will call back the supplied FutureCallback with a
streamable response. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.