public class sun.net.www.http.HttpCapture
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.net.www.http.HttpCapture
  super_class: java.lang.Object
{
  private java.io.File file;
    descriptor: Ljava/io/File;
    flags: (0x0002) ACC_PRIVATE

  private boolean incoming;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.io.BufferedWriter out;
    descriptor: Ljava/io/BufferedWriter;
    flags: (0x0002) ACC_PRIVATE

  private static boolean initialized;
    descriptor: Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static volatile java.util.ArrayList<java.util.regex.Pattern> patterns;
    descriptor: Ljava/util/ArrayList;
    flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
    Signature: Ljava/util/ArrayList<Ljava/util/regex/Pattern;>;

  private static volatile java.util.ArrayList<java.lang.String> capFiles;
    descriptor: Ljava/util/ArrayList;
    flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
    Signature: Ljava/util/ArrayList<Ljava/lang/String;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 60
            iconst_0
            putstatic sun.net.www.http.HttpCapture.initialized:Z
         1: .line 61
            aconst_null
            putstatic sun.net.www.http.HttpCapture.patterns:Ljava/util/ArrayList;
         2: .line 62
            aconst_null
            putstatic sun.net.www.http.HttpCapture.capFiles:Ljava/util/ArrayList;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static synchronized void init();
    descriptor: ()V
    flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=5, args_size=0
         0: .line 65
            iconst_1
            putstatic sun.net.www.http.HttpCapture.initialized:Z
         1: .line 67
            new sun.net.www.http.HttpCapture$1
            dup
            invokespecial sun.net.www.http.HttpCapture$1.<init>:()V
         2: .line 66
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 0 /* rulesFile */
        start local 0 // java.lang.String rulesFile
         3: .line 72
            aload 0 /* rulesFile */
            ifnull 34
            aload 0 /* rulesFile */
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 34
         4: .line 75
            new java.io.BufferedReader
            dup
            new java.io.FileReader
            dup
            aload 0 /* rulesFile */
            invokespecial java.io.FileReader.<init>:(Ljava/lang/String;)V
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
            astore 1 /* in */
        start local 1 // java.io.BufferedReader in
         5: .line 76
            goto 8
        end local 1 // java.io.BufferedReader in
      StackMap locals: java.lang.String
      StackMap stack: java.io.FileNotFoundException
         6: pop
         7: .line 77
            return
        start local 1 // java.io.BufferedReader in
         8: .line 80
      StackMap locals: java.io.BufferedReader
      StackMap stack:
            aload 1 /* in */
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            astore 2 /* line */
        start local 2 // java.lang.String line
         9: .line 81
            goto 20
        10: .line 82
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* line */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 2 /* line */
        11: .line 83
            aload 2 /* line */
            ldc "#"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 19
        12: .line 85
            aload 2 /* line */
            ldc ","
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 3 /* s */
        start local 3 // java.lang.String[] s
        13: .line 86
            aload 3 /* s */
            arraylength
            iconst_2
            if_icmpne 19
        14: .line 87
            getstatic sun.net.www.http.HttpCapture.patterns:Ljava/util/ArrayList;
            ifnonnull 17
        15: .line 88
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putstatic sun.net.www.http.HttpCapture.patterns:Ljava/util/ArrayList;
        16: .line 89
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putstatic sun.net.www.http.HttpCapture.capFiles:Ljava/util/ArrayList;
        17: .line 91
      StackMap locals: java.lang.String[]
      StackMap stack:
            getstatic sun.net.www.http.HttpCapture.patterns:Ljava/util/ArrayList;
            aload 3 /* s */
            iconst_0
            aaload
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        18: .line 92
            getstatic sun.net.www.http.HttpCapture.capFiles:Ljava/util/ArrayList;
            aload 3 /* s */
            iconst_1
            aaload
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // java.lang.String[] s
        19: .line 95
      StackMap locals:
      StackMap stack:
            aload 1 /* in */
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            astore 2 /* line */
        20: .line 81
      StackMap locals:
      StackMap stack:
            aload 2 /* line */
            ifnonnull 10
        end local 2 // java.lang.String line
        21: .line 97
            goto 31
      StackMap locals: java.lang.String java.io.BufferedReader
      StackMap stack: java.io.IOException
        22: pop
        23: .line 101
            aload 1 /* in */
            invokevirtual java.io.BufferedReader.close:()V
        24: .line 102
            goto 34
      StackMap locals:
      StackMap stack: java.io.IOException
        25: pop
            goto 34
        26: .line 99
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4
        27: .line 101
            aload 1 /* in */
            invokevirtual java.io.BufferedReader.close:()V
        28: .line 102
            goto 30
      StackMap locals: java.lang.String java.io.BufferedReader top top java.lang.Throwable
      StackMap stack: java.io.IOException
        29: pop
        30: .line 104
      StackMap locals:
      StackMap stack:
            aload 4
            athrow
        31: .line 101
      StackMap locals: java.lang.String java.io.BufferedReader
      StackMap stack:
            aload 1 /* in */
            invokevirtual java.io.BufferedReader.close:()V
        32: .line 102
            goto 34
      StackMap locals:
      StackMap stack: java.io.IOException
        33: pop
        end local 1 // java.io.BufferedReader in
        34: .line 106
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.lang.String rulesFile
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            3   35     0  rulesFile  Ljava/lang/String;
            5    6     1         in  Ljava/io/BufferedReader;
            8   34     1         in  Ljava/io/BufferedReader;
            9   21     2       line  Ljava/lang/String;
           13   19     3          s  [Ljava/lang/String;
      Exception table:
        from    to  target  type
           4     5       6  Class java.io.FileNotFoundException
           8    21      22  Class java.io.IOException
          23    24      25  Class java.io.IOException
           8    23      26  any
          27    28      29  Class java.io.IOException
          31    32      33  Class java.io.IOException

  private static synchronized boolean isInitialized();
    descriptor: ()Z
    flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=0, args_size=0
         0: .line 109
            getstatic sun.net.www.http.HttpCapture.initialized:Z
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>(java.io.File, java.net.URL);
    descriptor: (Ljava/io/File;Ljava/net/URL;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=4, args_size=3
        start local 0 // sun.net.www.http.HttpCapture this
        start local 1 // java.io.File f
        start local 2 // java.net.URL url
         0: .line 112
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 57
            aload 0 /* this */
            aconst_null
            putfield sun.net.www.http.HttpCapture.file:Ljava/io/File;
         2: .line 58
            aload 0 /* this */
            iconst_1
            putfield sun.net.www.http.HttpCapture.incoming:Z
         3: .line 59
            aload 0 /* this */
            aconst_null
            putfield sun.net.www.http.HttpCapture.out:Ljava/io/BufferedWriter;
         4: .line 113
            aload 0 /* this */
            aload 1 /* f */
            putfield sun.net.www.http.HttpCapture.file:Ljava/io/File;
         5: .line 115
            aload 0 /* this */
            new java.io.BufferedWriter
            dup
            new java.io.FileWriter
            dup
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.file:Ljava/io/File;
            iconst_1
            invokespecial java.io.FileWriter.<init>:(Ljava/io/File;Z)V
            invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
            putfield sun.net.www.http.HttpCapture.out:Ljava/io/BufferedWriter;
         6: .line 116
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.out:Ljava/io/BufferedWriter;
            new java.lang.StringBuilder
            dup
            ldc "URL: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* url */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         7: .line 117
            goto 10
      StackMap locals: sun.net.www.http.HttpCapture java.io.File java.net.URL
      StackMap stack: java.io.IOException
         8: astore 3 /* ex */
        start local 3 // java.io.IOException ex
         9: .line 118
            ldc Lsun/net/www/http/HttpCapture;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
            aconst_null
            aload 3 /* ex */
            invokevirtual sun.util.logging.PlatformLogger.severe:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 3 // java.io.IOException ex
        10: .line 120
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.net.URL url
        end local 1 // java.io.File f
        end local 0 // sun.net.www.http.HttpCapture this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lsun/net/www/http/HttpCapture;
            0   11     1     f  Ljava/io/File;
            0   11     2   url  Ljava/net/URL;
            9   10     3    ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           5     7       8  Class java.io.IOException
    MethodParameters:
      Name  Flags
      f     
      url   

  public synchronized void sent(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.net.www.http.HttpCapture this
        start local 1 // int c
         0: .line 123
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.incoming:Z
            ifeq 4
         1: .line 124
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.out:Ljava/io/BufferedWriter;
            ldc "\n------>\n"
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         2: .line 125
            aload 0 /* this */
            iconst_0
            putfield sun.net.www.http.HttpCapture.incoming:Z
         3: .line 126
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.out:Ljava/io/BufferedWriter;
            invokevirtual java.io.BufferedWriter.flush:()V
         4: .line 128
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.out:Ljava/io/BufferedWriter;
            iload 1 /* c */
            invokevirtual java.io.BufferedWriter.write:(I)V
         5: .line 129
            return
        end local 1 // int c
        end local 0 // sun.net.www.http.HttpCapture this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/net/www/http/HttpCapture;
            0    6     1     c  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      c     

  public synchronized void received(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.net.www.http.HttpCapture this
        start local 1 // int c
         0: .line 132
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.incoming:Z
            ifne 4
         1: .line 133
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.out:Ljava/io/BufferedWriter;
            ldc "\n<------\n"
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         2: .line 134
            aload 0 /* this */
            iconst_1
            putfield sun.net.www.http.HttpCapture.incoming:Z
         3: .line 135
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.out:Ljava/io/BufferedWriter;
            invokevirtual java.io.BufferedWriter.flush:()V
         4: .line 137
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.out:Ljava/io/BufferedWriter;
            iload 1 /* c */
            invokevirtual java.io.BufferedWriter.write:(I)V
         5: .line 138
            return
        end local 1 // int c
        end local 0 // sun.net.www.http.HttpCapture this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/net/www/http/HttpCapture;
            0    6     1     c  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      c     

  public synchronized void flush();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.net.www.http.HttpCapture this
         0: .line 141
            aload 0 /* this */
            getfield sun.net.www.http.HttpCapture.out:Ljava/io/BufferedWriter;
            invokevirtual java.io.BufferedWriter.flush:()V
         1: .line 142
            return
        end local 0 // sun.net.www.http.HttpCapture this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/net/www/http/HttpCapture;
    Exceptions:
      throws java.io.IOException

  public static sun.net.www.http.HttpCapture getCapture(java.net.URL);
    descriptor: (Ljava/net/URL;)Lsun/net/www/http/HttpCapture;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=8, args_size=1
        start local 0 // java.net.URL url
         0: .line 145
            invokestatic sun.net.www.http.HttpCapture.isInitialized:()Z
            ifne 2
         1: .line 146
            invokestatic sun.net.www.http.HttpCapture.init:()V
         2: .line 148
      StackMap locals:
      StackMap stack:
            getstatic sun.net.www.http.HttpCapture.patterns:Ljava/util/ArrayList;
            ifnull 3
            getstatic sun.net.www.http.HttpCapture.patterns:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.isEmpty:()Z
            ifeq 4
         3: .line 149
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
         4: .line 151
      StackMap locals:
      StackMap stack:
            aload 0 /* url */
            invokevirtual java.net.URL.toString:()Ljava/lang/String;
            astore 1 /* s */
        start local 1 // java.lang.String s
         5: .line 152
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         6: goto 19
         7: .line 153
      StackMap locals: java.lang.String int
      StackMap stack:
            getstatic sun.net.www.http.HttpCapture.patterns:Ljava/util/ArrayList;
            iload 2 /* i */
            invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
            checkcast java.util.regex.Pattern
            astore 3 /* p */
        start local 3 // java.util.regex.Pattern p
         8: .line 154
            aload 3 /* p */
            aload 1 /* s */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            invokevirtual java.util.regex.Matcher.find:()Z
            ifeq 18
         9: .line 155
            getstatic sun.net.www.http.HttpCapture.capFiles:Ljava/util/ArrayList;
            iload 2 /* i */
            invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* f */
        start local 4 // java.lang.String f
        10: .line 157
            aload 4 /* f */
            ldc "%d"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            iflt 16
        11: .line 158
            new java.util.Random
            dup
            invokespecial java.util.Random.<init>:()V
            astore 6 /* rand */
        start local 6 // java.util.Random rand
        12: .line 160
      StackMap locals: java.net.URL java.lang.String int java.util.regex.Pattern java.lang.String top java.util.Random
      StackMap stack:
            aload 4 /* f */
            ldc "%d"
            aload 6 /* rand */
            invokevirtual java.util.Random.nextInt:()I
            invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
            invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
            astore 7 /* f2 */
        start local 7 // java.lang.String f2
        13: .line 161
            new java.io.File
            dup
            aload 7 /* f2 */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 5 /* fi */
        end local 7 // java.lang.String f2
        start local 5 // java.io.File fi
        14: .line 162
            aload 5 /* fi */
            invokevirtual java.io.File.exists:()Z
            ifne 12
        end local 6 // java.util.Random rand
        15: .line 163
            goto 17
        end local 5 // java.io.File fi
        16: .line 164
      StackMap locals: java.net.URL java.lang.String int java.util.regex.Pattern java.lang.String
      StackMap stack:
            new java.io.File
            dup
            aload 4 /* f */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 5 /* fi */
        start local 5 // java.io.File fi
        17: .line 166
      StackMap locals: java.io.File
      StackMap stack:
            new sun.net.www.http.HttpCapture
            dup
            aload 5 /* fi */
            aload 0 /* url */
            invokespecial sun.net.www.http.HttpCapture.<init>:(Ljava/io/File;Ljava/net/URL;)V
            areturn
        end local 5 // java.io.File fi
        end local 4 // java.lang.String f
        end local 3 // java.util.regex.Pattern p
        18: .line 152
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        19: iload 2 /* i */
            getstatic sun.net.www.http.HttpCapture.patterns:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            if_icmplt 7
        end local 2 // int i
        20: .line 169
            aconst_null
            areturn
        end local 1 // java.lang.String s
        end local 0 // java.net.URL url
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   21     0   url  Ljava/net/URL;
            5   21     1     s  Ljava/lang/String;
            6   20     2     i  I
            8   18     3     p  Ljava/util/regex/Pattern;
           10   18     4     f  Ljava/lang/String;
           14   16     5    fi  Ljava/io/File;
           17   18     5    fi  Ljava/io/File;
           12   15     6  rand  Ljava/util/Random;
           13   14     7    f2  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      url   
}
SourceFile: "HttpCapture.java"
NestMembers:
  sun.net.www.http.HttpCapture$1
InnerClasses:
  sun.net.www.http.HttpCapture$1