|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ning.http.client.AsyncCompletionHandler<Response>
com.ning.http.client.AsyncCompletionHandlerBase
public class AsyncCompletionHandlerBase
Simple AsyncHandler of type Response
| Constructor Summary | |
|---|---|
AsyncCompletionHandlerBase()
|
|
| Method Summary | |
|---|---|
Response |
onCompleted(Response response)
Invoked once the HTTP response processing is finished. |
void |
onThrowable(java.lang.Throwable t)
Invoked when an unexpected exception occurs during the processing of the response. |
| Methods inherited from class com.ning.http.client.AsyncCompletionHandler |
|---|
onBodyPartReceived, onCompleted, onContentWriteCompleted, onContentWriteProgress, onHeadersReceived, onHeaderWriteCompleted, onStatusReceived |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsyncCompletionHandlerBase()
| Method Detail |
|---|
public Response onCompleted(Response response)
throws java.lang.Exception
AsyncCompletionHandler
onCompleted in class AsyncCompletionHandler<Response>response - The Response
Future
java.lang.Exception - if something wrong happenspublic void onThrowable(java.lang.Throwable t)
AsyncCompletionHandler
onThrowable in interface AsyncHandler<Response>onThrowable in class AsyncCompletionHandler<Response>t - a Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||