public static class HttpInput.Content extends java.lang.Object implements Callback
Callback.Completable, Callback.NestedInvocable.InvocationType| Modifier and Type | Field and Description |
|---|---|
protected java.nio.ByteBuffer |
_content |
__nonBlocking| Constructor and Description |
|---|
Content(java.nio.ByteBuffer content) |
| Modifier and Type | Method and Description |
|---|---|
int |
get(byte[] buffer,
int offset,
int length) |
java.nio.ByteBuffer |
getByteBuffer() |
Invocable.InvocationType |
getInvocationType() |
boolean |
hasContent() |
boolean |
isEmpty() |
int |
remaining() |
int |
skip(int length) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInvocationType, invokeNonBlocking, isNonBlockingInvocationpublic java.nio.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()
public java.lang.String toString()
toString in class java.lang.Object