Home / Function/ ServerBootstrap() — netty Function Reference

ServerBootstrap() — netty Function Reference

Architecture documentation for the ServerBootstrap() function in BaseChannelTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  729cac52_96b1_046c_2ffc_fc2da8ef2924["ServerBootstrap()"]
  0c01051c_ac6b_ebe9_9da3_cd5809a96ff6["BaseChannelTest"]
  729cac52_96b1_046c_2ffc_fc2da8ef2924 -->|defined in| 0c01051c_ac6b_ebe9_9da3_cd5809a96ff6
  style 729cac52_96b1_046c_2ffc_fc2da8ef2924 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/BaseChannelTest.java lines 36–48

    ServerBootstrap getLocalServerBootstrap() {
        EventLoopGroup serverGroup = new MultiThreadIoEventLoopGroup(LocalIoHandler.newFactory());
        ServerBootstrap sb = new ServerBootstrap();
        sb.group(serverGroup);
        sb.channel(LocalServerChannel.class);
        sb.childHandler(new ChannelInitializer<LocalChannel>() {
            @Override
            public void initChannel(LocalChannel ch) throws Exception {
            }
        });

        return sb;
    }

Domain

Subdomains

Frequently Asked Questions

What does ServerBootstrap() do?
ServerBootstrap() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/BaseChannelTest.java.
Where is ServerBootstrap() defined?
ServerBootstrap() is defined in transport/src/test/java/io/netty/channel/BaseChannelTest.java at line 36.

Analyze Your Own Codebase

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

Try Supermodel Free