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