public class SizeHandler
extends java.lang.Object
implements com.ning.http.client.AsyncHandler<java.lang.Long>
Constructor and Description |
---|
SizeHandler() |
Modifier and Type | Method and Description |
---|---|
com.ning.http.client.AsyncHandler.STATE |
onBodyPartReceived(com.ning.http.client.HttpResponseBodyPart bodyPart) |
java.lang.Long |
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(java.lang.Throwable t) |
public void onThrowable(java.lang.Throwable t)
onThrowable
in interface com.ning.http.client.AsyncHandler<java.lang.Long>
public com.ning.http.client.AsyncHandler.STATE onBodyPartReceived(com.ning.http.client.HttpResponseBodyPart bodyPart) throws java.lang.Exception
onBodyPartReceived
in interface com.ning.http.client.AsyncHandler<java.lang.Long>
java.lang.Exception
public com.ning.http.client.AsyncHandler.STATE onStatusReceived(com.ning.http.client.HttpResponseStatus responseStatus) throws java.lang.Exception
onStatusReceived
in interface com.ning.http.client.AsyncHandler<java.lang.Long>
java.lang.Exception
public com.ning.http.client.AsyncHandler.STATE onHeadersReceived(com.ning.http.client.HttpResponseHeaders headers) throws java.lang.Exception
onHeadersReceived
in interface com.ning.http.client.AsyncHandler<java.lang.Long>
java.lang.Exception
public java.lang.Long onCompleted() throws java.lang.Exception
onCompleted
in interface com.ning.http.client.AsyncHandler<java.lang.Long>
java.lang.Exception
Copyright © 2021. All Rights Reserved.