initConnectionAndController() — netty Function Reference
Architecture documentation for the initConnectionAndController() function in DefaultHttp2RemoteFlowControllerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3a8492ba_178f_22a5_9eb6_dfa34ba2d102["initConnectionAndController()"] f8fd7697_92d4_6455_4dd8_09a33ac81a6f["DefaultHttp2RemoteFlowControllerTest"] 3a8492ba_178f_22a5_9eb6_dfa34ba2d102 -->|defined in| f8fd7697_92d4_6455_4dd8_09a33ac81a6f 9fed0499_471e_ac3f_c01d_022267ff0534["setup()"] 9fed0499_471e_ac3f_c01d_022267ff0534 -->|calls| 3a8492ba_178f_22a5_9eb6_dfa34ba2d102 bc876d3d_5779_94ca_7427_53cdf7222fdd["contextShouldSendQueuedFramesWhenSet()"] bc876d3d_5779_94ca_7427_53cdf7222fdd -->|calls| 3a8492ba_178f_22a5_9eb6_dfa34ba2d102 51fe7e0c_6a3a_7773_7183_4c634919bcfa["initialWindowSizeWithNoContextShouldNotThrow()"] 51fe7e0c_6a3a_7773_7183_4c634919bcfa -->|calls| 3a8492ba_178f_22a5_9eb6_dfa34ba2d102 style 3a8492ba_178f_22a5_9eb6_dfa34ba2d102 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java lines 111–122
private void initConnectionAndController() throws Http2Exception {
connection = new DefaultHttp2Connection(false);
controller = new DefaultHttp2RemoteFlowController(connection, newDistributor(connection), listener);
connection.remote().flowController(controller);
connection.local().createStream(STREAM_A, false);
connection.local().createStream(STREAM_B, false);
Http2Stream streamC = connection.local().createStream(STREAM_C, false);
Http2Stream streamD = connection.local().createStream(STREAM_D, false);
controller.updateDependencyTree(streamC.id(), STREAM_A, DEFAULT_PRIORITY_WEIGHT, false);
controller.updateDependencyTree(streamD.id(), STREAM_A, DEFAULT_PRIORITY_WEIGHT, false);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does initConnectionAndController() do?
initConnectionAndController() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java.
Where is initConnectionAndController() defined?
initConnectionAndController() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java at line 111.
What calls initConnectionAndController()?
initConnectionAndController() is called by 3 function(s): contextShouldSendQueuedFramesWhenSet, initialWindowSizeWithNoContextShouldNotThrow, setup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free