channelRead() — netty Function Reference
Architecture documentation for the channelRead() function in Http3ConnectionHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 68619ef0_2afd_5c7f_d5ef_008011e6d06f["channelRead()"] af90c570_05df_8deb_a124_cbb127170343["Http3ConnectionHandler"] 68619ef0_2afd_5c7f_d5ef_008011e6d06f -->|defined in| af90c570_05df_8deb_a124_cbb127170343 5c4749c2_20d2_162a_a053_d600c0d86192["initBidirectionalStream()"] 68619ef0_2afd_5c7f_d5ef_008011e6d06f -->|calls| 5c4749c2_20d2_162a_a053_d600c0d86192 73fbda0b_513a_c602_5c67_5fc6c4fcfea5["initUnidirectionalStream()"] 68619ef0_2afd_5c7f_d5ef_008011e6d06f -->|calls| 73fbda0b_513a_c602_5c67_5fc6c4fcfea5 style 68619ef0_2afd_5c7f_d5ef_008011e6d06f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ConnectionHandler.java lines 175–191
@Override
public void channelRead(ChannelHandlerContext ctx, Object msg) {
if (msg instanceof QuicStreamChannel) {
QuicStreamChannel channel = (QuicStreamChannel) msg;
switch (channel.type()) {
case BIDIRECTIONAL:
initBidirectionalStream(ctx, channel);
break;
case UNIDIRECTIONAL:
initUnidirectionalStream(ctx, channel);
break;
default:
throw new Error("Unexpected channel type: " + channel.type());
}
}
ctx.fireChannelRead(msg);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does channelRead() do?
channelRead() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ConnectionHandler.java.
Where is channelRead() defined?
channelRead() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ConnectionHandler.java at line 175.
What does channelRead() call?
channelRead() calls 2 function(s): initBidirectionalStream, initUnidirectionalStream.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free