testUpgradeEmptyFullResponse() — netty Function Reference
Architecture documentation for the testUpgradeEmptyFullResponse() function in Http2StreamFrameToHttpObjectCodecTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3a49472b_290a_90c3_6a04_897bb98c2a8e["testUpgradeEmptyFullResponse()"] f77629dd_309f_f368_8220_46ddc65ad871["Http2StreamFrameToHttpObjectCodecTest"] 3a49472b_290a_90c3_6a04_897bb98c2a8e -->|defined in| f77629dd_309f_f368_8220_46ddc65ad871 style 3a49472b_290a_90c3_6a04_897bb98c2a8e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java lines 67–78
@Test
public void testUpgradeEmptyFullResponse() throws Exception {
EmbeddedChannel ch = new EmbeddedChannel(new Http2StreamFrameToHttpObjectCodec(true));
assertTrue(ch.writeOutbound(new DefaultFullHttpResponse(HttpVersion.HTTP_1_1, HttpResponseStatus.OK)));
Http2HeadersFrame headersFrame = ch.readOutbound();
assertEquals("200", headersFrame.headers().status().toString());
assertTrue(headersFrame.isEndStream());
assertNull(ch.readOutbound());
assertFalse(ch.finish());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testUpgradeEmptyFullResponse() do?
testUpgradeEmptyFullResponse() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java.
Where is testUpgradeEmptyFullResponse() defined?
testUpgradeEmptyFullResponse() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java at line 67.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free