Home / Function/ failedWhenDataFrameNotAssociateWithStream() — netty Function Reference

failedWhenDataFrameNotAssociateWithStream() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java lines 269–288

    @Test
    public void failedWhenDataFrameNotAssociateWithStream() throws Http2Exception {
        final ByteBuf input = Unpooled.buffer();
        ByteBuf payload = Unpooled.buffer();
        try {
            payload.writeByte(1);

            writeFrameHeader(input, payload.readableBytes(), DATA, new Http2Flags().endOfStream(true), 0);
            input.writeBytes(payload);
            assertThrows(Http2Exception.class, new Executable() {
                @Override
                public void execute() throws Throwable {
                    frameReader.readFrame(ctx, input, listener);
                }
            });
        } finally {
            payload.release();
            input.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free