Home / Function/ windowUpdateDoesNotOverflowConnectionWindow() — netty Function Reference

windowUpdateDoesNotOverflowConnectionWindow() — netty Function Reference

Architecture documentation for the windowUpdateDoesNotOverflowConnectionWindow() function in Http2FrameCodecTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  31a1a972_a197_7c8b_6db6_d7fd381d8030["windowUpdateDoesNotOverflowConnectionWindow()"]
  71f17950_8fc4_c3e9_2e13_384d1ac7ea2c["Http2FrameCodecTest"]
  31a1a972_a197_7c8b_6db6_d7fd381d8030 -->|defined in| 71f17950_8fc4_c3e9_2e13_384d1ac7ea2c
  style 31a1a972_a197_7c8b_6db6_d7fd381d8030 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java lines 617–629

    @Test
    public void windowUpdateDoesNotOverflowConnectionWindow() {
        Http2Connection connection = frameCodec.connection();
        Http2LocalFlowController localFlow = connection.local().flowController();
        int initialWindowSizeBefore = localFlow.initialWindowSize();

        channel.write(new DefaultHttp2WindowUpdateFrame(Integer.MAX_VALUE));

        // The initial window size is only changed by Http2Settings, so it shouldn't change.
        assertEquals(initialWindowSizeBefore, localFlow.initialWindowSize());
        // The connection window should be increased by the delta amount.
        assertEquals(Integer.MAX_VALUE, localFlow.windowSize(connection.connectionStream()));
    }

Domain

Subdomains

Frequently Asked Questions

What does windowUpdateDoesNotOverflowConnectionWindow() do?
windowUpdateDoesNotOverflowConnectionWindow() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java.
Where is windowUpdateDoesNotOverflowConnectionWindow() defined?
windowUpdateDoesNotOverflowConnectionWindow() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java at line 617.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free