private class HttpConnection.Content extends HttpInput.Content
Callback.Completable, Callback.Completing, Callback.InvocableCallback, Callback.Nested
Invocable.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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
combine, from, from, from, from, from, from
combine, getInvocationType, invokeNonBlocking, isNonBlockingInvocation
public void succeeded()
Callback
Callback invoked when the operation completes.
Callback.failed(Throwable)
public void failed(java.lang.Throwable x)
Callback
Callback invoked when the operation fails.
x
- the reason for the operation failure