public final class io.netty.example.http.cors.HttpCorsServer
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: io.netty.example.http.cors.HttpCorsServer
  super_class: java.lang.Object
{
  static final boolean SSL;
    descriptor: Z
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static final int PORT;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 76
            ldc "ssl"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            ifnull 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic io.netty.example.http.cors.HttpCorsServer.SSL:Z
         3: .line 77
            ldc "port"
            getstatic io.netty.example.http.cors.HttpCorsServer.SSL:Z
            ifeq 4
            ldc "8443"
            goto 5
      StackMap locals:
      StackMap stack: java.lang.String
         4: ldc "8080"
      StackMap locals:
      StackMap stack: java.lang.String java.lang.String
         5: invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            putstatic io.netty.example.http.cors.HttpCorsServer.PORT:I
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.netty.example.http.cors.HttpCorsServer this
         0: .line 74
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // io.netty.example.http.cors.HttpCorsServer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/netty/example/http/cors/HttpCorsServer;

  public static void main(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 82
            getstatic io.netty.example.http.cors.HttpCorsServer.SSL:Z
            ifeq 4
         1: .line 83
            new io.netty.handler.ssl.util.SelfSignedCertificate
            dup
            invokespecial io.netty.handler.ssl.util.SelfSignedCertificate.<init>:()V
            astore 2 /* ssc */
        start local 2 // io.netty.handler.ssl.util.SelfSignedCertificate ssc
         2: .line 84
            aload 2 /* ssc */
            invokevirtual io.netty.handler.ssl.util.SelfSignedCertificate.certificate:()Ljava/io/File;
            aload 2 /* ssc */
            invokevirtual io.netty.handler.ssl.util.SelfSignedCertificate.privateKey:()Ljava/io/File;
            invokestatic io.netty.handler.ssl.SslContextBuilder.forServer:(Ljava/io/File;Ljava/io/File;)Lio/netty/handler/ssl/SslContextBuilder;
            invokevirtual io.netty.handler.ssl.SslContextBuilder.build:()Lio/netty/handler/ssl/SslContext;
            astore 1 /* sslCtx */
        end local 2 // io.netty.handler.ssl.util.SelfSignedCertificate ssc
        start local 1 // io.netty.handler.ssl.SslContext sslCtx
         3: .line 85
            goto 5
        end local 1 // io.netty.handler.ssl.SslContext sslCtx
         4: .line 86
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 1 /* sslCtx */
        start local 1 // io.netty.handler.ssl.SslContext sslCtx
         5: .line 89
      StackMap locals: io.netty.handler.ssl.SslContext
      StackMap stack:
            new io.netty.channel.nio.NioEventLoopGroup
            dup
            iconst_1
            invokespecial io.netty.channel.nio.NioEventLoopGroup.<init>:(I)V
            astore 2 /* bossGroup */
        start local 2 // io.netty.channel.EventLoopGroup bossGroup
         6: .line 90
            new io.netty.channel.nio.NioEventLoopGroup
            dup
            invokespecial io.netty.channel.nio.NioEventLoopGroup.<init>:()V
            astore 3 /* workerGroup */
        start local 3 // io.netty.channel.EventLoopGroup workerGroup
         7: .line 92
            new io.netty.bootstrap.ServerBootstrap
            dup
            invokespecial io.netty.bootstrap.ServerBootstrap.<init>:()V
            astore 4 /* b */
        start local 4 // io.netty.bootstrap.ServerBootstrap b
         8: .line 93
            aload 4 /* b */
            aload 2 /* bossGroup */
            aload 3 /* workerGroup */
            invokevirtual io.netty.bootstrap.ServerBootstrap.group:(Lio/netty/channel/EventLoopGroup;Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/ServerBootstrap;
         9: .line 94
            ldc Lio/netty/channel/socket/nio/NioServerSocketChannel;
            invokevirtual io.netty.bootstrap.ServerBootstrap.channel:(Ljava/lang/Class;)Lio/netty/bootstrap/AbstractBootstrap;
            checkcast io.netty.bootstrap.ServerBootstrap
        10: .line 95
            new io.netty.handler.logging.LoggingHandler
            dup
            getstatic io.netty.handler.logging.LogLevel.INFO:Lio/netty/handler/logging/LogLevel;
            invokespecial io.netty.handler.logging.LoggingHandler.<init>:(Lio/netty/handler/logging/LogLevel;)V
            invokevirtual io.netty.bootstrap.ServerBootstrap.handler:(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/AbstractBootstrap;
            checkcast io.netty.bootstrap.ServerBootstrap
        11: .line 96
            new io.netty.example.http.cors.HttpCorsServerInitializer
            dup
            aload 1 /* sslCtx */
            invokespecial io.netty.example.http.cors.HttpCorsServerInitializer.<init>:(Lio/netty/handler/ssl/SslContext;)V
            invokevirtual io.netty.bootstrap.ServerBootstrap.childHandler:(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/ServerBootstrap;
            pop
        12: .line 98
            aload 4 /* b */
            getstatic io.netty.example.http.cors.HttpCorsServer.PORT:I
            invokevirtual io.netty.bootstrap.ServerBootstrap.bind:(I)Lio/netty/channel/ChannelFuture;
            invokeinterface io.netty.channel.ChannelFuture.sync:()Lio/netty/channel/ChannelFuture;
            invokeinterface io.netty.channel.ChannelFuture.channel:()Lio/netty/channel/Channel;
            invokeinterface io.netty.channel.Channel.closeFuture:()Lio/netty/channel/ChannelFuture;
            invokeinterface io.netty.channel.ChannelFuture.sync:()Lio/netty/channel/ChannelFuture;
            pop
        end local 4 // io.netty.bootstrap.ServerBootstrap b
        13: .line 99
            goto 18
      StackMap locals: java.lang.String[] io.netty.handler.ssl.SslContext io.netty.channel.EventLoopGroup io.netty.channel.EventLoopGroup
      StackMap stack: java.lang.Throwable
        14: astore 5
        15: .line 100
            aload 2 /* bossGroup */
            invokeinterface io.netty.channel.EventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
            pop
        16: .line 101
            aload 3 /* workerGroup */
            invokeinterface io.netty.channel.EventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
            pop
        17: .line 102
            aload 5
            athrow
        18: .line 100
      StackMap locals:
      StackMap stack:
            aload 2 /* bossGroup */
            invokeinterface io.netty.channel.EventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
            pop
        19: .line 101
            aload 3 /* workerGroup */
            invokeinterface io.netty.channel.EventLoopGroup.shutdownGracefully:()Lio/netty/util/concurrent/Future;
            pop
        20: .line 103
            return
        end local 3 // io.netty.channel.EventLoopGroup workerGroup
        end local 2 // io.netty.channel.EventLoopGroup bossGroup
        end local 1 // io.netty.handler.ssl.SslContext sslCtx
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   21     0         args  [Ljava/lang/String;
            3    4     1       sslCtx  Lio/netty/handler/ssl/SslContext;
            5   21     1       sslCtx  Lio/netty/handler/ssl/SslContext;
            2    3     2          ssc  Lio/netty/handler/ssl/util/SelfSignedCertificate;
            6   21     2    bossGroup  Lio/netty/channel/EventLoopGroup;
            7   21     3  workerGroup  Lio/netty/channel/EventLoopGroup;
            8   13     4            b  Lio/netty/bootstrap/ServerBootstrap;
      Exception table:
        from    to  target  type
           7    14      14  any
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
      Name  Flags
      args  
}
SourceFile: "HttpCorsServer.java"