channelRead() — netty Function Reference
Architecture documentation for the channelRead() function in AutobahnServerHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b028e31f_a8e1_153c_dee2_72c016dcbcdb["channelRead()"] ae745e27_4df1_b3ea_fa42_b6885b919f66["AutobahnServerHandler"] b028e31f_a8e1_153c_dee2_72c016dcbcdb -->|defined in| ae745e27_4df1_b3ea_fa42_b6885b919f66 9582854a_5889_5658_7efd_36d66fcb998f["handleHttpRequest()"] b028e31f_a8e1_153c_dee2_72c016dcbcdb -->|calls| 9582854a_5889_5658_7efd_36d66fcb998f 639f9ea2_204f_c050_5473_0a33f951e3dc["handleWebSocketFrame()"] b028e31f_a8e1_153c_dee2_72c016dcbcdb -->|calls| 639f9ea2_204f_c050_5473_0a33f951e3dc style b028e31f_a8e1_153c_dee2_72c016dcbcdb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite-autobahn/src/main/java/io/netty/testsuite/autobahn/AutobahnServerHandler.java lines 56–65
@Override
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
if (msg instanceof HttpRequest) {
handleHttpRequest(ctx, (HttpRequest) msg);
} else if (msg instanceof WebSocketFrame) {
handleWebSocketFrame(ctx, (WebSocketFrame) msg);
} else {
throw new IllegalStateException("unknown message: " + msg);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does channelRead() do?
channelRead() is a function in the netty codebase, defined in testsuite-autobahn/src/main/java/io/netty/testsuite/autobahn/AutobahnServerHandler.java.
Where is channelRead() defined?
channelRead() is defined in testsuite-autobahn/src/main/java/io/netty/testsuite/autobahn/AutobahnServerHandler.java at line 56.
What does channelRead() call?
channelRead() calls 2 function(s): handleHttpRequest, handleWebSocketFrame.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free