visit() — netty Function Reference
Architecture documentation for the visit() function in DefaultHttp2LocalFlowController.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1ff15d77_9d01_c5e6_825b_147496007ae5["visit()"] d776505f_4b49_6e66_ce7e_73c3ba1cd55e["WindowUpdateVisitor"] 1ff15d77_9d01_c5e6_825b_147496007ae5 -->|defined in| d776505f_4b49_6e66_ce7e_73c3ba1cd55e 6c8131a5_8522_16f2_0337_17791bd40117["incrementFlowControlWindows()"] 1ff15d77_9d01_c5e6_825b_147496007ae5 -->|calls| 6c8131a5_8522_16f2_0337_17791bd40117 99d2bb23_5d25_b9c3_9198_e95ecb1dcb00["incrementInitialStreamWindow()"] 1ff15d77_9d01_c5e6_825b_147496007ae5 -->|calls| 99d2bb23_5d25_b9c3_9198_e95ecb1dcb00 style 1ff15d77_9d01_c5e6_825b_147496007ae5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java lines 624–638
@Override
public boolean visit(Http2Stream stream) throws Http2Exception {
try {
// Increment flow control window first so state will be consistent if overflow is detected.
FlowState state = state(stream);
state.incrementFlowControlWindows(delta);
state.incrementInitialStreamWindow(delta);
} catch (StreamException e) {
if (compositeException == null) {
compositeException = new CompositeStreamException(e.error(), 4);
}
compositeException.add(e);
}
return true;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does visit() do?
visit() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java.
Where is visit() defined?
visit() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java at line 624.
What does visit() call?
visit() calls 2 function(s): incrementFlowControlWindows, incrementInitialStreamWindow.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free