testUnidirectionalStream() — netty Function Reference
Architecture documentation for the testUnidirectionalStream() function in AbtractHttp3ConnectionHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f159b57a_a83f_6808_b666_bbb34c6de066["testUnidirectionalStream()"] 51f4cb69_fb8b_eaa4_1baf_a1ec8d8f48e9["AbtractHttp3ConnectionHandlerTest"] f159b57a_a83f_6808_b666_bbb34c6de066 -->|defined in| 51f4cb69_fb8b_eaa4_1baf_a1ec8d8f48e9 style f159b57a_a83f_6808_b666_bbb34c6de066 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/AbtractHttp3ConnectionHandlerTest.java lines 88–112
@Test
public void testUnidirectionalStream() throws Exception {
EmbeddedQuicChannel quicChannel = new EmbeddedQuicChannel(server, new ChannelDuplexHandler());
final QuicStreamChannel unidirectionalStream =
quicChannel.createStream(QuicStreamType.UNIDIRECTIONAL, new ChannelDuplexHandler()).get();
ChannelHandlerContext ctx = quicChannel.pipeline().firstContext();
Http3ConnectionHandler handler = newConnectionHandler();
handler.handlerAdded(ctx);
handler.channelRegistered(ctx);
handler.channelActive(ctx);
final EmbeddedQuicStreamChannel localControlStream = quicChannel.localControlStream();
assertNotNull(localControlStream);
handler.channelRead(ctx, unidirectionalStream);
assertNotNull(unidirectionalStream.pipeline().get(Http3UnidirectionalStreamInboundHandler.class));
handler.channelInactive(ctx);
handler.channelUnregistered(ctx);
handler.handlerRemoved(ctx);
assertTrue(localControlStream.finishAndReleaseAll());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testUnidirectionalStream() do?
testUnidirectionalStream() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/AbtractHttp3ConnectionHandlerTest.java.
Where is testUnidirectionalStream() defined?
testUnidirectionalStream() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/AbtractHttp3ConnectionHandlerTest.java at line 88.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free