Package org.eclipse.jetty.server
Class HttpInput.Content
- java.lang.Object
-
- org.eclipse.jetty.server.HttpInput.Content
-
- Direct Known Subclasses:
HttpInput.SentinelContent
- Enclosing class:
- HttpInput
@Deprecated(since="2021-05-27") public static class HttpInput.Content extends Object implements Callback
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.Nested
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
-
Constructor Summary
Constructors Constructor Description Content(ByteBuffer content)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
get(byte[] buffer, int offset, int length)
Deprecated.ByteBuffer
getByteBuffer()
Deprecated.Invocable.InvocationType
getInvocationType()
Deprecated.boolean
hasContent()
Deprecated.boolean
isEmpty()
Deprecated.int
remaining()
Deprecated.int
skip(int length)
Deprecated.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
Content
public Content(ByteBuffer content)
Deprecated.
-
-
Method Detail
-
getByteBuffer
public ByteBuffer getByteBuffer()
Deprecated.
-
getInvocationType
public Invocable.InvocationType getInvocationType()
Deprecated.- Specified by:
getInvocationType
in interfaceInvocable
- Returns:
- The InvocationType of this object
-
get
public int get(byte[] buffer, int offset, int length)
Deprecated.
-
skip
public int skip(int length)
Deprecated.
-
hasContent
public boolean hasContent()
Deprecated.
-
remaining
public int remaining()
Deprecated.
-
isEmpty
public boolean isEmpty()
Deprecated.
-
-