Class AsyncCompletionHandler
java.lang.Object
org.asynchttpclient.AsyncCompletionHandler<org.asynchttpclient.Response>
org.asynchttpclient.AsyncCompletionHandlerBase
net.bluemind.core.rest.http.internal.AsyncCompletionHandler
- All Implemented Interfaces:
org.asynchttpclient.AsyncHandler<org.asynchttpclient.Response>,org.asynchttpclient.handler.ProgressAsyncHandler<org.asynchttpclient.Response>
public class AsyncCompletionHandler
extends org.asynchttpclient.AsyncCompletionHandlerBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.asynchttpclient.AsyncHandler
org.asynchttpclient.AsyncHandler.State -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.asynchttpclient.AsyncHandler.StateonBodyPartReceived(org.asynchttpclient.HttpResponseBodyPart content) org.asynchttpclient.ResponseonCompleted(org.asynchttpclient.Response response) org.asynchttpclient.AsyncHandler.StateonHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers) org.asynchttpclient.AsyncHandler.StateonStatusReceived(org.asynchttpclient.HttpResponseStatus status) voidMethods inherited from class org.asynchttpclient.AsyncCompletionHandler
onCompleted, onContentWriteProgress, onContentWritten, onHeadersWritten, onTrailingHeadersReceivedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.asynchttpclient.AsyncHandler
onConnectionOffer, onConnectionPoolAttempt, onConnectionPooled, onHostnameResolutionAttempt, onHostnameResolutionFailure, onHostnameResolutionSuccess, onRequestSend, onRetry, onTcpConnectAttempt, onTcpConnectFailure, onTcpConnectSuccess, onTlsHandshakeAttempt, onTlsHandshakeFailure, onTlsHandshakeSuccess
-
Constructor Details
-
AsyncCompletionHandler
-
-
Method Details
-
onHeadersReceived
public org.asynchttpclient.AsyncHandler.State onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers) throws Exception - Specified by:
onHeadersReceivedin interfaceorg.asynchttpclient.AsyncHandler<org.asynchttpclient.Response>- Overrides:
onHeadersReceivedin classorg.asynchttpclient.AsyncCompletionHandler<org.asynchttpclient.Response>- Throws:
Exception
-
onBodyPartReceived
public org.asynchttpclient.AsyncHandler.State onBodyPartReceived(org.asynchttpclient.HttpResponseBodyPart content) throws Exception - Specified by:
onBodyPartReceivedin interfaceorg.asynchttpclient.AsyncHandler<org.asynchttpclient.Response>- Overrides:
onBodyPartReceivedin classorg.asynchttpclient.AsyncCompletionHandler<org.asynchttpclient.Response>- Throws:
Exception
-
onStatusReceived
public org.asynchttpclient.AsyncHandler.State onStatusReceived(org.asynchttpclient.HttpResponseStatus status) throws Exception - Specified by:
onStatusReceivedin interfaceorg.asynchttpclient.AsyncHandler<org.asynchttpclient.Response>- Overrides:
onStatusReceivedin classorg.asynchttpclient.AsyncCompletionHandler<org.asynchttpclient.Response>- Throws:
Exception
-
onCompleted
public org.asynchttpclient.Response onCompleted(org.asynchttpclient.Response response) throws Exception - Overrides:
onCompletedin classorg.asynchttpclient.AsyncCompletionHandlerBase- Throws:
Exception
-
onThrowable
- Specified by:
onThrowablein interfaceorg.asynchttpclient.AsyncHandler<org.asynchttpclient.Response>- Overrides:
onThrowablein classorg.asynchttpclient.AsyncCompletionHandler<org.asynchttpclient.Response>
-