Home / Function/ testUpgradeEmptyEnd() — netty Function Reference

testUpgradeEmptyEnd() — netty Function Reference

Architecture documentation for the testUpgradeEmptyEnd() function in Http3FrameToHttpObjectCodecTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e828c41f_80c6_bb71_9bda_8c0fba8dc0ad["testUpgradeEmptyEnd()"]
  0358625f_2420_3fbe_f6d7_5ee2577ca675["Http3FrameToHttpObjectCodecTest"]
  e828c41f_80c6_bb71_9bda_8c0fba8dc0ad -->|defined in| 0358625f_2420_3fbe_f6d7_5ee2577ca675
  style e828c41f_80c6_bb71_9bda_8c0fba8dc0ad fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/Http3FrameToHttpObjectCodecTest.java lines 226–240

    @Test
    public void testUpgradeEmptyEnd() {
        EmbeddedQuicStreamChannel ch = new EmbeddedQuicStreamChannel(new Http3FrameToHttpObjectCodec(true));
        ch.writeOutbound(LastHttpContent.EMPTY_LAST_CONTENT);

        assertTrue(ch.isOutputShutdown());
        Http3DataFrame dataFrame = ch.readOutbound();
        try {
            assertThat(dataFrame.content().readableBytes(), is(0));
        } finally {
            dataFrame.release();
        }

        assertFalse(ch.finish());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free