priorityReadShouldNotCreateNewStream() — netty Function Reference
Architecture documentation for the priorityReadShouldNotCreateNewStream() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9e07ed41_aa0c_8c23_767f_7c32c2174454["priorityReadShouldNotCreateNewStream()"] 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"] 9e07ed41_aa0c_8c23_767f_7c32c2174454 -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc style 9e07ed41_aa0c_8c23_767f_7c32c2174454 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 742–751
@Test
public void priorityReadShouldNotCreateNewStream() throws Exception {
when(connection.streamMayHaveExisted(STREAM_ID)).thenReturn(false);
when(connection.stream(STREAM_ID)).thenReturn(null);
decode().onPriorityRead(ctx, STREAM_ID, STREAM_DEPENDENCY_ID, (short) 255, true);
verify(remoteFlow).updateDependencyTree(eq(STREAM_ID), eq(STREAM_DEPENDENCY_ID), eq((short) 255), eq(true));
verify(listener).onPriorityRead(eq(ctx), eq(STREAM_ID), eq(STREAM_DEPENDENCY_ID), eq((short) 255), eq(true));
verify(remote, never()).createStream(eq(STREAM_ID), anyBoolean());
verify(stream, never()).open(anyBoolean());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does priorityReadShouldNotCreateNewStream() do?
priorityReadShouldNotCreateNewStream() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is priorityReadShouldNotCreateNewStream() defined?
priorityReadShouldNotCreateNewStream() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 742.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free