public static class HttpInput.Content extends java.lang.Object implements Callback
Callback.Completable, Callback.Nested
Invocable.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, wait
getInvocationType, invokeNonBlocking, isNonBlockingInvocation
public java.nio.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()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1995–2023 Webtide. All rights reserved.