Home / Function/ unknownFrameTypeOnConnectionStream() — netty Function Reference

unknownFrameTypeOnConnectionStream() — netty Function Reference

Architecture documentation for the unknownFrameTypeOnConnectionStream() function in Http2FrameCodecTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  fa3cb425_2047_eb20_476b_98cd06b6a498["unknownFrameTypeOnConnectionStream()"]
  71f17950_8fc4_c3e9_2e13_384d1ac7ea2c["Http2FrameCodecTest"]
  fa3cb425_2047_eb20_476b_98cd06b6a498 -->|defined in| 71f17950_8fc4_c3e9_2e13_384d1ac7ea2c
  style fa3cb425_2047_eb20_476b_98cd06b6a498 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java lines 404–414

    @Test
    public void unknownFrameTypeOnConnectionStream() throws Exception {
        // handle the case where unknown frames are sent before a stream is created,
        // for example: HTTP/2 GREASE testing
        ByteBuf debugData = bb("debug");
        frameInboundWriter.writeInboundFrame((byte) 0xb, 0, new Http2Flags(), debugData);
        channel.flush();

        assertEquals(0, debugData.refCnt());
        assertTrue(channel.isActive());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free