Home / Function/ windowUpdateFrames() — netty Function Reference

windowUpdateFrames() — netty Function Reference

Architecture documentation for the windowUpdateFrames() function in Http2MultiplexTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ecea71ab_a821_cb93_2459_6f183b15b175["windowUpdateFrames()"]
  4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"]
  ecea71ab_a821_cb93_2459_6f183b15b175 -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09
  f0f2c231_dca4_8813_8bb1_b50128b0ea20["ignoreWindowUpdateFrames()"]
  ecea71ab_a821_cb93_2459_6f183b15b175 -->|calls| f0f2c231_dca4_8813_8bb1_b50128b0ea20
  style ecea71ab_a821_cb93_2459_6f183b15b175 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 1320–1341

    @Test
    public void windowUpdateFrames() {
        AtomicInteger numReads = new AtomicInteger(1);
        LastInboundHandler inboundHandler = new LastInboundHandler();
        Http2StreamChannel childChannel = newInboundStream(3, false, numReads, inboundHandler);

        assertEquals(new DefaultHttp2HeadersFrame(request).stream(childChannel.stream()), inboundHandler.readInbound());

        frameInboundWriter.writeInboundWindowUpdate(childChannel.stream().id(), 4);

        Http2WindowUpdateFrame updateFrame = inboundHandler.readInbound();
        if (ignoreWindowUpdateFrames()) {
            assertNull(updateFrame);
        } else {
            assertEquals(new DefaultHttp2WindowUpdateFrame(4).stream(childChannel.stream()), updateFrame);
        }

        frameInboundWriter.writeInboundWindowUpdate(Http2CodecUtil.CONNECTION_STREAM_ID, 6);

        assertNull(parentChannel.readInbound());
        childChannel.close().syncUninterruptibly();
    }

Domain

Subdomains

Frequently Asked Questions

What does windowUpdateFrames() do?
windowUpdateFrames() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java.
Where is windowUpdateFrames() defined?
windowUpdateFrames() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 1320.
What does windowUpdateFrames() call?
windowUpdateFrames() calls 1 function(s): ignoreWindowUpdateFrames.

Analyze Your Own Codebase

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

Try Supermodel Free