Uses of Class
org.asynchttpclient.AsyncHandler.State
-
Packages that use AsyncHandler.State Package Description org.asynchttpclient org.asynchttpclient.handler org.asynchttpclient.handler.resumable org.asynchttpclient.ws -
-
Uses of AsyncHandler.State in org.asynchttpclient
Methods in org.asynchttpclient that return AsyncHandler.State Modifier and Type Method Description AsyncHandler.State
AsyncCompletionHandler. onBodyPartReceived(HttpResponseBodyPart content)
AsyncHandler.State
AsyncHandler. onBodyPartReceived(HttpResponseBodyPart bodyPart)
Invoked as soon as some response body part are received.AsyncHandler.State
AsyncCompletionHandler. onContentWriteProgress(long amount, long current, long total)
Invoked when the I/O operation associated with theRequest
body as been progressed.AsyncHandler.State
AsyncCompletionHandler. onContentWritten()
AsyncHandler.State
AsyncCompletionHandler. onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
AsyncHandler.State
AsyncHandler. onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
Invoked as soon as the HTTP headers have been received.AsyncHandler.State
AsyncCompletionHandler. onHeadersWritten()
Invoked when the HTTP headers have been fully written on the I/O socket.AsyncHandler.State
AsyncCompletionHandler. onStatusReceived(HttpResponseStatus status)
AsyncHandler.State
AsyncHandler. onStatusReceived(HttpResponseStatus responseStatus)
Invoked as soon as the HTTP status line has been receivedAsyncHandler.State
AsyncCompletionHandler. onTrailingHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
default AsyncHandler.State
AsyncHandler. onTrailingHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
Invoked when trailing headers have been received.static AsyncHandler.State
AsyncHandler.State. valueOf(String name)
Returns the enum constant of this type with the specified name.static AsyncHandler.State[]
AsyncHandler.State. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of AsyncHandler.State in org.asynchttpclient.handler
Methods in org.asynchttpclient.handler that return AsyncHandler.State Modifier and Type Method Description AsyncHandler.State
BodyDeferringAsyncHandler. onBodyPartReceived(HttpResponseBodyPart bodyPart)
AsyncHandler.State
TransferCompletionHandler. onBodyPartReceived(HttpResponseBodyPart content)
AsyncHandler.State
ProgressAsyncHandler. onContentWriteProgress(long amount, long current, long total)
Invoked when the I/O operation associated with theRequest
body wasn't fully written in a single I/O write operation.AsyncHandler.State
TransferCompletionHandler. onContentWriteProgress(long amount, long current, long total)
AsyncHandler.State
ProgressAsyncHandler. onContentWritten()
Invoked when the content (aFile
,String
orFileInputStream
) has been fully written on the I/O socket.AsyncHandler.State
BodyDeferringAsyncHandler. onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
AsyncHandler.State
TransferCompletionHandler. onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
AsyncHandler.State
ProgressAsyncHandler. onHeadersWritten()
Invoked when the content (aFile
,String
orFileInputStream
) has been fully written on the I/O socket.AsyncHandler.State
TransferCompletionHandler. onHeadersWritten()
AsyncHandler.State
BodyDeferringAsyncHandler. onStatusReceived(HttpResponseStatus responseStatus)
AsyncHandler.State
BodyDeferringAsyncHandler. onTrailingHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
AsyncHandler.State
TransferCompletionHandler. onTrailingHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
-
Uses of AsyncHandler.State in org.asynchttpclient.handler.resumable
Methods in org.asynchttpclient.handler.resumable that return AsyncHandler.State Modifier and Type Method Description AsyncHandler.State
ResumableAsyncHandler. onBodyPartReceived(HttpResponseBodyPart bodyPart)
AsyncHandler.State
ResumableAsyncHandler. onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
AsyncHandler.State
ResumableAsyncHandler. onStatusReceived(HttpResponseStatus status)
AsyncHandler.State
ResumableAsyncHandler. onTrailingHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
-
Uses of AsyncHandler.State in org.asynchttpclient.ws
Methods in org.asynchttpclient.ws that return AsyncHandler.State Modifier and Type Method Description AsyncHandler.State
WebSocketUpgradeHandler. onBodyPartReceived(HttpResponseBodyPart bodyPart)
AsyncHandler.State
WebSocketUpgradeHandler. onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
AsyncHandler.State
WebSocketUpgradeHandler. onStatusReceived(HttpResponseStatus responseStatus)
-