Home / Function/ testLimitRst() — netty Function Reference

testLimitRst() — netty Function Reference

Architecture documentation for the testLimitRst() function in Http2MaxRstFrameLimitEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  24075965_efc6_4526_e262_a76239b838fc["testLimitRst()"]
  eeac0acc_8c8f_03de_0277_9e95e05f7fa8["Http2MaxRstFrameLimitEncoderTest"]
  24075965_efc6_4526_e262_a76239b838fc -->|defined in| eeac0acc_8c8f_03de_0277_9e95e05f7fa8
  00a5eab7_8aa2_fcd5_ae09_235b89915618["verifyFlushAndClose()"]
  24075965_efc6_4526_e262_a76239b838fc -->|calls| 00a5eab7_8aa2_fcd5_ae09_235b89915618
  style 24075965_efc6_4526_e262_a76239b838fc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MaxRstFrameLimitEncoderTest.java lines 178–191

    @ParameterizedTest
    @EnumSource(Http2Error.class)
    public void testLimitRst(Http2Error error) {
        assertTrue(encoder.writeRstStream(ctx, 1, error.code(), newPromise()).isSuccess());
        assertTrue(encoder.writeRstStream(ctx, 1, error.code(), newPromise()).isSuccess());
        verifyFlushAndClose(0, false);
        assertTrue(encoder.writeRstStream(ctx, 1, error.code(), newPromise()).isSuccess());
        if (error == CANCEL || error == NO_ERROR) {
            // CANCEL and NO_ERROR are ignored as these will not be caused by a stream error.
            verifyFlushAndClose(0, false);
        } else {
            verifyFlushAndClose(1, true);
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free