Home / Function/ dataReadAfterRstStreamForStreamInInvalidStateShouldIgnore() — netty Function Reference

dataReadAfterRstStreamForStreamInInvalidStateShouldIgnore() — netty Function Reference

Architecture documentation for the dataReadAfterRstStreamForStreamInInvalidStateShouldIgnore() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4e796e8c_b51d_dffc_ccba_a11a986f89a9["dataReadAfterRstStreamForStreamInInvalidStateShouldIgnore()"]
  7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"]
  4e796e8c_b51d_dffc_ccba_a11a986f89a9 -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc
  style 4e796e8c_b51d_dffc_ccba_a11a986f89a9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 434–447

    @Test
    public void dataReadAfterRstStreamForStreamInInvalidStateShouldIgnore() throws Exception {
        // Throw an exception when checking stream state.
        when(stream.state()).thenReturn(Http2Stream.State.CLOSED);
        when(stream.isResetSent()).thenReturn(true);
        final ByteBuf data = dummyData();
        try {
            decode().onDataRead(ctx, STREAM_ID, data, 10, true);
            verify(localFlow).receiveFlowControlledFrame(eq(stream), eq(data), eq(10), eq(true));
            verify(listener, never()).onDataRead(eq(ctx), anyInt(), any(ByteBuf.class), anyInt(), anyBoolean());
        } finally {
            data.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free