initChannel() — netty Function Reference
Architecture documentation for the initChannel() function in Http2StaticFileServerInitializer.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c06b3cc1_48a4_d993_781b_57df27096962["initChannel()"] 5e833a33_adb3_d1c8_d6e8_e0feb319f0c0["Http2StaticFileServerInitializer"] c06b3cc1_48a4_d993_781b_57df27096962 -->|defined in| 5e833a33_adb3_d1c8_d6e8_e0feb319f0c0 style c06b3cc1_48a4_d993_781b_57df27096962 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
example/src/main/java/io/netty/example/http2/file/Http2StaticFileServerInitializer.java lines 33–40
@Override
public void initChannel(SocketChannel ch) {
ChannelPipeline pipeline = ch.pipeline();
pipeline.addLast(sslCtx.newHandler(ch.alloc()));
pipeline.addLast(Http2FrameCodecBuilder.forServer().build());
pipeline.addLast(new ChunkedWriteHandler());
pipeline.addLast(new Http2StaticFileServerHandler());
}
Domain
Subdomains
Source
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/file/Http2StaticFileServerInitializer.java.
Where is initChannel() defined?
initChannel() is defined in example/src/main/java/io/netty/example/http2/file/Http2StaticFileServerInitializer.java at line 33.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free