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 java.lang.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(java.nio.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.java.nio.ByteBuffer
getByteBuffer()
Deprecated.Invocable.InvocationType
getInvocationType()
Deprecated.boolean
hasContent()
Deprecated.boolean
isEmpty()
Deprecated.int
remaining()
Deprecated.int
skip(int length)
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
getByteBuffer
public java.nio.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.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-