Home / Class/ Launcher Class — netty Architecture

Launcher Class — netty Architecture

Architecture documentation for the Launcher class in Launcher.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c029a0d5_f943_1574_8d11_a39ea69d4dbf["Launcher"]
  f044a7b6_9c4d_77c7_df99_63d8c16340ad["Launcher.java"]
  c029a0d5_f943_1574_8d11_a39ea69d4dbf -->|defined in| f044a7b6_9c4d_77c7_df99_63d8c16340ad
  f7dcab50_5562_2019_daab_b72c43b13b6e["main()"]
  c029a0d5_f943_1574_8d11_a39ea69d4dbf -->|method| f7dcab50_5562_2019_daab_b72c43b13b6e

Relationship Graph

Source Code

example/src/main/java/io/netty/example/http2/tiles/Launcher.java lines 37–53

public final class Launcher {

    public static void main(String[] args) {
        EventLoopGroup group = new MultiThreadIoEventLoopGroup(NioIoHandler.newFactory());
        Http2Server http2 = new Http2Server(group);
        HttpServer http = new HttpServer(group);
        try {
            http2.start();
            System.err.println("Open your web browser and navigate to " + "http://" + Html.IP + ":" + HttpServer.PORT);
            http.start().sync();
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            group.shutdownGracefully();
        }
    }
}

Frequently Asked Questions

What is the Launcher class?
Launcher is a class in the netty codebase, defined in example/src/main/java/io/netty/example/http2/tiles/Launcher.java.
Where is Launcher defined?
Launcher is defined in example/src/main/java/io/netty/example/http2/tiles/Launcher.java at line 37.

Analyze Your Own Codebase

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

Try Supermodel Free