public class ZeroBufferAsyncHandler extends Object implements com.ning.http.client.AsyncHandler<com.ning.http.client.Response>
| Modifier and Type | Field and Description |
|---|---|
(package private) com.ning.http.client.Response.ResponseBuilder |
builder |
(package private) OutputStream |
stream |
| Constructor and Description |
|---|
ZeroBufferAsyncHandler() |
| Modifier and Type | Method and Description |
|---|---|
com.ning.http.client.AsyncHandler.STATE |
onBodyPartReceived(com.ning.http.client.HttpResponseBodyPart bodyPart) |
com.ning.http.client.Response |
onCompleted() |
com.ning.http.client.AsyncHandler.STATE |
onHeadersReceived(com.ning.http.client.HttpResponseHeaders headers) |
com.ning.http.client.AsyncHandler.STATE |
onStatusReceived(com.ning.http.client.HttpResponseStatus responseStatus) |
void |
onThrowable(Throwable t) |
final com.ning.http.client.Response.ResponseBuilder builder
final OutputStream stream
public void onThrowable(Throwable t)
onThrowable in interface com.ning.http.client.AsyncHandler<com.ning.http.client.Response>public com.ning.http.client.AsyncHandler.STATE onBodyPartReceived(com.ning.http.client.HttpResponseBodyPart bodyPart)
throws Exception
onBodyPartReceived in interface com.ning.http.client.AsyncHandler<com.ning.http.client.Response>Exceptionpublic com.ning.http.client.AsyncHandler.STATE onStatusReceived(com.ning.http.client.HttpResponseStatus responseStatus)
throws Exception
onStatusReceived in interface com.ning.http.client.AsyncHandler<com.ning.http.client.Response>Exceptionpublic com.ning.http.client.AsyncHandler.STATE onHeadersReceived(com.ning.http.client.HttpResponseHeaders headers)
throws Exception
onHeadersReceived in interface com.ning.http.client.AsyncHandler<com.ning.http.client.Response>ExceptionCopyright © 2016. All rights reserved.