org.apache.http.impl.nio.client
Class CloseableHttpAsyncClient
java.lang.Object
org.apache.http.impl.nio.client.CloseableHttpAsyncClient
- All Implemented Interfaces:
- Closeable, HttpAsyncClient
public abstract class CloseableHttpAsyncClient
- extends Object
- implements HttpAsyncClient, Closeable
Method Summary |
|
execute(org.apache.http.nio.protocol.HttpAsyncRequestProducer requestProducer,
org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> responseConsumer,
FutureCallback<T> callback)
|
Future<HttpResponse> |
execute(HttpHost target,
HttpRequest request,
FutureCallback<HttpResponse> callback)
|
Future<HttpResponse> |
execute(HttpHost target,
HttpRequest request,
HttpContext context,
FutureCallback<HttpResponse> callback)
|
Future<HttpResponse> |
execute(HttpUriRequest request,
FutureCallback<HttpResponse> callback)
|
Future<HttpResponse> |
execute(HttpUriRequest request,
HttpContext context,
FutureCallback<HttpResponse> callback)
|
abstract void |
start()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloseableHttpAsyncClient
public CloseableHttpAsyncClient()
start
public abstract void start()
- Specified by:
start
in interface HttpAsyncClient
execute
public <T> Future<T> execute(org.apache.http.nio.protocol.HttpAsyncRequestProducer requestProducer,
org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> responseConsumer,
FutureCallback<T> callback)
- Specified by:
execute
in interface HttpAsyncClient
execute
public Future<HttpResponse> execute(HttpHost target,
HttpRequest request,
HttpContext context,
FutureCallback<HttpResponse> callback)
- Specified by:
execute
in interface HttpAsyncClient
execute
public Future<HttpResponse> execute(HttpHost target,
HttpRequest request,
FutureCallback<HttpResponse> callback)
- Specified by:
execute
in interface HttpAsyncClient
execute
public Future<HttpResponse> execute(HttpUriRequest request,
FutureCallback<HttpResponse> callback)
- Specified by:
execute
in interface HttpAsyncClient
execute
public Future<HttpResponse> execute(HttpUriRequest request,
HttpContext context,
FutureCallback<HttpResponse> callback)
- Specified by:
execute
in interface HttpAsyncClient
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.