Home / Function/ sectionAckCancelledStream() — netty Function Reference

sectionAckCancelledStream() — netty Function Reference

Architecture documentation for the sectionAckCancelledStream() function in QpackDecoderHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0fc07876_2d59_4390_1743_a47a3066f684["sectionAckCancelledStream()"]
  708fffe6_76c4_53cd_c185_aade2e79a203["QpackDecoderHandlerTest"]
  0fc07876_2d59_4390_1743_a47a3066f684 -->|defined in| 708fffe6_76c4_53cd_c185_aade2e79a203
  1a446418_ae1b_2891_734d_206ade84e01d["setup()"]
  0fc07876_2d59_4390_1743_a47a3066f684 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d
  6bdbff25_ef05_b353_a1c8_b5c4daa18e1e["encodeHeaders()"]
  0fc07876_2d59_4390_1743_a47a3066f684 -->|calls| 6bdbff25_ef05_b353_a1c8_b5c4daa18e1e
  daa4b581_1741_b0bb_2225_366ee5bd1cb0["sendInsertCountIncrement()"]
  0fc07876_2d59_4390_1743_a47a3066f684 -->|calls| daa4b581_1741_b0bb_2225_366ee5bd1cb0
  2e819208_0f41_d2a5_5e82_12407473dc46["sendStreamCancellation()"]
  0fc07876_2d59_4390_1743_a47a3066f684 -->|calls| 2e819208_0f41_d2a5_5e82_12407473dc46
  c9508b96_eaf7_bd2f_886c_fbcbe599b737["sendAckForStreamId()"]
  0fc07876_2d59_4390_1743_a47a3066f684 -->|calls| c9508b96_eaf7_bd2f_886c_fbcbe599b737
  50c2df80_93cc_bdac_0c0e_e8c78e539cb0["finishStreams()"]
  0fc07876_2d59_4390_1743_a47a3066f684 -->|calls| 50c2df80_93cc_bdac_0c0e_e8c78e539cb0
  style 0fc07876_2d59_4390_1743_a47a3066f684 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderHandlerTest.java lines 147–162

    @Test
    public void sectionAckCancelledStream() throws Exception {
        setup(128L);
        encodeHeaders(headers -> headers.add(fooBar.name, fooBar.value));
        sendInsertCountIncrement(1);
        // Refer now to dynamic table
        encodeHeaders(headers -> headers.add(fooBar.name, fooBar.value));

        sendStreamCancellation(decoderStream.streamId());

        Http3Exception e = assertThrows(Http3Exception.class, () -> sendAckForStreamId(decoderStream.streamId()));
        assertThat(e.getCause(), instanceOf(QpackException.class));

        Http3TestUtils.verifyClose(QPACK_DECODER_STREAM_ERROR, parent);
        finishStreams();
    }

Domain

Subdomains

Frequently Asked Questions

What does sectionAckCancelledStream() do?
sectionAckCancelledStream() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderHandlerTest.java.
Where is sectionAckCancelledStream() defined?
sectionAckCancelledStream() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderHandlerTest.java at line 147.
What does sectionAckCancelledStream() call?
sectionAckCancelledStream() calls 6 function(s): encodeHeaders, finishStreams, sendAckForStreamId, sendInsertCountIncrement, sendStreamCancellation, setup.

Analyze Your Own Codebase

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

Try Supermodel Free