Class Stream.Data

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

public abstract static class Stream.Data extends Object implements org.eclipse.jetty.io.Retainable

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

    org.eclipse.jetty.io.Retainable.ReferenceCounter, org.eclipse.jetty.io.Retainable.Wrapper
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Stream.Data
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Data(DataFrame frame)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
     

    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

  • 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