handlerAdded() — netty Function Reference
Architecture documentation for the handlerAdded() function in Http2FrameCodec.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7795823d_413a_96d1_ee63_6dda0df913d5["handlerAdded()"] ba77a225_4637_fe77_ee1f_54a9774ca7f8["Http2FrameCodec"] 7795823d_413a_96d1_ee63_6dda0df913d5 -->|defined in| ba77a225_4637_fe77_ee1f_54a9774ca7f8 4c3d3913_a400_e447_0997_8e68ce8c89a7["userEventTriggered()"] 4c3d3913_a400_e447_0997_8e68ce8c89a7 -->|calls| 7795823d_413a_96d1_ee63_6dda0df913d5 358e96dd_3d48_85e7_22b9_70378f4e324e["handlerAdded0()"] 7795823d_413a_96d1_ee63_6dda0df913d5 -->|calls| 358e96dd_3d48_85e7_22b9_70378f4e324e 00a9b5ed_642d_3de9_0443_03f66b22d1c8["tryExpandConnectionFlowControlWindow()"] 7795823d_413a_96d1_ee63_6dda0df913d5 -->|calls| 00a9b5ed_642d_3de9_0443_03f66b22d1c8 style 7795823d_413a_96d1_ee63_6dda0df913d5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java lines 217–228
@Override
public final void handlerAdded(ChannelHandlerContext ctx) throws Exception {
this.ctx = ctx;
super.handlerAdded(ctx);
handlerAdded0(ctx);
// Must be after Http2ConnectionHandler does its initialization in handlerAdded above.
// The server will not send a connection preface so we are good to send a window update.
Http2Connection connection = connection();
if (connection.isServer()) {
tryExpandConnectionFlowControlWindow(connection);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does handlerAdded() do?
handlerAdded() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java.
Where is handlerAdded() defined?
handlerAdded() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java at line 217.
What does handlerAdded() call?
handlerAdded() calls 2 function(s): handlerAdded0, tryExpandConnectionFlowControlWindow.
What calls handlerAdded()?
handlerAdded() is called by 1 function(s): userEventTriggered.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free