Home / Function/ writeUnknownFrame() — netty Function Reference

writeUnknownFrame() — netty Function Reference

Architecture documentation for the writeUnknownFrame() function in Http2MultiplexTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  26f27595_9620_5e84_3b3a_067a489503e6["writeUnknownFrame()"]
  4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"]
  26f27595_9620_5e84_3b3a_067a489503e6 -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09
  22928953_49fc_cbc5_c75c_f236ce1e1fc7["eqStreamId()"]
  26f27595_9620_5e84_3b3a_067a489503e6 -->|calls| 22928953_49fc_cbc5_c75c_f236ce1e1fc7
  style 26f27595_9620_5e84_3b3a_067a489503e6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 158–174

    @Test
    public void writeUnknownFrame() {
        Http2StreamChannel childChannel = newOutboundStream(new ChannelInboundHandlerAdapter() {
            @Override
            public void channelActive(ChannelHandlerContext ctx) {
                ctx.writeAndFlush(new DefaultHttp2HeadersFrame(new DefaultHttp2Headers()));
                ctx.writeAndFlush(new DefaultHttp2UnknownFrame((byte) 99, new Http2Flags()));
                ctx.fireChannelActive();
            }
        });
        assertTrue(childChannel.isActive());

        parentChannel.runPendingTasks();

        verify(frameWriter).writeFrame(eq(codec.ctx), eq((byte) 99), eqStreamId(childChannel), any(Http2Flags.class),
                any(ByteBuf.class), any(ChannelPromise.class));
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does writeUnknownFrame() do?
writeUnknownFrame() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java.
Where is writeUnknownFrame() defined?
writeUnknownFrame() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 158.
What does writeUnknownFrame() call?
writeUnknownFrame() calls 1 function(s): eqStreamId.

Analyze Your Own Codebase

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

Try Supermodel Free