Class FrameEvent.DataFrame

    • Constructor Detail

      • DataFrame

        public DataFrame​(int streamId,
                         boolean endStream,
                         akka.util.ByteString payload)
    • Method Detail

      • endStream

        public boolean endStream()
      • payload

        public akka.util.ByteString payload()
      • sizeInWindow

        public int sizeInWindow()
        The amount of bytes this frame consumes of a window. According to RFC 7540, 6.9.1:

        For flow-control calculations, the 9-octet frame header is not counted.

        That means this size amounts to data size + padding size field + padding.

        Returns:
        (undocumented)