Home / Function/ pushPromiseReadForUnknownStreamShouldThrow() — netty Function Reference

pushPromiseReadForUnknownStreamShouldThrow() — netty Function Reference

Architecture documentation for the pushPromiseReadForUnknownStreamShouldThrow() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d767298e_63eb_b15d_881c_3d87f931d3f2["pushPromiseReadForUnknownStreamShouldThrow()"]
  7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"]
  d767298e_63eb_b15d_881c_3d87f931d3f2 -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc
  style d767298e_63eb_b15d_881c_3d87f931d3f2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 707–716

    @Test
    public void pushPromiseReadForUnknownStreamShouldThrow() throws Exception {
        when(connection.stream(STREAM_ID)).thenReturn(null);
        assertThrows(Http2Exception.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                decode().onPushPromiseRead(ctx, STREAM_ID, PUSH_STREAM_ID, EmptyHttp2Headers.INSTANCE, 0);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does pushPromiseReadForUnknownStreamShouldThrow() do?
pushPromiseReadForUnknownStreamShouldThrow() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is pushPromiseReadForUnknownStreamShouldThrow() defined?
pushPromiseReadForUnknownStreamShouldThrow() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 707.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free