Home / Function/ initChannel() — netty Function Reference

initChannel() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8a37ea8e_f29f_4adc_19b6_df4e8482794b["initChannel()"]
  aa65e8c7_5b32_553b_a8d8_c89cb54bd5da["AutobahnServerInitializer"]
  8a37ea8e_f29f_4adc_19b6_df4e8482794b -->|defined in| aa65e8c7_5b32_553b_a8d8_c89cb54bd5da
  style 8a37ea8e_f29f_4adc_19b6_df4e8482794b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite-autobahn/src/main/java/io/netty/testsuite/autobahn/AutobahnServerInitializer.java lines 25–31

    @Override
    public void initChannel(SocketChannel ch) throws Exception {
        ChannelPipeline pipeline = ch.pipeline();
        pipeline.addLast("encoder", new HttpResponseEncoder());
        pipeline.addLast("decoder", new HttpRequestDecoder());
        pipeline.addLast("handler", new AutobahnServerHandler());
    }

Domain

Subdomains

Frequently Asked Questions

What does initChannel() do?
initChannel() is a function in the netty codebase, defined in testsuite-autobahn/src/main/java/io/netty/testsuite/autobahn/AutobahnServerInitializer.java.
Where is initChannel() defined?
initChannel() is defined in testsuite-autobahn/src/main/java/io/netty/testsuite/autobahn/AutobahnServerInitializer.java at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free