Home / Function/ initChannel() — netty Function Reference

initChannel() — netty Function Reference

Architecture documentation for the initChannel() function in Http2ServerInitializer.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f7d3c227_1ff7_d3c7_fcd4_550f4b8bdb74["initChannel()"]
  dde7fab7_ab37_3918_6df2_b3e8b994940f["Http2ServerInitializer"]
  f7d3c227_1ff7_d3c7_fcd4_550f4b8bdb74 -->|defined in| dde7fab7_ab37_3918_6df2_b3e8b994940f
  78ee8321_7268_8c2b_236d_1bef32ac90bb["configureSsl()"]
  f7d3c227_1ff7_d3c7_fcd4_550f4b8bdb74 -->|calls| 78ee8321_7268_8c2b_236d_1bef32ac90bb
  33997779_95aa_b421_dbbd_fcc7afd3acaf["configureClearText()"]
  f7d3c227_1ff7_d3c7_fcd4_550f4b8bdb74 -->|calls| 33997779_95aa_b421_dbbd_fcc7afd3acaf
  style f7d3c227_1ff7_d3c7_fcd4_550f4b8bdb74 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/http2/helloworld/frame/server/Http2ServerInitializer.java lines 71–78

    @Override
    public void initChannel(SocketChannel ch) {
        if (sslCtx != null) {
            configureSsl(ch);
        } else {
            configureClearText(ch);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does initChannel() do?
initChannel() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/http2/helloworld/frame/server/Http2ServerInitializer.java.
Where is initChannel() defined?
initChannel() is defined in example/src/main/java/io/netty/example/http2/helloworld/frame/server/Http2ServerInitializer.java at line 71.
What does initChannel() call?
initChannel() calls 2 function(s): configureClearText, configureSsl.

Analyze Your Own Codebase

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

Try Supermodel Free