Callback.Completable, Callback.NestedInvocable.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, waitasPreferred, getInvocationType, invokeNonBlocking, invokePreferNonBlocking, invokePreferred, isNonBlockingInvocationprotected final ByteBuffer _content
public Content(ByteBuffer content)
public ByteBuffer getByteBuffer()
public Invocable.InvocationType getInvocationType()
getInvocationType in interface Invocablepublic 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.