channelRead() — netty Function Reference
Architecture documentation for the channelRead() function in ApplicationProtocolNegotiationHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 73fc5f5b_e081_bdd5_167a_04c620d4fdab["channelRead()"] 0233e67b_aa3b_d75b_4c03_f8c1ecbc9db1["ApplicationProtocolNegotiationHandler"] 73fc5f5b_e081_bdd5_167a_04c620d4fdab -->|defined in| 0233e67b_aa3b_d75b_4c03_f8c1ecbc9db1 ff97ac71_5935_7324_8055_fd73efd9c995["removeSelfIfPresent()"] 73fc5f5b_e081_bdd5_167a_04c620d4fdab -->|calls| ff97ac71_5935_7324_8055_fd73efd9c995 style 73fc5f5b_e081_bdd5_167a_04c620d4fdab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/ApplicationProtocolNegotiationHandler.java lines 100–112
@Override
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
// Let's buffer all data until this handler will be removed from the pipeline.
bufferedMessages.add(msg);
if (!sslHandlerChecked) {
sslHandlerChecked = true;
if (ctx.pipeline().get(SslHandler.class) == null) {
// Just remove ourself if there is no SslHandler in the pipeline and so we would otherwise
// buffer forever.
removeSelfIfPresent(ctx);
}
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does channelRead() do?
channelRead() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ApplicationProtocolNegotiationHandler.java.
Where is channelRead() defined?
channelRead() is defined in handler/src/main/java/io/netty/handler/ssl/ApplicationProtocolNegotiationHandler.java at line 100.
What does channelRead() call?
channelRead() calls 1 function(s): removeSelfIfPresent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free