private class HttpChannel.ContentCallback extends Callback.Nested
Callback.Completable, Callback.Nested
Invocable.InvocationType
Modifier and Type | Field and Description |
---|---|
private boolean |
_complete |
private java.nio.ByteBuffer |
_content |
__nonBlocking
Modifier | Constructor and Description |
---|---|
private |
ContentCallback(Callback callback,
java.nio.ByteBuffer content,
boolean complete) |
Modifier and Type | Method and Description |
---|---|
void |
succeeded()
Callback invoked when the operation completes.
|
failed, getCallback, getInvocationType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInvocationType, invokeNonBlocking, isNonBlockingInvocation
private final java.nio.ByteBuffer _content
private final boolean _complete
private ContentCallback(Callback callback, java.nio.ByteBuffer content, boolean complete)
public void succeeded()
Callback
Callback invoked when the operation completes.
succeeded
in interface Callback
succeeded
in class Callback.Nested
Callback.failed(Throwable)