Package | Description |
---|---|
org.asynchttpclient | |
org.asynchttpclient.handler | |
org.asynchttpclient.handler.resumable | |
org.asynchttpclient.webdav | |
org.asynchttpclient.ws |
Modifier and Type | Method and Description |
---|---|
AsyncHandler.State |
AsyncHandler.onBodyPartReceived(HttpResponseBodyPart bodyPart)
Invoked as soon as some response body part are received.
|
AsyncHandler.State |
AsyncCompletionHandler.onBodyPartReceived(HttpResponseBodyPart content) |
AsyncHandler.State |
AsyncCompletionHandler.onContentWriteProgress(long amount,
long current,
long total)
Invoked when the I/O operation associated with the
Request body as
been progressed. |
AsyncHandler.State |
AsyncCompletionHandler.onContentWritten()
Invoked when the content (a
File , String or
InputStream has been fully written on the I/O socket. |
AsyncHandler.State |
AsyncHandler.onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
Invoked as soon as the HTTP headers have been received.
|
AsyncHandler.State |
AsyncCompletionHandler.onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers) |
AsyncHandler.State |
AsyncCompletionHandler.onHeadersWritten()
Invoked when the HTTP headers have been fully written on the I/O socket.
|
AsyncHandler.State |
AsyncHandler.onStatusReceived(HttpResponseStatus responseStatus)
Invoked as soon as the HTTP status line has been received
|
AsyncHandler.State |
AsyncCompletionHandler.onStatusReceived(HttpResponseStatus status) |
default AsyncHandler.State |
AsyncHandler.onTrailingHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
Invoked when trailing headers have been received.
|
AsyncHandler.State |
AsyncCompletionHandler.onTrailingHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers) |
static AsyncHandler.State |
AsyncHandler.State.valueOf(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
AsyncHandler.State |
BodyDeferringAsyncHandler.onBodyPartReceived(HttpResponseBodyPart bodyPart) |
AsyncHandler.State |
TransferCompletionHandler.onBodyPartReceived(HttpResponseBodyPart content) |
AsyncHandler.State |
TransferCompletionHandler.onContentWriteProgress(long amount,
long current,
long total) |
AsyncHandler.State |
ProgressAsyncHandler.onContentWriteProgress(long amount,
long current,
long total)
Invoked when the I/O operation associated with the
Request body wasn't fully written in a single I/O write
operation. |
AsyncHandler.State |
ProgressAsyncHandler.onContentWritten()
Invoked when the content (a
File , String or FileInputStream 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 |
TransferCompletionHandler.onHeadersWritten() |
AsyncHandler.State |
ProgressAsyncHandler.onHeadersWritten()
Invoked when the content (a
File , String or FileInputStream has been fully
written on the I/O socket. |
AsyncHandler.State |
BodyDeferringAsyncHandler.onStatusReceived(HttpResponseStatus responseStatus) |
AsyncHandler.State |
StreamedAsyncHandler.onStream(org.reactivestreams.Publisher<HttpResponseBodyPart> publisher)
Called when the body is received.
|
AsyncHandler.State |
BodyDeferringAsyncHandler.onTrailingHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers) |
AsyncHandler.State |
TransferCompletionHandler.onTrailingHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
AsyncHandler.State |
WebDavCompletionHandlerBase.onBodyPartReceived(HttpResponseBodyPart content)
Invoked as soon as some response body part are received.
|
AsyncHandler.State |
WebDavCompletionHandlerBase.onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers)
Invoked as soon as the HTTP headers have been received.
|
AsyncHandler.State |
WebDavCompletionHandlerBase.onStatusReceived(HttpResponseStatus status)
Invoked as soon as the HTTP status line has been received
|
Modifier and Type | Method and Description |
---|---|
AsyncHandler.State |
WebSocketUpgradeHandler.onBodyPartReceived(HttpResponseBodyPart bodyPart) |
AsyncHandler.State |
WebSocketUpgradeHandler.onHeadersReceived(io.netty.handler.codec.http.HttpHeaders headers) |
AsyncHandler.State |
WebSocketUpgradeHandler.onStatusReceived(HttpResponseStatus responseStatus) |
Copyright © 2019. All Rights Reserved.