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 intget(byte[] buffer, int offset, int length)Deprecated.java.nio.ByteBuffergetByteBuffer()Deprecated.Invocable.InvocationTypegetInvocationType()Deprecated.booleanhasContent()Deprecated.booleanisEmpty()Deprecated.intremaining()Deprecated.intskip(int length)Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
getByteBuffer
public java.nio.ByteBuffer getByteBuffer()
Deprecated.
-
getInvocationType
public Invocable.InvocationType getInvocationType()
Deprecated.- Specified by:
getInvocationTypein 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:
toStringin classjava.lang.Object
-
-