Callback.Completable, Callback.Nested
Invocable.InvocationType
Modifier and Type | Field and Description |
---|---|
protected ByteBuffer |
_content |
__nonBlocking
Constructor and Description |
---|
Content(ByteBuffer content) |
Modifier and Type | Method and Description |
---|---|
int |
get(byte[] buffer,
int offset,
int length) |
ByteBuffer |
getByteBuffer() |
Invocable.InvocationType |
getInvocationType() |
boolean |
hasContent() |
boolean |
isEmpty() |
int |
remaining() |
int |
skip(int length) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asPreferred, getInvocationType, invokeNonBlocking, invokePreferNonBlocking, invokePreferred, isNonBlockingInvocation
protected final ByteBuffer _content
public Content(ByteBuffer content)
public ByteBuffer getByteBuffer()
public Invocable.InvocationType getInvocationType()
getInvocationType
in interface Invocable
public int get(byte[] buffer, int offset, int length)
public int skip(int length)
public boolean hasContent()
public int remaining()
public boolean isEmpty()
Copyright © 1995–2017 Webtide. All rights reserved.