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, resetRequest
consumeContent, failed, getException, getResult, isDone, responseCompleted, responseReceived
cancel
HttpContext 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 © 2010 - 2020 Adobe. All Rights Reserved