Class BasicAsyncRequestExecutionHandler<T>

java.lang.Object
org.apache.http.nio.protocol.BasicAsyncRequestExecutionHandler<T>
Type Parameters:
T - the result type of request execution.
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.http.concurrent.Cancellable, HttpAsyncRequestExecutionHandler<T>, HttpAsyncRequestProducer, HttpAsyncResponseConsumer<T>

@Deprecated public class BasicAsyncRequestExecutionHandler<T> extends Object implements HttpAsyncRequestExecutionHandler<T>
Deprecated.
Basic implementation of HttpAsyncRequestExecutionHandler that executes a single HTTP request / response exchange.
Since:
4.2
  • Constructor Summary

    Constructors
    Constructor
    Description
    BasicAsyncRequestExecutionHandler(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, org.apache.http.concurrent.FutureCallback<T> callback, org.apache.http.protocol.HttpContext localContext, org.apache.http.protocol.HttpProcessor httpPocessor, org.apache.http.ConnectionReuseStrategy reuseStrategy, org.apache.http.params.HttpParams params)
    Deprecated.
     
    BasicAsyncRequestExecutionHandler(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, org.apache.http.protocol.HttpContext localContext, org.apache.http.protocol.HttpProcessor httpPocessor, org.apache.http.ConnectionReuseStrategy reuseStrategy, org.apache.http.params.HttpParams params)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    void
    Deprecated.
     
    void
    Deprecated.
    Invoked to process a chunk of content from the ContentDecoder.
    void
    Deprecated.
    Invoked to signal that the response processing terminated abnormally.
    org.apache.http.HttpRequest
    Deprecated.
    Invoked to generate a HTTP request message head.
    org.apache.http.ConnectionReuseStrategy
    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.
    org.apache.http.protocol.HttpContext
    Deprecated.
    Returns shared HttpContext instance.
    Deprecated.
    Returns an exception in case of an abnormal termination.
    Deprecated.
     
    org.apache.http.protocol.HttpProcessor
    Deprecated.
    Returns HttpProcessor implementation to be used to process HTTP request and response messages for protocol compliance.
    Deprecated.
    Returns a result of the response processing, when available.
    org.apache.http.HttpHost
    Deprecated.
    Invoked to obtain the request target host.
    boolean
    Deprecated.
    Determines whether or not the response processing completed.
    boolean
    Deprecated.
    Determines whether or not this producer is capable of producing HTTP request messages more than once.
    void
    Deprecated.
    Invoked to write out a chunk of content to the ContentEncoder.
    void
    requestCompleted(org.apache.http.protocol.HttpContext context)
    Deprecated.
    Invoked to signal that the request has been fully written out.
    void
    Deprecated.
    Invoked to reset the producer to its initial state.
    void
    responseCompleted(org.apache.http.protocol.HttpContext context)
    Deprecated.
    Invoked to signal that the response has been fully processed.
    void
    responseReceived(org.apache.http.HttpResponse response)
    Deprecated.
    Invoked when a HTTP response message is received.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait