initialWindowSizeWithNoContextShouldNotThrow() — netty Function Reference
Architecture documentation for the initialWindowSizeWithNoContextShouldNotThrow() function in DefaultHttp2RemoteFlowControllerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 51fe7e0c_6a3a_7773_7183_4c634919bcfa["initialWindowSizeWithNoContextShouldNotThrow()"] f8fd7697_92d4_6455_4dd8_09a33ac81a6f["DefaultHttp2RemoteFlowControllerTest"] 51fe7e0c_6a3a_7773_7183_4c634919bcfa -->|defined in| f8fd7697_92d4_6455_4dd8_09a33ac81a6f 3a8492ba_178f_22a5_9eb6_dfa34ba2d102["initConnectionAndController()"] 51fe7e0c_6a3a_7773_7183_4c634919bcfa -->|calls| 3a8492ba_178f_22a5_9eb6_dfa34ba2d102 136071dd_c92e_5482_7cb2_c1ba0769c1ab["FakeFlowControlled()"] 51fe7e0c_6a3a_7773_7183_4c634919bcfa -->|calls| 136071dd_c92e_5482_7cb2_c1ba0769c1ab 4d627b61_f0ea_0927_043f_7bfb246d71d1["assertNotWritten()"] 51fe7e0c_6a3a_7773_7183_4c634919bcfa -->|calls| 4d627b61_f0ea_0927_043f_7bfb246d71d1 da0712d5_2b96_e340_6c7a_17114adb9efc["assertFullyWritten()"] 51fe7e0c_6a3a_7773_7183_4c634919bcfa -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc style 51fe7e0c_6a3a_7773_7183_4c634919bcfa fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java lines 891–909
@Test
public void initialWindowSizeWithNoContextShouldNotThrow() throws Exception {
// Re-initialize the controller so we can ensure the context hasn't been set yet.
initConnectionAndController();
// This should not throw.
controller.initialWindowSize(1024 * 100);
FakeFlowControlled dataA = new FakeFlowControlled(1);
final Http2Stream stream = stream(STREAM_A);
// Queue some frames
controller.addFlowControlled(stream, dataA);
dataA.assertNotWritten();
// Set the controller
controller.channelHandlerContext(ctx);
dataA.assertFullyWritten();
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does initialWindowSizeWithNoContextShouldNotThrow() do?
initialWindowSizeWithNoContextShouldNotThrow() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java.
Where is initialWindowSizeWithNoContextShouldNotThrow() defined?
initialWindowSizeWithNoContextShouldNotThrow() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java at line 891.
What does initialWindowSizeWithNoContextShouldNotThrow() call?
initialWindowSizeWithNoContextShouldNotThrow() calls 4 function(s): FakeFlowControlled, assertFullyWritten, assertNotWritten, initConnectionAndController.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free