Home / Function/ failedWhenStreamWindowUpdateFrameWithZeroDelta() — netty Function Reference

failedWhenStreamWindowUpdateFrameWithZeroDelta() — netty Function Reference

Architecture documentation for the failedWhenStreamWindowUpdateFrameWithZeroDelta() function in DefaultHttp2FrameReaderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  08971656_096b_d412_2960_369643425c32["failedWhenStreamWindowUpdateFrameWithZeroDelta()"]
  66b2f0cc_bce5_f8e1_a7ee_93cd2a101951["DefaultHttp2FrameReaderTest"]
  08971656_096b_d412_2960_369643425c32 -->|defined in| 66b2f0cc_bce5_f8e1_a7ee_93cd2a101951
  style 08971656_096b_d412_2960_369643425c32 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java lines 335–351

    @Test
    public void failedWhenStreamWindowUpdateFrameWithZeroDelta() throws Http2Exception {
        final ByteBuf input = Unpooled.buffer();
        try {
            writeFrameHeader(input, 4, WINDOW_UPDATE, new Http2Flags(), 1);
            input.writeInt(0);
            Http2Exception ex = assertThrows(Http2Exception.class, new Executable() {
                @Override
                public void execute() throws Throwable {
                    frameReader.readFrame(ctx, input, listener);
                }
            });
            assertInstanceOf(Http2Exception.StreamException.class, ex);
        } finally {
            input.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free