Package org.eclipse.jetty.io.internal
Class ByteBufferChunk
java.lang.Object
org.eclipse.jetty.io.internal.ByteBufferChunk
- All Implemented Interfaces:
Content.Chunk,Retainable
- Direct Known Subclasses:
ByteBufferChunk.WithReferenceCount,ByteBufferChunk.WithRetainable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface org.eclipse.jetty.io.Content.Chunk
Content.Chunk.ProcessorNested classes/interfaces inherited from interface org.eclipse.jetty.io.Retainable
Retainable.ReferenceCounter, Retainable.Wrapper -
Field Summary
Fields inherited from interface org.eclipse.jetty.io.Content.Chunk
EMPTY, EOF -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.io.Content.Chunk
asReadOnly, get, getFailure, hasRemaining, remaining, skipMethods inherited from interface org.eclipse.jetty.io.Retainable
canRetain, release, retain
-
Constructor Details
-
ByteBufferChunk
-
-
Method Details
-
getByteBuffer
- Specified by:
getByteBufferin interfaceContent.Chunk- Returns:
- the ByteBuffer of this Chunk
-
isLast
public boolean isLast()- Specified by:
isLastin interfaceContent.Chunk- Returns:
- whether this is the last Chunk
-
toString
-