Home / Function/ testSpdyPingFrame() — netty Function Reference

testSpdyPingFrame() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java lines 890–905

    @Test
    public void testSpdyPingFrame() throws Exception {
        short type = 6;
        byte flags = 0;
        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 testSpdyPingFrame() do?
testSpdyPingFrame() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java.
Where is testSpdyPingFrame() defined?
testSpdyPingFrame() is defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java at line 890.
What does testSpdyPingFrame() call?
testSpdyPingFrame() 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