Package io.netty.handler.codec.http2
Class DefaultHttp2LocalFlowController.WindowUpdateVisitor
java.lang.Object
io.netty.handler.codec.http2.DefaultHttp2LocalFlowController.WindowUpdateVisitor
- All Implemented Interfaces:
Http2StreamVisitor
- Enclosing class:
DefaultHttp2LocalFlowController
private final class DefaultHttp2LocalFlowController.WindowUpdateVisitor
extends Object
implements Http2StreamVisitor
Provides a means to iterate over all active streams and increment the flow control windows.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
compositeException
-
delta
private final int delta
-
-
Constructor Details
-
WindowUpdateVisitor
WindowUpdateVisitor(int delta)
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceHttp2StreamVisitor
- Returns:
true
if the visitor wants to continue the loop and handle the entry.false
if the visitor wants to stop handling headers and abort the loop.
- Throws:
Http2Exception
-
throwIfError
-