Uses of Interface
org.apache.hc.core5.http.nio.AsyncResponseConsumer
-
Packages that use AsyncResponseConsumer 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.http.nio.support.classic Support classes for the asynchronous I/O model that emulate behavior of the classic (blocking) I/O model. -
-
Uses of AsyncResponseConsumer in org.apache.hc.core5.http.impl.bootstrap
Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type AsyncResponseConsumer Modifier and Type Method Description <T> java.util.concurrent.Future<T>HttpAsyncRequester. execute(HttpHost target, AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback)<T> java.util.concurrent.Future<T>HttpAsyncRequester. execute(HttpHost target, AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, FutureCallback<T> callback)<T> java.util.concurrent.Future<T>HttpAsyncRequester. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback)<T> java.util.concurrent.Future<T>HttpAsyncRequester. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, FutureCallback<T> callback)<T> java.util.concurrent.Future<T>HttpAsyncRequester. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, HttpContext context, FutureCallback<T> callback) -
Uses of AsyncResponseConsumer in org.apache.hc.core5.http.nio
Methods in org.apache.hc.core5.http.nio with parameters of type AsyncResponseConsumer Modifier and Type Method Description <T> java.util.concurrent.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> java.util.concurrent.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> java.util.concurrent.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. -
Uses of AsyncResponseConsumer in org.apache.hc.core5.http.nio.support
Classes in org.apache.hc.core5.http.nio.support that implement AsyncResponseConsumer Modifier and Type Class Description classAbstractAsyncResponseConsumer<T,E>Abstract asynchronous response consumer that makes use ofAsyncEntityConsumerto process response message content.classBasicResponseConsumer<T>Basic implementation ofAsyncResponseConsumerthat represents response message as aMessageand relies on aAsyncEntityConsumerto process response entity stream.Methods in org.apache.hc.core5.http.nio.support that return AsyncResponseConsumer Modifier and Type Method Description protected abstract AsyncResponseConsumer<T>AbstractClientExchangeHandler. supplyConsumer(HttpResponse response, EntityDetails entityDetails, HttpContext context)Triggered to supply a response consumer to process the incoming response.protected AsyncResponseConsumer<T>BasicClientExchangeHandler. supplyConsumer(HttpResponse response, EntityDetails entityDetails, HttpContext context)Method parameters in org.apache.hc.core5.http.nio.support with type arguments of type AsyncResponseConsumer Modifier and Type Method Description <T> AsyncClientPipeline.ResultStage<T>AsyncClientPipeline.ResponseContentStage. consume(HandlerResolver<HttpResponse,AsyncResponseConsumer<T>> responseConsumerResolver)ConfiguresAsyncResponseConsumerto be used by the pipeline to process the incoming response message stream.Constructors in org.apache.hc.core5.http.nio.support with parameters of type AsyncResponseConsumer Constructor Description AbstractAsyncPushHandler(AsyncResponseConsumer<T> responseConsumer)BasicClientExchangeHandler(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, FutureCallback<T> resultCallback) -
Uses of AsyncResponseConsumer in org.apache.hc.core5.http.nio.support.classic
Classes in org.apache.hc.core5.http.nio.support.classic that implement AsyncResponseConsumer Modifier and Type Class Description classClassicToAsyncResponseConsumer
-