T - the result type of request execution.@Deprecated public interface HttpAsyncRequestExecutionHandler<T> extends HttpAsyncRequestProducer, HttpAsyncResponseConsumer<T>
HttpAsyncRequestExecutionHandler represents a callback interface
that combines functionality of HttpAsyncRequestProducer and
HttpAsyncResponseConsumer and is capable of handling logically
related series of HTTP request / response exchanges.| Modifier and Type | Method and Description |
|---|---|
ConnectionReuseStrategy |
getConnectionReuseStrategy()
Deprecated.
Returns
ConnectionReuseStrategy implementation to be used
to determine whether or not the underlying connection can be kept alive
after a particular HTTP request / response exchange. |
HttpContext |
getContext()
Deprecated.
Returns shared
HttpContext instance. |
HttpProcessor |
getHttpProcessor()
Deprecated.
Returns
HttpProcessor implementation to be used to process
HTTP request and response messages for protocol compliance. |
failed, generateRequest, getTarget, isRepeatable, produceContent, requestCompleted, resetRequestconsumeContent, failed, getException, getResult, isDone, responseCompleted, responseReceivedcancelHttpContext getContext()
HttpContext instance.HttpProcessor getHttpProcessor()
HttpProcessor implementation to be used to process
HTTP request and response messages for protocol compliance.ConnectionReuseStrategy getConnectionReuseStrategy()
ConnectionReuseStrategy implementation to be used
to determine whether or not the underlying connection can be kept alive
after a particular HTTP request / response exchange.Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.