Class DataFrame


  • public class DataFrame
    extends Frame
    • Constructor Detail

      • DataFrame

        public DataFrame​(int streamId,
                         java.nio.ByteBuffer data,
                         boolean endStream)
      • DataFrame

        public DataFrame​(int streamId,
                         java.nio.ByteBuffer data,
                         boolean endStream,
                         int padding)
    • Method Detail

      • getStreamId

        public int getStreamId()
      • getData

        public java.nio.ByteBuffer getData()
      • isEndStream

        public boolean isEndStream()
      • remaining

        public int remaining()
        Returns:
        the number of data bytes remaining.
      • padding

        public int padding()
        Returns:
        the number of bytes used for padding that count towards flow control.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Frame