testPassThroughOther() — netty Function Reference
Architecture documentation for the testPassThroughOther() function in Http2StreamFrameToHttpObjectCodecTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 620ef411_6f90_4ef9_36ad_bf92d1244479["testPassThroughOther()"] f77629dd_309f_f368_8220_46ddc65ad871["Http2StreamFrameToHttpObjectCodecTest"] 620ef411_6f90_4ef9_36ad_bf92d1244479 -->|defined in| f77629dd_309f_f368_8220_46ddc65ad871 style 620ef411_6f90_4ef9_36ad_bf92d1244479 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java lines 411–430
@Test
public void testPassThroughOther() throws Exception {
EmbeddedChannel ch = new EmbeddedChannel(new Http2StreamFrameToHttpObjectCodec(true));
Http2ResetFrame reset = new DefaultHttp2ResetFrame(0);
Http2GoAwayFrame goaway = new DefaultHttp2GoAwayFrame(0);
assertTrue(ch.writeInbound(reset));
assertTrue(ch.writeInbound(goaway.retain()));
assertEquals(reset, ch.readInbound());
Http2GoAwayFrame frame = ch.readInbound();
try {
assertEquals(goaway, frame);
assertNull(ch.readInbound());
assertFalse(ch.finish());
} finally {
goaway.release();
frame.release();
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testPassThroughOther() do?
testPassThroughOther() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java.
Where is testPassThroughOther() defined?
testPassThroughOther() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java at line 411.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free