| Modifier and Type | Method and Description |
|---|---|
| public void | channelHandlerContext(ChannelHandlerContext
The ctx)ChannelHandlerContext for which to apply flow control on.Set the |
| public void | incrementWindowSize(Http2Stream
The subject stream. Use stream, int Http2Connection#connectionStream() for
requesting the size of the connection window.the change in size of the flow control window. delta)Increments the size of the stream's flow control window by the given delta. |
| public void | initialWindowSize(int
the new initial window size. newWindowSize)Sets the connection-wide initial flow control window and updates all stream windows (but not the connection stream window) by the delta. |
| public int | initialWindowSize()
Gets the connection-wide initial flow control window size that is used as the basis for new stream flow control windows. |
| public int | windowSize(Http2Stream stream)
Get the portion of the flow control window for the given stream that is currently available for sending/receiving frames which are subject to flow control. |
| channelHandlerContext | back to summary |
|---|---|
| public void channelHandlerContext(ChannelHandlerContext ctx) throws Http2Exception Set the
This must be called to properly initialize the
| |
| incrementWindowSize | back to summary |
|---|---|
| public void incrementWindowSize(Http2Stream stream, int delta) throws Http2Exception Increments the size of the stream's flow control window by the given delta.
In the case of a
For a
| |
| initialWindowSize | back to summary |
|---|---|
| public void initialWindowSize(int newWindowSize) throws Http2Exception Sets the connection-wide initial flow control window and updates all stream windows (but not the connection stream window) by the delta.
Represents the value for
SETTINGS_INITIAL_WINDOW_SIZE. This method should
only be called by Netty (not users) as a result of a receiving a
| |
| initialWindowSize | back to summary |
|---|---|
| public int initialWindowSize() Gets the connection-wide initial flow control window size that is used as the basis for new stream flow control windows.
Represents the value for
SETTINGS_INITIAL_WINDOW_SIZE. The initial value
returned by this method must be | |
| windowSize | back to summary |
|---|---|
| public int windowSize(Http2Stream stream) Get the portion of the flow control window for the given stream that is currently available for sending/receiving frames which are subject to flow control. This quantity is measured in number of bytes. | |