headersReadForPromisedStreamShouldCloseStream() — netty Function Reference
Architecture documentation for the headersReadForPromisedStreamShouldCloseStream() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 50545dfc_d56c_0098_c753_c3ef0bbeb1bd["headersReadForPromisedStreamShouldCloseStream()"] 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"] 50545dfc_d56c_0098_c753_c3ef0bbeb1bd -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc style 50545dfc_d56c_0098_c753_c3ef0bbeb1bd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 670–678
@Test
public void headersReadForPromisedStreamShouldCloseStream() throws Exception {
when(stream.state()).thenReturn(RESERVED_REMOTE);
decode().onHeadersRead(ctx, STREAM_ID, EmptyHttp2Headers.INSTANCE, 0, true);
verify(stream).open(true);
verify(lifecycleManager).closeStreamRemote(eq(stream), eq(future));
verify(listener).onHeadersRead(eq(ctx), eq(STREAM_ID), eq(EmptyHttp2Headers.INSTANCE), eq(0),
eq(DEFAULT_PRIORITY_WEIGHT), eq(false), eq(0), eq(true));
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does headersReadForPromisedStreamShouldCloseStream() do?
headersReadForPromisedStreamShouldCloseStream() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is headersReadForPromisedStreamShouldCloseStream() defined?
headersReadForPromisedStreamShouldCloseStream() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 670.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free