HttpInput.SentinelContentpublic static class HttpInput.Content extends java.lang.Object implements Callback
Callback.Completable, Callback.NestedInvocable.InvocationType| Modifier and Type | Field | Description |
|---|---|---|
protected java.nio.ByteBuffer |
_content |
__nonBlocking| Constructor | Description |
|---|---|
Content(java.nio.ByteBuffer content) |
| Modifier and Type | Method | 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() |
getInvocationType, 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.ObjectCopyright © 1995–2018 Webtide. All rights reserved.