| java.lang.Object | |
| ↳ | com.ning.http.client.providers.apache.ApacheAsyncHttpProvider |
An AsyncHttpProvider for Apache Http Client 3.1
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ApacheAsyncHttpProvider.ApacheClientRunnable<T> | |||||||||||
| ApacheAsyncHttpProvider.EntityWriterRequestEntity | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Close the current underlying TCP/HTTP connection.
| |||||||||||
Execute the request and invoke the
AsyncHandler when the response arrive. | |||||||||||
Prepare a
Response | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.ning.http.client.AsyncHttpProvider
| |||||||||||
Close the current underlying TCP/HTTP connection.
Execute the request and invoke the AsyncHandler when the response arrive.
| handler | an instance of AsyncHandler |
|---|
ListenableFuture of Type T.| IOException |
|---|
Prepare a Response
| status | HttpResponseStatus |
|---|---|
| headers | HttpResponseHeaders |
| bodyParts | list of HttpResponseBodyPart |
Response