Home / Function/ verifyFlushAndClose() — netty Function Reference

verifyFlushAndClose() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MaxRstFrameLimitEncoderTest.java lines 204–211

    private void verifyFlushAndClose(int invocations, boolean failed) {
        verify(ctx, atLeast(invocations)).flush();
        verify(ctx, times(invocations)).close();
        if (failed) {
            verify(writer, times(1)).writeGoAway(eq(ctx), eq(Integer.MAX_VALUE), eq(ENHANCE_YOUR_CALM.code()),
                    any(ByteBuf.class), any(ChannelPromise.class));
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free