org.apache.http.nio.client
Interface HttpAsyncClient

All Known Implementing Classes:
AbstractHttpAsyncClient, CachingHttpAsyncClient, DefaultHttpAsyncClient

public interface HttpAsyncClient


Method Summary
<T> Future<T>
execute(org.apache.http.nio.protocol.HttpAsyncRequestProducer requestProducer, org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> responseConsumer, org.apache.http.concurrent.FutureCallback<T> callback)
           
<T> Future<T>
execute(org.apache.http.nio.protocol.HttpAsyncRequestProducer requestProducer, org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> responseConsumer, org.apache.http.protocol.HttpContext context, org.apache.http.concurrent.FutureCallback<T> callback)
           
 Future<org.apache.http.HttpResponse> execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> callback)
           
 Future<org.apache.http.HttpResponse> execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context, org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> callback)
           
 Future<org.apache.http.HttpResponse> execute(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> callback)
           
 Future<org.apache.http.HttpResponse> execute(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.protocol.HttpContext context, org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> callback)
           
 ClientAsyncConnectionManager getConnectionManager()
           
 org.apache.http.params.HttpParams getParams()
           
 org.apache.http.nio.reactor.IOReactorStatus getStatus()
           
 void shutdown()
           
 void start()
           
 

Method Detail

start

void start()

shutdown

void shutdown()
              throws InterruptedException
Throws:
InterruptedException

getStatus

org.apache.http.nio.reactor.IOReactorStatus getStatus()

getConnectionManager

ClientAsyncConnectionManager getConnectionManager()

getParams

org.apache.http.params.HttpParams getParams()

execute

<T> Future<T> execute(org.apache.http.nio.protocol.HttpAsyncRequestProducer requestProducer,
                      org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> responseConsumer,
                      org.apache.http.protocol.HttpContext context,
                      org.apache.http.concurrent.FutureCallback<T> callback)

execute

<T> Future<T> execute(org.apache.http.nio.protocol.HttpAsyncRequestProducer requestProducer,
                      org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> responseConsumer,
                      org.apache.http.concurrent.FutureCallback<T> callback)

execute

Future<org.apache.http.HttpResponse> execute(org.apache.http.HttpHost target,
                                             org.apache.http.HttpRequest request,
                                             org.apache.http.protocol.HttpContext context,
                                             org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> callback)

execute

Future<org.apache.http.HttpResponse> execute(org.apache.http.HttpHost target,
                                             org.apache.http.HttpRequest request,
                                             org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> callback)

execute

Future<org.apache.http.HttpResponse> execute(org.apache.http.client.methods.HttpUriRequest request,
                                             org.apache.http.protocol.HttpContext context,
                                             org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> callback)

execute

Future<org.apache.http.HttpResponse> execute(org.apache.http.client.methods.HttpUriRequest request,
                                             org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> callback)


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.