ChannelFuture() — netty Function Reference
Architecture documentation for the ChannelFuture() function in Http2Server.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0f1e491b_e71b_48a5_f697_737a6404324e["ChannelFuture()"] a7fb0a0d_b65a_50b5_e087_0c2acc22c234["Http2Server"] 0f1e491b_e71b_48a5_f697_737a6404324e -->|defined in| a7fb0a0d_b65a_50b5_e087_0c2acc22c234 style 0f1e491b_e71b_48a5_f697_737a6404324e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
example/src/main/java/io/netty/example/http2/tiles/Http2Server.java lines 54–67
public ChannelFuture start() throws Exception {
final SslContext sslCtx = configureTLS();
ServerBootstrap b = new ServerBootstrap();
b.option(ChannelOption.SO_BACKLOG, 1024);
b.group(group).channel(NioServerSocketChannel.class).childHandler(new ChannelInitializer<SocketChannel>() {
@Override
protected void initChannel(SocketChannel ch) throws Exception {
ch.pipeline().addLast(sslCtx.newHandler(ch.alloc()), new Http2OrHttpHandler());
}
});
Channel ch = b.bind(PORT).sync().channel();
return ch.closeFuture();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ChannelFuture() do?
ChannelFuture() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/http2/tiles/Http2Server.java.
Where is ChannelFuture() defined?
ChannelFuture() is defined in example/src/main/java/io/netty/example/http2/tiles/Http2Server.java at line 54.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free