public class AsyncCompletionHandlerBase extends AsyncCompletionHandler<com.ning.http.client.Response>
AsyncHandler
of type Response
This is a modified version from the original file from AHC, where the only change is making the logger static.Constructor and Description |
---|
AsyncCompletionHandlerBase() |
Modifier and Type | Method and Description |
---|---|
com.ning.http.client.Response |
onCompleted(com.ning.http.client.Response response)
Invoked once the HTTP response processing is finished.
|
void |
onThrowable(Throwable t) |
onBodyPartReceived, onCompleted, onContentWriteCompleted, onContentWriteProgress, onHeadersReceived, onHeaderWriteCompleted, onStatusReceived
public com.ning.http.client.Response onCompleted(com.ning.http.client.Response response) throws Exception
onCompleted
in class AsyncCompletionHandler<com.ning.http.client.Response>
response
- The Response
Future
Exception
- if something wrong happenspublic void onThrowable(Throwable t)
onThrowable
in interface com.ning.http.client.AsyncHandler<com.ning.http.client.Response>
onThrowable
in class AsyncCompletionHandler<com.ning.http.client.Response>
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.