public class AsyncCompletionHandler
extends org.asynchttpclient.AsyncCompletionHandlerBase
| Constructor and Description | 
|---|
AsyncCompletionHandler(AsyncHandler<RestResponse> responseHandler)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.asynchttpclient.AsyncHandler.State | 
onBodyPartReceived(org.asynchttpclient.HttpResponseBodyPart content)  | 
org.asynchttpclient.Response | 
onCompleted(org.asynchttpclient.Response response)  | 
org.asynchttpclient.AsyncHandler.State | 
onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)  | 
org.asynchttpclient.AsyncHandler.State | 
onStatusReceived(org.asynchttpclient.HttpResponseStatus status)  | 
void | 
onThrowable(java.lang.Throwable t)  | 
onCompleted, onContentWriteProgress, onContentWritten, onHeadersWritten, onTrailingHeadersReceivedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonConnectionOffer, onConnectionPoolAttempt, onConnectionPooled, onHostnameResolutionAttempt, onHostnameResolutionFailure, onHostnameResolutionSuccess, onRequestSend, onRetry, onTcpConnectAttempt, onTcpConnectFailure, onTcpConnectSuccess, onTlsHandshakeAttempt, onTlsHandshakeFailure, onTlsHandshakeSuccesspublic AsyncCompletionHandler(AsyncHandler<RestResponse> responseHandler)
public org.asynchttpclient.AsyncHandler.State onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
                                                         throws java.lang.Exception
onHeadersReceived in interface org.asynchttpclient.AsyncHandler<org.asynchttpclient.Response>onHeadersReceived in class org.asynchttpclient.AsyncCompletionHandler<org.asynchttpclient.Response>java.lang.Exceptionpublic org.asynchttpclient.AsyncHandler.State onBodyPartReceived(org.asynchttpclient.HttpResponseBodyPart content)
                                                          throws java.lang.Exception
onBodyPartReceived in interface org.asynchttpclient.AsyncHandler<org.asynchttpclient.Response>onBodyPartReceived in class org.asynchttpclient.AsyncCompletionHandler<org.asynchttpclient.Response>java.lang.Exceptionpublic org.asynchttpclient.AsyncHandler.State onStatusReceived(org.asynchttpclient.HttpResponseStatus status)
                                                        throws java.lang.Exception
onStatusReceived in interface org.asynchttpclient.AsyncHandler<org.asynchttpclient.Response>onStatusReceived in class org.asynchttpclient.AsyncCompletionHandler<org.asynchttpclient.Response>java.lang.Exceptionpublic org.asynchttpclient.Response onCompleted(org.asynchttpclient.Response response)
                                         throws java.lang.Exception
onCompleted in class org.asynchttpclient.AsyncCompletionHandlerBasejava.lang.Exceptionpublic void onThrowable(java.lang.Throwable t)
onThrowable in interface org.asynchttpclient.AsyncHandler<org.asynchttpclient.Response>onThrowable in class org.asynchttpclient.AsyncCompletionHandler<org.asynchttpclient.Response>Copyright © 2023. All Rights Reserved.