Home / Function/ testRstFrames() — netty Function Reference

testRstFrames() — netty Function Reference

Architecture documentation for the testRstFrames() function in Http2MaxRstFrameListenerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3e5da83b_5448_35c0_cfdf_22e40400b99d["testRstFrames()"]
  6a7eeddd_d388_257d_4d94_20d125b2339f["Http2MaxRstFrameListenerTest"]
  3e5da83b_5448_35c0_cfdf_22e40400b99d -->|defined in| 6a7eeddd_d388_257d_4d94_20d125b2339f
  style 3e5da83b_5448_35c0_cfdf_22e40400b99d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MaxRstFrameListenerTest.java lines 60–67

    @Test
    public void testRstFrames() throws Exception {
        listener = new Http2MaxRstFrameListener(frameListener, 1, 1);
        listener.onRstStreamRead(ctx, 1, Http2Error.STREAM_CLOSED.code());
        Thread.sleep(1100);
        listener.onRstStreamRead(ctx, 1, Http2Error.STREAM_CLOSED.code());
        verify(frameListener, times(2)).onRstStreamRead(eq(ctx), anyInt(), eq(Http2Error.STREAM_CLOSED.code()));
    }

Domain

Subdomains

Frequently Asked Questions

What does testRstFrames() do?
testRstFrames() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MaxRstFrameListenerTest.java.
Where is testRstFrames() defined?
testRstFrames() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MaxRstFrameListenerTest.java at line 60.

Analyze Your Own Codebase

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

Try Supermodel Free