Home / Function/ autoAckPingFalse() — netty Function Reference

autoAckPingFalse() — netty Function Reference

Architecture documentation for the autoAckPingFalse() function in Http2FrameCodecTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  425fcad0_a545_84d3_6015_e0703ce96962["autoAckPingFalse()"]
  71f17950_8fc4_c3e9_2e13_384d1ac7ea2c["Http2FrameCodecTest"]
  425fcad0_a545_84d3_6015_e0703ce96962 -->|defined in| 71f17950_8fc4_c3e9_2e13_384d1ac7ea2c
  868f866c_1fcb_c067_1110_d326c0e4d94b["setUp()"]
  425fcad0_a545_84d3_6015_e0703ce96962 -->|calls| 868f866c_1fcb_c067_1110_d326c0e4d94b
  style 425fcad0_a545_84d3_6015_e0703ce96962 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java lines 880–892

    @Test
    public void autoAckPingFalse() throws Exception {
        setUp(Http2FrameCodecBuilder.forServer().autoAckPingFrame(false), new Http2Settings());
        frameInboundWriter.writeInboundPing(false, 8);
        verify(frameWriter, never()).writePing(eqFrameCodecCtx(), eq(true), eq(8L), anyChannelPromise());
        Http2PingFrame frame = inboundHandler.readInbound();
        assertFalse(frame.ack());
        assertEquals(8, frame.content());

        // Now ack the frame manually.
        channel.writeAndFlush(new DefaultHttp2PingFrame(8, true));
        verify(frameWriter).writePing(eqFrameCodecCtx(), eq(true), eq(8L), anyChannelPromise());
    }

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free