Class StreamFrame


public class StreamFrame extends Frame.WithStreamId

A QUIC frame carrying stream data bytes.

  • Field Details

  • Constructor Details

  • Method Details

    • getOffset

      public long getOffset()
      Returns:
      the stream offset of the data bytes carried by this frame
    • getData

      public ByteBuffer getData()
      Returns:
      the data bytes
    • getLength

      public int getLength()
      Returns:
      the number of data bytes
    • isEndStream

      public boolean isEndStream()
      Returns:
      whether this frame is the last in the stream
    • isEndData

      public boolean isEndData()
      Returns:
      whether this frame is the last carrying data for the stream
    • toString

      public String toString()
      Overrides:
      toString in class Frame.WithStreamId