channelRead() — netty Function Reference
Architecture documentation for the channelRead() function in HelloWorldHttp2Handler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7c2c193e_a794_8fd3_2bb9_0ab2a904aa24["channelRead()"] fa23b10d_ecd8_5787_14b8_20305e471f36["HelloWorldHttp2Handler"] 7c2c193e_a794_8fd3_2bb9_0ab2a904aa24 -->|defined in| fa23b10d_ecd8_5787_14b8_20305e471f36 6ee65ecb_5c8c_6923_e782_092b8dba7364["onHeadersRead()"] 7c2c193e_a794_8fd3_2bb9_0ab2a904aa24 -->|calls| 6ee65ecb_5c8c_6923_e782_092b8dba7364 ea67368a_00e9_4004_9c50_d0759434db20["onDataRead()"] 7c2c193e_a794_8fd3_2bb9_0ab2a904aa24 -->|calls| ea67368a_00e9_4004_9c50_d0759434db20 style 7c2c193e_a794_8fd3_2bb9_0ab2a904aa24 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
example/src/main/java/io/netty/example/http2/helloworld/frame/server/HelloWorldHttp2Handler.java lines 53–62
@Override
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
if (msg instanceof Http2HeadersFrame) {
onHeadersRead(ctx, (Http2HeadersFrame) msg);
} else if (msg instanceof Http2DataFrame) {
onDataRead(ctx, (Http2DataFrame) msg);
} else {
super.channelRead(ctx, msg);
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does channelRead() do?
channelRead() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/http2/helloworld/frame/server/HelloWorldHttp2Handler.java.
Where is channelRead() defined?
channelRead() is defined in example/src/main/java/io/netty/example/http2/helloworld/frame/server/HelloWorldHttp2Handler.java at line 53.
What does channelRead() call?
channelRead() calls 2 function(s): onDataRead, onHeadersRead.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free