private class HttpConnection.Content extends HttpInput.Content
Callback.Completable, Callback.NestedInvocable.InvocationType_content__nonBlocking| Constructor and Description |
|---|
Content(java.nio.ByteBuffer content) |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(java.lang.Throwable x)
Callback invoked when the operation fails.
|
void |
succeeded()
Callback invoked when the operation completes.
|
get, getByteBuffer, getInvocationType, hasContent, isEmpty, remaining, skip, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInvocationType, invokeNonBlocking, isNonBlockingInvocationpublic void succeeded()
CallbackCallback invoked when the operation completes.
Callback.failed(Throwable)public void failed(java.lang.Throwable x)
CallbackCallback invoked when the operation fails.
x - the reason for the operation failure