Class DefaultHttp2ConnectionEncoder.FlowControlledHeaders

    • Field Detail

      • hasPriorty

        private final boolean hasPriorty
      • streamDependency

        private final int streamDependency
      • weight

        private final short weight
      • exclusive

        private final boolean exclusive
    • Constructor Detail

      • FlowControlledHeaders

        FlowControlledHeaders​(Http2Stream stream,
                              Http2Headers headers,
                              boolean hasPriority,
                              int streamDependency,
                              short weight,
                              boolean exclusive,
                              int padding,
                              boolean endOfStream,
                              ChannelPromise promise)
    • Method Detail

      • size

        public int size()
        Description copied from interface: Http2RemoteFlowController.FlowControlled
        The size of the payload in terms of bytes applied to the flow-control window. Some payloads like HEADER frames have no cost against flow control and would return 0 for this value even though they produce a non-zero number of bytes on the wire. Other frames like DATA frames have both their payload and padding count against flow-control.