Home / Function/ main() — netty Function Reference

main() — netty Function Reference

Architecture documentation for the main() function in Http2Server.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  64bc95f4_08ad_a565_5889_c64376107946["main()"]
  894d1994_c3df_cfd6_4c80_c119e22510fd["Http2Server"]
  64bc95f4_08ad_a565_5889_c64376107946 -->|defined in| 894d1994_c3df_cfd6_4c80_c119e22510fd
  0b7c76ee_e0bd_492b_d166_56d07f336cb6["Http2Server()"]
  64bc95f4_08ad_a565_5889_c64376107946 -->|calls| 0b7c76ee_e0bd_492b_d166_56d07f336cb6
  17f21b61_4549_11b5_33e6_2ce98dbae059["run()"]
  64bc95f4_08ad_a565_5889_c64376107946 -->|calls| 17f21b61_4549_11b5_33e6_2ce98dbae059
  style 64bc95f4_08ad_a565_5889_c64376107946 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite-http2/src/main/java/io/netty/testsuite/http2/Http2Server.java lines 60–68

    public static void main(String[] args) throws Exception {
        int port;
        if (args.length > 0) {
            port = Integer.parseInt(args[0]);
        } else {
            port = 9000;
        }
        new Http2Server(port).run();
    }

Domain

Subdomains

Frequently Asked Questions

What does main() do?
main() is a function in the netty codebase, defined in testsuite-http2/src/main/java/io/netty/testsuite/http2/Http2Server.java.
Where is main() defined?
main() is defined in testsuite-http2/src/main/java/io/netty/testsuite/http2/Http2Server.java at line 60.
What does main() call?
main() calls 2 function(s): Http2Server, run.

Analyze Your Own Codebase

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

Try Supermodel Free