Home / Function/ testSpdyWindowUpdateFrame() — netty Function Reference

testSpdyWindowUpdateFrame() — netty Function Reference

Architecture documentation for the testSpdyWindowUpdateFrame() function in SpdyFrameDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  020bd724_33bc_290e_8a6c_c492317e894b["testSpdyWindowUpdateFrame()"]
  694e7f21_2c70_1029_2eab_f7afcf7a1d96["SpdyFrameDecoderTest"]
  020bd724_33bc_290e_8a6c_c492317e894b -->|defined in| 694e7f21_2c70_1029_2eab_f7afcf7a1d96
  22716287_5b34_da1d_c8e3_c9777b358484["encodeControlFrameHeader()"]
  020bd724_33bc_290e_8a6c_c492317e894b -->|calls| 22716287_5b34_da1d_c8e3_c9777b358484
  style 020bd724_33bc_290e_8a6c_c492317e894b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java lines 1148–1164

    @Test
    public void testSpdyWindowUpdateFrame() throws Exception {
        short type = 9;
        byte flags = 0;
        int length = 8;
        int streamId = RANDOM.nextInt() & 0x7FFFFFFF;
        int deltaWindowSize = RANDOM.nextInt() & 0x7FFFFFFF | 0x01;

        ByteBuf buf = Unpooled.buffer(SPDY_HEADER_SIZE + length);
        encodeControlFrameHeader(buf, type, flags, length);
        buf.writeInt(streamId);
        buf.writeInt(deltaWindowSize);

        decoder.decode(buf);
        verify(delegate).readWindowUpdateFrame(streamId, deltaWindowSize);
        assertFalse(buf.isReadable());
    }

Domain

Subdomains

Frequently Asked Questions

What does testSpdyWindowUpdateFrame() do?
testSpdyWindowUpdateFrame() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java.
Where is testSpdyWindowUpdateFrame() defined?
testSpdyWindowUpdateFrame() is defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java at line 1148.
What does testSpdyWindowUpdateFrame() call?
testSpdyWindowUpdateFrame() calls 1 function(s): encodeControlFrameHeader.

Analyze Your Own Codebase

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

Try Supermodel Free