headersReadForStreamThatAlreadySentResetShouldBeIgnored() — netty Function Reference
Architecture documentation for the headersReadForStreamThatAlreadySentResetShouldBeIgnored() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5891402d_e96f_3fe5_eb37_fc1b7b5152ef["headersReadForStreamThatAlreadySentResetShouldBeIgnored()"] 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"] 5891402d_e96f_3fe5_eb37_fc1b7b5152ef -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc style 5891402d_e96f_3fe5_eb37_fc1b7b5152ef fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 519–530
@Test
public void headersReadForStreamThatAlreadySentResetShouldBeIgnored() throws Exception {
when(stream.isResetSent()).thenReturn(true);
decode().onHeadersRead(ctx, STREAM_ID, EmptyHttp2Headers.INSTANCE, 0, false);
verify(remote, never()).createStream(anyInt(), anyBoolean());
verify(stream, never()).open(anyBoolean());
// Verify that the event was absorbed and not propagated to the observer.
verify(listener, never()).onHeadersRead(eq(ctx), anyInt(), any(Http2Headers.class), anyInt(), anyBoolean());
verify(remote, never()).createStream(anyInt(), anyBoolean());
verify(stream, never()).open(anyBoolean());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does headersReadForStreamThatAlreadySentResetShouldBeIgnored() do?
headersReadForStreamThatAlreadySentResetShouldBeIgnored() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is headersReadForStreamThatAlreadySentResetShouldBeIgnored() defined?
headersReadForStreamThatAlreadySentResetShouldBeIgnored() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 519.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free