Home / Function/ testUnknownSpdyWindowUpdateFrameFlags() — netty Function Reference

testUnknownSpdyWindowUpdateFrameFlags() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java lines 1166–1183

    @Test
    public void testUnknownSpdyWindowUpdateFrameFlags() throws Exception {
        short type = 9;
        byte flags = (byte) 0xFF; // undefined flags
        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());
        buf.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does testUnknownSpdyWindowUpdateFrameFlags() do?
testUnknownSpdyWindowUpdateFrameFlags() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java.
Where is testUnknownSpdyWindowUpdateFrameFlags() defined?
testUnknownSpdyWindowUpdateFrameFlags() is defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java at line 1166.
What does testUnknownSpdyWindowUpdateFrameFlags() call?
testUnknownSpdyWindowUpdateFrameFlags() 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