public class AsyncCompletionHandlerBase
extends com.ning.http.client.AsyncCompletionHandler<com.ning.http.client.Response>
AsyncHandler of type Response| Modifier and Type | Field and Description |
|---|---|
(package private) CompletionListener<com.ning.http.client.Response> |
listener |
(package private) ContextualRequests |
requests |
| Constructor and Description |
|---|
AsyncCompletionHandlerBase() |
| Modifier and Type | Method and Description |
|---|---|
private void |
onComplete(com.ning.http.client.Response response) |
com.ning.http.client.Response |
onCompleted(com.ning.http.client.Response response) |
void |
onThrowable(Throwable t) |
final ContextualRequests requests
final CompletionListener<com.ning.http.client.Response> listener
public com.ning.http.client.Response onCompleted(com.ning.http.client.Response response)
throws Exception
onCompleted in class com.ning.http.client.AsyncCompletionHandler<com.ning.http.client.Response>Exceptionpublic void onThrowable(Throwable t)
onThrowable in interface com.ning.http.client.AsyncHandler<com.ning.http.client.Response>onThrowable in class com.ning.http.client.AsyncCompletionHandler<com.ning.http.client.Response>private void onComplete(com.ning.http.client.Response response)
Copyright © 2016. All rights reserved.