Home / Function/ testStreamDropsInboundData() — netty Function Reference

testStreamDropsInboundData() — netty Function Reference

Architecture documentation for the testStreamDropsInboundData() function in QpackStreamHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  93f03f91_0d18_0f70_6f6f_0f8412137a70["testStreamDropsInboundData()"]
  fbff33cc_16fc_7dac_d771_48c9a472f820["QpackStreamHandlerTest"]
  93f03f91_0d18_0f70_6f6f_0f8412137a70 -->|defined in| fbff33cc_16fc_7dac_d771_48c9a472f820
  style 93f03f91_0d18_0f70_6f6f_0f8412137a70 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/QpackStreamHandlerTest.java lines 51–63

    @Test
    public void testStreamDropsInboundData() throws Exception {
        EmbeddedQuicChannel parent = new EmbeddedQuicChannel(true);
        parent.close().get();

        EmbeddedQuicStreamChannel channel =
                (EmbeddedQuicStreamChannel) parent.createStream(QuicStreamType.UNIDIRECTIONAL,
                        new QpackDecoderHandler(new QpackEncoder())).get();
        ByteBuf buffer = Unpooled.buffer();
        assertFalse(channel.writeInbound(buffer));
        assertEquals(0, buffer.refCnt());
        assertFalse(channel.finish());
    }

Domain

Subdomains

Frequently Asked Questions

What does testStreamDropsInboundData() do?
testStreamDropsInboundData() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackStreamHandlerTest.java.
Where is testStreamDropsInboundData() defined?
testStreamDropsInboundData() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackStreamHandlerTest.java at line 51.

Analyze Your Own Codebase

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

Try Supermodel Free