Interface FlowControl.Inbound

All Superinterfaces:
FlowControl
Enclosing interface:
FlowControl

public static interface FlowControl.Inbound extends FlowControl
Inbound flow control used by HTTP/2 for backpressure.
  • Method Details

    • incrementWindowSize

      void incrementWindowSize(int increment)
      Increment window size.
      Parameters:
      increment - increment in bytes
    • incrementStreamWindowSize

      default void incrementStreamWindowSize(int increment)
      Increment only the stream window size.

      This is used when connection-level credit has already been returned while buffering the frame, but the stream-level credit must remain withheld until the application consumes it.

      Parameters:
      increment - increment in bytes