Home / Function/ handlerAdded() — netty Function Reference

handlerAdded() — netty Function Reference

Architecture documentation for the handlerAdded() function in Http2ConnectionHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ca10094c_9de4_bcf4_308b_1cc8f0f6b72b["handlerAdded()"]
  a9ab361d_2417_0366_d9d0_ae1adb2145dc["Http2ConnectionHandler"]
  ca10094c_9de4_bcf4_308b_1cc8f0f6b72b -->|defined in| a9ab361d_2417_0366_d9d0_ae1adb2145dc
  73375026_56ea_312c_baa4_40200ab8c7dd["PrefaceDecoder()"]
  ca10094c_9de4_bcf4_308b_1cc8f0f6b72b -->|calls| 73375026_56ea_312c_baa4_40200ab8c7dd
  style ca10094c_9de4_bcf4_308b_1cc8f0f6b72b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java lines 407–415

    @Override
    public void handlerAdded(ChannelHandlerContext ctx) throws Exception {
        // Initialize the encoder, decoder, flow controllers, and internal state.
        encoder.lifecycleManager(this);
        decoder.lifecycleManager(this);
        encoder.flowController().channelHandlerContext(ctx);
        decoder.flowController().channelHandlerContext(ctx);
        byteDecoder = new PrefaceDecoder(ctx);
    }

Domain

Subdomains

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/Http2ConnectionHandler.java.
Where is handlerAdded() defined?
handlerAdded() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java at line 407.
What does handlerAdded() call?
handlerAdded() calls 1 function(s): PrefaceDecoder.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free