dataReadForStreamInInvalidStateShouldThrow() — netty Function Reference
Architecture documentation for the dataReadForStreamInInvalidStateShouldThrow() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d1db5d23_19fa_6005_46f1_958b9a7a0292["dataReadForStreamInInvalidStateShouldThrow()"] 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"] d1db5d23_19fa_6005_46f1_958b9a7a0292 -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc style d1db5d23_19fa_6005_46f1_958b9a7a0292 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 390–402
@Test
public void dataReadForStreamInInvalidStateShouldThrow() throws Exception {
// Throw an exception when checking stream state.
when(stream.state()).thenReturn(Http2Stream.State.CLOSED);
final ByteBuf data = dummyData();
assertThrows(Http2Exception.class, new Executable() {
@Override
public void execute() throws Throwable {
decode().onDataRead(ctx, STREAM_ID, data, 10, true);
}
});
data.release();
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does dataReadForStreamInInvalidStateShouldThrow() do?
dataReadForStreamInInvalidStateShouldThrow() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is dataReadForStreamInInvalidStateShouldThrow() defined?
dataReadForStreamInInvalidStateShouldThrow() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 390.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free