Home / Function/ windowUpdateReadForUnknownStreamShouldThrow() — netty Function Reference

windowUpdateReadForUnknownStreamShouldThrow() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 769–779

    @Test
    public void windowUpdateReadForUnknownStreamShouldThrow() throws Exception {
        when(connection.streamMayHaveExisted(STREAM_ID)).thenReturn(false);
        when(connection.stream(STREAM_ID)).thenReturn(null);
        assertThrows(Http2Exception.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                decode().onWindowUpdateRead(ctx, STREAM_ID, 10);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free