Home / Function/ testUnknownSpdyPingFrameFlags() — netty Function Reference

testUnknownSpdyPingFrameFlags() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java lines 907–922

    @Test
    public void testUnknownSpdyPingFrameFlags() throws Exception {
        short type = 6;
        byte flags = (byte) 0xFF; // undefined flags
        int length = 4;
        int id = RANDOM.nextInt();

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

        decoder.decode(buf);
        verify(delegate).readPingFrame(id);
        assertFalse(buf.isReadable());
        buf.release();
    }

Domain

Subdomains

Frequently Asked Questions

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