public class HttpAsyncClient extends Object implements AsyncClientInterface
http://hc.apache.org/httpcomponents-asyncclient-dev/httpasyncclient/apidocs/overview-summary.html| Constructor and Description |
|---|
HttpAsyncClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.apache.http.client.methods.HttpGet httpGet,
FutureCallback<org.apache.http.HttpResponse> futureCallback) |
org.apache.http.client.HttpClient |
getBackend() |
org.apache.http.params.HttpParams |
getParams() |
void |
shutdown() |
void |
start() |
public void start()
throws org.apache.http.nio.reactor.IOReactorException
start in interface AsyncClientInterfaceorg.apache.http.nio.reactor.IOReactorExceptionpublic org.apache.http.params.HttpParams getParams()
getParams in interface AsyncClientInterfacepublic void execute(org.apache.http.client.methods.HttpGet httpGet,
FutureCallback<org.apache.http.HttpResponse> futureCallback)
execute in interface AsyncClientInterfacepublic void shutdown()
throws InterruptedException
shutdown in interface AsyncClientInterfaceInterruptedExceptionpublic org.apache.http.client.HttpClient getBackend()
getBackend in interface AsyncClientInterfaceCopyright © 2014. All rights reserved.