Package org.eclipse.jetty.http3.api
Class Stream.Data
java.lang.Object
org.eclipse.jetty.http3.api.Stream.Data
- All Implemented Interfaces:
Retainable
- Enclosing interface:
- Stream
A Stream.Data
instance associates a ByteBuffer
containing request bytes or response bytes.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Retainable
Retainable.ReferenceCounter, Retainable.Wrapper
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.io.Retainable
canRetain, release, retain
-
Field Details
-
EOF
-
-
Constructor Details
-
Data
-
-
Method Details
-
getByteBuffer
- Returns:
- the
ByteBuffer
containing the data bytes
-
isLast
public boolean isLast()- Returns:
- whether this is the instance that ends the stream of bytes received from the remote peer
-
toString
-