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
  c6ddeb0c_d799_467c_8a18_2c2fc208b057["initChannel()"]
  70b64b44_33a9_847d_400c_ed70c3a9ba07["Http2ServerInitializer"]
  c6ddeb0c_d799_467c_8a18_2c2fc208b057 -->|defined in| 70b64b44_33a9_847d_400c_ed70c3a9ba07
  cbcbecdf_bf82_2f49_2d49_b49084def697["configureSsl()"]
  c6ddeb0c_d799_467c_8a18_2c2fc208b057 -->|calls| cbcbecdf_bf82_2f49_2d49_b49084def697
  24b7c385_d097_2b38_a664_cac56e3b33b9["configureClearText()"]
  c6ddeb0c_d799_467c_8a18_2c2fc208b057 -->|calls| 24b7c385_d097_2b38_a664_cac56e3b33b9
  style c6ddeb0c_d799_467c_8a18_2c2fc208b057 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/http2/helloworld/server/Http2ServerInitializer.java lines 69–76

    @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/server/Http2ServerInitializer.java.
Where is initChannel() defined?
initChannel() is defined in example/src/main/java/io/netty/example/http2/helloworld/server/Http2ServerInitializer.java at line 69.
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