rstStreamOnIdleStreamShouldThrow() — netty Function Reference
Architecture documentation for the rstStreamOnIdleStreamShouldThrow() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 086b5a08_7a91_f9cd_d731_f30bf2bc1343["rstStreamOnIdleStreamShouldThrow()"] 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"] 086b5a08_7a91_f9cd_d731_f30bf2bc1343 -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc style 086b5a08_7a91_f9cd_d731_f30bf2bc1343 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 831–841
@Test
public void rstStreamOnIdleStreamShouldThrow() throws Exception {
when(stream.state()).thenReturn(IDLE);
assertThrows(Http2Exception.class, new Executable() {
@Override
public void execute() throws Throwable {
decode().onRstStreamRead(ctx, STREAM_ID, PROTOCOL_ERROR.code());
}
});
verify(listener, never()).onRstStreamRead(any(ChannelHandlerContext.class), anyInt(), anyLong());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does rstStreamOnIdleStreamShouldThrow() do?
rstStreamOnIdleStreamShouldThrow() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is rstStreamOnIdleStreamShouldThrow() defined?
rstStreamOnIdleStreamShouldThrow() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 831.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free