testUpgradeEmptyEnd() — netty Function Reference
Architecture documentation for the testUpgradeEmptyEnd() function in Http2StreamFrameToHttpObjectCodecTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b64b25ca_41d6_502f_7343_d59ed224a1be["testUpgradeEmptyEnd()"] f77629dd_309f_f368_8220_46ddc65ad871["Http2StreamFrameToHttpObjectCodecTest"] b64b25ca_41d6_502f_7343_d59ed224a1be -->|defined in| f77629dd_309f_f368_8220_46ddc65ad871 style b64b25ca_41d6_502f_7343_d59ed224a1be fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java lines 211–227
@Test
public void testUpgradeEmptyEnd() throws Exception {
EmbeddedChannel ch = new EmbeddedChannel(new Http2StreamFrameToHttpObjectCodec(true));
LastHttpContent end = LastHttpContent.EMPTY_LAST_CONTENT;
assertTrue(ch.writeOutbound(end));
Http2DataFrame emptyFrame = ch.readOutbound();
try {
assertEquals(0, emptyFrame.content().readableBytes());
assertTrue(emptyFrame.isEndStream());
} finally {
emptyFrame.release();
}
assertNull(ch.readOutbound());
assertFalse(ch.finish());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testUpgradeEmptyEnd() do?
testUpgradeEmptyEnd() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java.
Where is testUpgradeEmptyEnd() defined?
testUpgradeEmptyEnd() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java at line 211.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free