dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore() — netty Function Reference
Architecture documentation for the dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f0c0b63f_5c78_ba9d_2b3a_537736b2f0c6["dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore()"] 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"] f0c0b63f_5c78_ba9d_2b3a_537736b2f0c6 -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40["mockGoAwaySent()"] f0c0b63f_5c78_ba9d_2b3a_537736b2f0c6 -->|calls| e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40 style f0c0b63f_5c78_ba9d_2b3a_537736b2f0c6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 404–417
@Test
public void dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore() throws Exception {
// Throw an exception when checking stream state.
when(stream.state()).thenReturn(Http2Stream.State.CLOSED);
mockGoAwaySent();
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
Defined In
Calls
Source
Frequently Asked Questions
What does dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore() do?
dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore() defined?
dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 404.
What does dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore() call?
dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore() 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