Class Stream.Data

java.lang.Object
org.eclipse.jetty.http3.api.Stream.Data
All Implemented Interfaces:
Retainable
Enclosing interface:
Stream

public abstract static class Stream.Data extends Object implements Retainable

A Stream.Data instance associates a ByteBuffer containing request bytes or response bytes.

See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getByteBuffer

      public ByteBuffer 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

      public String toString()
      Overrides:
      toString in class Object