public class SizeHandler
extends java.lang.Object
implements org.asynchttpclient.AsyncHandler<java.lang.Long>
Constructor and Description |
---|
SizeHandler() |
Modifier and Type | Method and Description |
---|---|
org.asynchttpclient.AsyncHandler.State |
onBodyPartReceived(org.asynchttpclient.HttpResponseBodyPart bodyPart) |
java.lang.Long |
onCompleted() |
org.asynchttpclient.AsyncHandler.State |
onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers) |
org.asynchttpclient.AsyncHandler.State |
onStatusReceived(org.asynchttpclient.HttpResponseStatus responseStatus) |
void |
onThrowable(java.lang.Throwable t) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onConnectionOffer, onConnectionPoolAttempt, onConnectionPooled, onHostnameResolutionAttempt, onHostnameResolutionFailure, onHostnameResolutionSuccess, onRequestSend, onRetry, onTcpConnectAttempt, onTcpConnectFailure, onTcpConnectSuccess, onTlsHandshakeAttempt, onTlsHandshakeFailure, onTlsHandshakeSuccess, onTrailingHeadersReceived
public void onThrowable(java.lang.Throwable t)
onThrowable
in interface org.asynchttpclient.AsyncHandler<java.lang.Long>
public org.asynchttpclient.AsyncHandler.State onBodyPartReceived(org.asynchttpclient.HttpResponseBodyPart bodyPart) throws java.lang.Exception
onBodyPartReceived
in interface org.asynchttpclient.AsyncHandler<java.lang.Long>
java.lang.Exception
public org.asynchttpclient.AsyncHandler.State onStatusReceived(org.asynchttpclient.HttpResponseStatus responseStatus) throws java.lang.Exception
onStatusReceived
in interface org.asynchttpclient.AsyncHandler<java.lang.Long>
java.lang.Exception
public org.asynchttpclient.AsyncHandler.State onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers) throws java.lang.Exception
onHeadersReceived
in interface org.asynchttpclient.AsyncHandler<java.lang.Long>
java.lang.Exception
public java.lang.Long onCompleted() throws java.lang.Exception
onCompleted
in interface org.asynchttpclient.AsyncHandler<java.lang.Long>
java.lang.Exception
Copyright © 2021. All Rights Reserved.