initControlStream() — netty Function Reference
Architecture documentation for the initControlStream() function in Http3UnidirectionalStreamInboundHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 44f4bc70_6564_439a_fc6c_13e2b47ed10f["initControlStream()"] 36d5bd43_dd1d_08a7_bad2_6e9b8c3d046d["Http3UnidirectionalStreamInboundHandler"] 44f4bc70_6564_439a_fc6c_13e2b47ed10f -->|defined in| 36d5bd43_dd1d_08a7_bad2_6e9b8c3d046d 1b08c453_9a02_86bf_622f_7896be128c86["decode()"] 1b08c453_9a02_86bf_622f_7896be128c86 -->|calls| 44f4bc70_6564_439a_fc6c_13e2b47ed10f style 44f4bc70_6564_439a_fc6c_13e2b47ed10f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/main/java/io/netty/handler/codec/http3/Http3UnidirectionalStreamInboundHandler.java lines 118–131
private void initControlStream(ChannelHandlerContext ctx) {
if (ctx.channel().parent().attr(REMOTE_CONTROL_STREAM).setIfAbsent(true) == null) {
ctx.pipeline().addLast(localControlStreamHandler);
// Replace this handler with the codec now.
ctx.pipeline().replace(this, null,
codecFactory.newCodec(Http3ControlStreamFrameTypeValidator.INSTANCE, NO_STATE,
NO_STATE, nonStandardSettingsValidator));
} else {
// Only one control stream is allowed.
// See https://quicwg.org/base-drafts/draft-ietf-quic-http.html#section-6.2.1
Http3CodecUtils.connectionError(ctx, Http3ErrorCode.H3_STREAM_CREATION_ERROR,
"Received multiple control streams.", false);
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does initControlStream() do?
initControlStream() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3UnidirectionalStreamInboundHandler.java.
Where is initControlStream() defined?
initControlStream() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3UnidirectionalStreamInboundHandler.java at line 118.
What calls initControlStream()?
initControlStream() is called by 1 function(s): decode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free