public final class sun.rmi.transport.proxy.CGIHandler
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: sun.rmi.transport.proxy.CGIHandler
  super_class: java.lang.Object
{
  static int ContentLength;
    descriptor: I
    flags: (0x0008) ACC_STATIC

  static java.lang.String QueryString;
    descriptor: Ljava/lang/String;
    flags: (0x0008) ACC_STATIC

  static java.lang.String RequestMethod;
    descriptor: Ljava/lang/String;
    flags: (0x0008) ACC_STATIC

  static java.lang.String ServerName;
    descriptor: Ljava/lang/String;
    flags: (0x0008) ACC_STATIC

  static int ServerPort;
    descriptor: I
    flags: (0x0008) ACC_STATIC

  private static sun.rmi.transport.proxy.CGICommandHandler[] commands;
    descriptor: [Lsun/rmi/transport/proxy/CGICommandHandler;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static java.util.Hashtable<java.lang.String, sun.rmi.transport.proxy.CGICommandHandler> commandLookup;
    descriptor: Ljava/util/Hashtable;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Signature: Ljava/util/Hashtable<Ljava/lang/String;Lsun/rmi/transport/proxy/CGICommandHandler;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=1, args_size=0
         0: .line 95
            new sun.rmi.transport.proxy.CGIHandler$1
            dup
            invokespecial sun.rmi.transport.proxy.CGIHandler$1.<init>:()V
         1: .line 94
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            pop
         2: .line 109
            iconst_4
            anewarray sun.rmi.transport.proxy.CGICommandHandler
            dup
            iconst_0
         3: .line 110
            new sun.rmi.transport.proxy.CGIForwardCommand
            dup
            invokespecial sun.rmi.transport.proxy.CGIForwardCommand.<init>:()V
            aastore
            dup
            iconst_1
         4: .line 111
            new sun.rmi.transport.proxy.CGIGethostnameCommand
            dup
            invokespecial sun.rmi.transport.proxy.CGIGethostnameCommand.<init>:()V
            aastore
            dup
            iconst_2
         5: .line 112
            new sun.rmi.transport.proxy.CGIPingCommand
            dup
            invokespecial sun.rmi.transport.proxy.CGIPingCommand.<init>:()V
            aastore
            dup
            iconst_3
         6: .line 113
            new sun.rmi.transport.proxy.CGITryHostnameCommand
            dup
            invokespecial sun.rmi.transport.proxy.CGITryHostnameCommand.<init>:()V
            aastore
         7: .line 109
            putstatic sun.rmi.transport.proxy.CGIHandler.commands:[Lsun/rmi/transport/proxy/CGICommandHandler;
         8: .line 119
            new java.util.Hashtable
            dup
            invokespecial java.util.Hashtable.<init>:()V
            putstatic sun.rmi.transport.proxy.CGIHandler.commandLookup:Ljava/util/Hashtable;
         9: .line 120
            iconst_0
            istore 0 /* i */
        start local 0 // int i
        10: goto 13
        11: .line 121
      StackMap locals: int
      StackMap stack:
            getstatic sun.rmi.transport.proxy.CGIHandler.commandLookup:Ljava/util/Hashtable;
            getstatic sun.rmi.transport.proxy.CGIHandler.commands:[Lsun/rmi/transport/proxy/CGICommandHandler;
            iload 0 /* i */
            aaload
            invokeinterface sun.rmi.transport.proxy.CGICommandHandler.getName:()Ljava/lang/String;
            getstatic sun.rmi.transport.proxy.CGIHandler.commands:[Lsun/rmi/transport/proxy/CGICommandHandler;
            iload 0 /* i */
            aaload
            invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        12: .line 120
            iinc 0 /* i */ 1
      StackMap locals:
      StackMap stack:
        13: iload 0 /* i */
            getstatic sun.rmi.transport.proxy.CGIHandler.commands:[Lsun/rmi/transport/proxy/CGICommandHandler;
            arraylength
            if_icmplt 11
        end local 0 // int i
        14: .line 122
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
           10   14     0     i  I

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.rmi.transport.proxy.CGIHandler this
         0: .line 125
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // sun.rmi.transport.proxy.CGIHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/rmi/transport/proxy/CGIHandler;

  public static void main(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=6, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 136
            getstatic sun.rmi.transport.proxy.CGIHandler.QueryString:Ljava/lang/String;
            ldc "="
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 3 /* delim */
        start local 3 // int delim
         1: .line 137
            iload 3 /* delim */
            iconst_m1
            if_icmpne 5
         2: .line 138
            getstatic sun.rmi.transport.proxy.CGIHandler.QueryString:Ljava/lang/String;
            astore 1 /* command */
        start local 1 // java.lang.String command
         3: .line 139
            ldc ""
            astore 2 /* param */
        start local 2 // java.lang.String param
         4: .line 140
            goto 7
        end local 2 // java.lang.String param
        end local 1 // java.lang.String command
         5: .line 142
      StackMap locals: java.lang.String[] top top int
      StackMap stack:
            getstatic sun.rmi.transport.proxy.CGIHandler.QueryString:Ljava/lang/String;
            iconst_0
            iload 3 /* delim */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 1 /* command */
        start local 1 // java.lang.String command
         6: .line 143
            getstatic sun.rmi.transport.proxy.CGIHandler.QueryString:Ljava/lang/String;
            iload 3 /* delim */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 2 /* param */
        start local 2 // java.lang.String param
         7: .line 146
      StackMap locals: java.lang.String[] java.lang.String java.lang.String int
      StackMap stack:
            getstatic sun.rmi.transport.proxy.CGIHandler.commandLookup:Ljava/util/Hashtable;
            aload 1 /* command */
            invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.rmi.transport.proxy.CGICommandHandler
         8: .line 145
            astore 4 /* handler */
        start local 4 // sun.rmi.transport.proxy.CGICommandHandler handler
         9: .line 147
            aload 4 /* handler */
            ifnull 18
        10: .line 149
            aload 4 /* handler */
            aload 2 /* param */
            invokeinterface sun.rmi.transport.proxy.CGICommandHandler.execute:(Ljava/lang/String;)V
        11: .line 150
            goto 22
      StackMap locals: java.lang.String[] java.lang.String java.lang.String int sun.rmi.transport.proxy.CGICommandHandler
      StackMap stack: sun.rmi.transport.proxy.CGIClientException
        12: astore 5 /* e */
        start local 5 // sun.rmi.transport.proxy.CGIClientException e
        13: .line 151
            aload 5 /* e */
            invokevirtual sun.rmi.transport.proxy.CGIClientException.getMessage:()Ljava/lang/String;
            invokestatic sun.rmi.transport.proxy.CGIHandler.returnClientError:(Ljava/lang/String;)V
        end local 5 // sun.rmi.transport.proxy.CGIClientException e
        14: goto 22
        15: .line 152
      StackMap locals:
      StackMap stack: sun.rmi.transport.proxy.CGIServerException
            astore 5 /* e */
        start local 5 // sun.rmi.transport.proxy.CGIServerException e
        16: .line 153
            aload 5 /* e */
            invokevirtual sun.rmi.transport.proxy.CGIServerException.getMessage:()Ljava/lang/String;
            invokestatic sun.rmi.transport.proxy.CGIHandler.returnServerError:(Ljava/lang/String;)V
        end local 5 // sun.rmi.transport.proxy.CGIServerException e
        17: .line 154
            goto 22
        18: .line 156
      StackMap locals:
      StackMap stack:
            ldc "invalid command."
            invokestatic sun.rmi.transport.proxy.CGIHandler.returnClientError:(Ljava/lang/String;)V
        end local 4 // sun.rmi.transport.proxy.CGICommandHandler handler
        end local 3 // int delim
        end local 2 // java.lang.String param
        end local 1 // java.lang.String command
        19: .line 157
            goto 22
      StackMap locals: java.lang.String[]
      StackMap stack: java.lang.Exception
        20: astore 1 /* e */
        start local 1 // java.lang.Exception e
        21: .line 158
            new java.lang.StringBuilder
            dup
            ldc "internal error: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* e */
            invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic sun.rmi.transport.proxy.CGIHandler.returnServerError:(Ljava/lang/String;)V
        end local 1 // java.lang.Exception e
        22: .line 160
      StackMap locals:
      StackMap stack:
            iconst_0
            invokestatic java.lang.System.exit:(I)V
        23: .line 161
            return
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   24     0     args  [Ljava/lang/String;
            3    5     1  command  Ljava/lang/String;
            6   19     1  command  Ljava/lang/String;
            4    5     2    param  Ljava/lang/String;
            7   19     2    param  Ljava/lang/String;
            1   19     3    delim  I
            9   19     4  handler  Lsun/rmi/transport/proxy/CGICommandHandler;
           13   14     5        e  Lsun/rmi/transport/proxy/CGIClientException;
           16   17     5        e  Lsun/rmi/transport/proxy/CGIServerException;
           21   22     1        e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
          10    11      12  Class sun.rmi.transport.proxy.CGIClientException
          10    11      15  Class sun.rmi.transport.proxy.CGIServerException
           0    19      20  Class java.lang.Exception
    MethodParameters:
      Name  Flags
      args  

  private static void returnClientError(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.String message
         0: .line 169
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Status: 400 Bad Request: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* message */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 170
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "Content-type: text/html"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         2: .line 171
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         3: .line 172
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "<HTML><HEAD><TITLE>Java RMI Client Error</TITLE></HEAD><BODY>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 176
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "<H1>Java RMI Client Error</H1>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         5: .line 177
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         6: .line 178
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            aload 0 /* message */
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 179
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "</BODY></HTML>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         8: .line 180
            iconst_1
            invokestatic java.lang.System.exit:(I)V
         9: .line 181
            return
        end local 0 // java.lang.String message
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0  message  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      message  

  private static void returnServerError(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.String message
         0: .line 189
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Status: 500 Server Error: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* message */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 190
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "Content-type: text/html"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         2: .line 191
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         3: .line 192
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "<HTML><HEAD><TITLE>Java RMI Server Error</TITLE></HEAD><BODY>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 196
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "<H1>Java RMI Server Error</H1>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         5: .line 197
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         6: .line 198
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            aload 0 /* message */
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 199
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "</BODY></HTML>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         8: .line 200
            iconst_1
            invokestatic java.lang.System.exit:(I)V
         9: .line 201
            return
        end local 0 // java.lang.String message
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0  message  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      message  
}
SourceFile: "CGIHandler.java"
NestMembers:
  sun.rmi.transport.proxy.CGIHandler$1
InnerClasses:
  sun.rmi.transport.proxy.CGIHandler$1