org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.thread.InvocableHttpInput.SentinelContentpublic static class HttpInput.Content
extends java.lang.Object
implements org.eclipse.jetty.util.Callback
| Modifier and Type | Field | Description |
|---|---|---|
protected java.nio.ByteBuffer |
_content |
| Constructor | Description |
|---|---|
Content(java.nio.ByteBuffer content) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
get(byte[] buffer,
int offset,
int length) |
|
java.nio.ByteBuffer |
getByteBuffer() |
|
org.eclipse.jetty.util.thread.Invocable.InvocationType |
getInvocationType() |
|
boolean |
hasContent() |
|
boolean |
isEmpty() |
|
int |
remaining() |
|
int |
skip(int length) |
|
java.lang.String |
toString() |
public java.nio.ByteBuffer getByteBuffer()
public org.eclipse.jetty.util.thread.Invocable.InvocationType getInvocationType()
getInvocationType in interface org.eclipse.jetty.util.thread.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.