java.lang.Object
org.eclipse.jetty.io.Content.Chunk.Error
- All Implemented Interfaces:
Content.Chunk,Retainable
- Enclosing interface:
Content.Chunk
A chunk that wraps a failure.
Error Chunks are always last and have no bytes to read, as such they are terminal Chunks.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Content.Chunk
Content.Chunk.Error, 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 -
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
get, hasRemaining, remaining, skipMethods inherited from interface org.eclipse.jetty.io.Retainable
canRetain, release, retain
-
Method Details
-
getCause
-
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
-