channelActive() — netty Function Reference
Architecture documentation for the channelActive() function in Http3ControlStreamInboundHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b69250c2_be16_a5db_abd7_24a07172a086["channelActive()"] 4b53bebf_0e3a_cf76_df02_11de8f793418["AbstractQPackStreamInitializer"] b69250c2_be16_a5db_abd7_24a07172a086 -->|defined in| 4b53bebf_0e3a_cf76_df02_11de8f793418 4b29b43a_f6b6_eeec_b5cd_3a6cdc7c785b["streamAvailable()"] b69250c2_be16_a5db_abd7_24a07172a086 -->|calls| 4b29b43a_f6b6_eeec_b5cd_3a6cdc7c785b style b69250c2_be16_a5db_abd7_24a07172a086 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandler.java lines 235–245
@Override
public final void channelActive(ChannelHandlerContext ctx) {
// We need to write the streamType into the stream before doing anything else.
// See https://tools.ietf.org/html/draft-ietf-quic-http-32#section-6.2.1
// Just allocate 8 bytes which would be the max needed.
ByteBuf buffer = ctx.alloc().buffer(8);
Http3CodecUtils.writeVariableLengthInteger(buffer, streamType);
closeOnFailure(ctx.writeAndFlush(buffer));
streamAvailable(ctx);
ctx.fireChannelActive();
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does channelActive() do?
channelActive() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandler.java.
Where is channelActive() defined?
channelActive() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandler.java at line 235.
What does channelActive() call?
channelActive() calls 1 function(s): streamAvailable.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free