Home / Function/ inboundWindowUpdateShouldBeForwarded() — netty Function Reference

inboundWindowUpdateShouldBeForwarded() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java lines 577–594

    @Test
    public void inboundWindowUpdateShouldBeForwarded() throws Exception {
        frameInboundWriter.writeInboundHeaders(3, request, 31, false);
        frameInboundWriter.writeInboundWindowUpdate(3, 100);
        // Connection-level window update
        frameInboundWriter.writeInboundWindowUpdate(0, 100);

        Http2HeadersFrame headersFrame = inboundHandler.readInbound();
        assertNotNull(headersFrame);

        Http2WindowUpdateFrame windowUpdateFrame = inboundHandler.readInbound();
        assertNotNull(windowUpdateFrame);
        assertEquals(3, windowUpdateFrame.stream().id());
        assertEquals(100, windowUpdateFrame.windowSizeIncrement());

        // Window update for the connection should not be forwarded.
        assertNull(inboundHandler.readInbound());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free