Home / Function/ dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore() — netty Function Reference

dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ca2cb6c5_07fe_8473_c27b_52926394419a["dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore()"]
  7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"]
  ca2cb6c5_07fe_8473_c27b_52926394419a -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc
  e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40["mockGoAwaySent()"]
  ca2cb6c5_07fe_8473_c27b_52926394419a -->|calls| e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40
  style ca2cb6c5_07fe_8473_c27b_52926394419a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 419–432

    @Test
    public void dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore() throws Exception {
        // Throw an exception when checking stream state.
        when(connection.stream(STREAM_ID)).thenReturn(null);
        mockGoAwaySent();
        final ByteBuf data = dummyData();
        try {
            decode().onDataRead(ctx, STREAM_ID, data, 10, true);
            verify(localFlow).receiveFlowControlledFrame((Http2Stream) isNull(), 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 dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore() do?
dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore() defined?
dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 419.
What does dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore() call?
dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore() calls 1 function(s): mockGoAwaySent.

Analyze Your Own Codebase

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

Try Supermodel Free