public class ResponseToBytes extends ResponseHandler
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bytes |
httpHeaders, params, status| Modifier | Constructor and Description |
|---|---|
protected |
ResponseToBytes(RequestParams params) |
| Modifier and Type | Method and Description |
|---|---|
org.asynchttpclient.AsyncHandler.State |
onBodyPartReceived(org.asynchttpclient.HttpResponseBodyPart bodyPart) |
io.datatree.Tree |
onCompleted() |
addStatusAndHeaders, onHeadersReceived, onStatusReceived, onThrowableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonConnectionOffer, onConnectionPoolAttempt, onConnectionPooled, onHostnameResolutionAttempt, onHostnameResolutionFailure, onHostnameResolutionSuccess, onRequestSend, onRetry, onTcpConnectAttempt, onTcpConnectFailure, onTcpConnectSuccess, onTlsHandshakeAttempt, onTlsHandshakeFailure, onTlsHandshakeSuccess, onTrailingHeadersReceivedprotected ResponseToBytes(RequestParams params)
public org.asynchttpclient.AsyncHandler.State onBodyPartReceived(org.asynchttpclient.HttpResponseBodyPart bodyPart)
throws java.lang.Exception
onBodyPartReceived in interface org.asynchttpclient.AsyncHandler<io.datatree.Tree>onBodyPartReceived in class ResponseHandlerjava.lang.Exceptionpublic io.datatree.Tree onCompleted()
throws java.lang.Exception
onCompleted in interface org.asynchttpclient.AsyncHandler<io.datatree.Tree>onCompleted in class ResponseHandlerjava.lang.Exception