public class sun.net.www.MeteredStream extends java.io.FilterInputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.net.www.MeteredStream
  super_class: java.io.FilterInputStream
{
  protected boolean closed;
    descriptor: Z
    flags: (0x0004) ACC_PROTECTED

  protected long expected;
    descriptor: J
    flags: (0x0004) ACC_PROTECTED

  protected long count;
    descriptor: J
    flags: (0x0004) ACC_PROTECTED

  protected long markedCount;
    descriptor: J
    flags: (0x0004) ACC_PROTECTED

  protected int markLimit;
    descriptor: I
    flags: (0x0004) ACC_PROTECTED

  protected sun.net.ProgressSource pi;
    descriptor: Lsun/net/ProgressSource;
    flags: (0x0004) ACC_PROTECTED

  public void <init>(java.io.InputStream, sun.net.ProgressSource, long);
    descriptor: (Ljava/io/InputStream;Lsun/net/ProgressSource;J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // sun.net.www.MeteredStream this
        start local 1 // java.io.InputStream is
        start local 2 // sun.net.ProgressSource pi
        start local 3 // long expected
         0: .line 50
            aload 0 /* this */
            aload 1 /* is */
            invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
         1: .line 41
            aload 0 /* this */
            iconst_0
            putfield sun.net.www.MeteredStream.closed:Z
         2: .line 43
            aload 0 /* this */
            lconst_0
            putfield sun.net.www.MeteredStream.count:J
         3: .line 44
            aload 0 /* this */
            lconst_0
            putfield sun.net.www.MeteredStream.markedCount:J
         4: .line 45
            aload 0 /* this */
            iconst_m1
            putfield sun.net.www.MeteredStream.markLimit:I
         5: .line 52
            aload 0 /* this */
            aload 2 /* pi */
            putfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
         6: .line 53
            aload 0 /* this */
            lload 3 /* expected */
            putfield sun.net.www.MeteredStream.expected:J
         7: .line 55
            aload 2 /* pi */
            ifnull 9
         8: .line 56
            aload 2 /* pi */
            lconst_0
            lload 3 /* expected */
            invokevirtual sun.net.ProgressSource.updateProgress:(JJ)V
         9: .line 58
      StackMap locals: sun.net.www.MeteredStream java.io.InputStream sun.net.ProgressSource long
      StackMap stack:
            return
        end local 3 // long expected
        end local 2 // sun.net.ProgressSource pi
        end local 1 // java.io.InputStream is
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Lsun/net/www/MeteredStream;
            0   10     1        is  Ljava/io/InputStream;
            0   10     2        pi  Lsun/net/ProgressSource;
            0   10     3  expected  J
    MethodParameters:
          Name  Flags
      is        
      pi        
      expected  

  private final void justRead(long);
    descriptor: (J)V
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // sun.net.www.MeteredStream this
        start local 1 // long n
         0: .line 61
            lload 1 /* n */
            ldc -1
            lcmp
            ifne 4
         1: .line 67
            aload 0 /* this */
            invokevirtual sun.net.www.MeteredStream.isMarked:()Z
            ifne 3
         2: .line 68
            aload 0 /* this */
            invokevirtual sun.net.www.MeteredStream.close:()V
         3: .line 70
      StackMap locals:
      StackMap stack:
            return
         4: .line 73
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield sun.net.www.MeteredStream.count:J
            lload 1 /* n */
            ladd
            putfield sun.net.www.MeteredStream.count:J
         5: .line 78
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.count:J
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.markedCount:J
            lsub
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.markLimit:I
            i2l
            lcmp
            ifle 7
         6: .line 79
            aload 0 /* this */
            iconst_m1
            putfield sun.net.www.MeteredStream.markLimit:I
         7: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
            ifnull 9
         8: .line 83
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.count:J
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.expected:J
            invokevirtual sun.net.ProgressSource.updateProgress:(JJ)V
         9: .line 85
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.net.www.MeteredStream.isMarked:()Z
            ifeq 11
        10: .line 86
            return
        11: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.expected:J
            lconst_0
            lcmp
            ifle 14
        12: .line 92
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.count:J
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.expected:J
            lcmp
            iflt 14
        13: .line 93
            aload 0 /* this */
            invokevirtual sun.net.www.MeteredStream.close:()V
        14: .line 96
      StackMap locals:
      StackMap stack:
            return
        end local 1 // long n
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Lsun/net/www/MeteredStream;
            0   15     1     n  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      n     

  private boolean isMarked();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // sun.net.www.MeteredStream this
         0: .line 103
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.markLimit:I
            ifge 2
         1: .line 104
            iconst_0
            ireturn
         2: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.count:J
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.markedCount:J
            lsub
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.markLimit:I
            i2l
            lcmp
            ifle 4
         3: .line 109
            iconst_0
            ireturn
         4: .line 113
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/net/www/MeteredStream;

  public synchronized int read();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // sun.net.www.MeteredStream this
         0: .line 117
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.closed:Z
            ifeq 2
         1: .line 118
            iconst_m1
            ireturn
         2: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 1 /* c */
        start local 1 // int c
         3: .line 121
            iload 1 /* c */
            iconst_m1
            if_icmpeq 6
         4: .line 122
            aload 0 /* this */
            lconst_1
            invokevirtual sun.net.www.MeteredStream.justRead:(J)V
         5: .line 123
            goto 7
         6: .line 124
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            iload 1 /* c */
            i2l
            invokevirtual sun.net.www.MeteredStream.justRead:(J)V
         7: .line 126
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            ireturn
        end local 1 // int c
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/net/www/MeteredStream;
            3    8     1     c  I
    Exceptions:
      throws java.io.IOException

  public synchronized int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // sun.net.www.MeteredStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 131
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.closed:Z
            ifeq 2
         1: .line 132
            iconst_m1
            ireturn
         2: .line 134
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 4 /* n */
        start local 4 // int n
         3: .line 135
            aload 0 /* this */
            iload 4 /* n */
            i2l
            invokevirtual sun.net.www.MeteredStream.justRead:(J)V
         4: .line 136
            iload 4 /* n */
            ireturn
        end local 4 // int n
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/net/www/MeteredStream;
            0    5     1     b  [B
            0    5     2   off  I
            0    5     3   len  I
            3    5     4     n  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public synchronized long skip(long);
    descriptor: (J)J
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=6, locals=5, args_size=2
        start local 0 // sun.net.www.MeteredStream this
        start local 1 // long n
         0: .line 142
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.closed:Z
            ifeq 2
         1: .line 143
            lconst_0
            lreturn
         2: .line 146
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
            instanceof sun.net.www.http.ChunkedInputStream
            ifeq 5
         3: .line 147
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
            lload 1 /* n */
            invokevirtual java.io.InputStream.skip:(J)J
            lstore 1 /* n */
         4: .line 148
            goto 9
         5: .line 151
      StackMap locals:
      StackMap stack:
            lload 1 /* n */
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.expected:J
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.count:J
            lsub
            lcmp
            ifle 6
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.expected:J
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.count:J
            lsub
            goto 7
      StackMap locals:
      StackMap stack:
         6: lload 1 /* n */
      StackMap locals:
      StackMap stack: long
         7: lstore 3 /* min */
        start local 3 // long min
         8: .line 152
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
            lload 3 /* min */
            invokevirtual java.io.InputStream.skip:(J)J
            lstore 1 /* n */
        end local 3 // long min
         9: .line 154
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lload 1 /* n */
            invokevirtual sun.net.www.MeteredStream.justRead:(J)V
        10: .line 155
            lload 1 /* n */
            lreturn
        end local 1 // long n
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lsun/net/www/MeteredStream;
            0   11     1     n  J
            8    9     3   min  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      n     

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.net.www.MeteredStream this
         0: .line 159
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.closed:Z
            ifeq 2
         1: .line 160
            return
         2: .line 162
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
            ifnull 4
         3: .line 163
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
            invokevirtual sun.net.ProgressSource.finishTracking:()V
         4: .line 165
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.net.www.MeteredStream.closed:Z
         5: .line 166
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.close:()V
         6: .line 167
            return
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/net/www/MeteredStream;
    Exceptions:
      throws java.io.IOException

  public synchronized int available();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.net.www.MeteredStream this
         0: .line 170
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.closed:Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.available:()I
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/net/www/MeteredStream;
    Exceptions:
      throws java.io.IOException

  public synchronized void mark(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.net.www.MeteredStream this
        start local 1 // int readLimit
         0: .line 174
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.closed:Z
            ifeq 2
         1: .line 175
            return
         2: .line 177
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* readLimit */
            invokespecial java.io.FilterInputStream.mark:(I)V
         3: .line 182
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.count:J
            putfield sun.net.www.MeteredStream.markedCount:J
         4: .line 183
            aload 0 /* this */
            iload 1 /* readLimit */
            putfield sun.net.www.MeteredStream.markLimit:I
         5: .line 184
            return
        end local 1 // int readLimit
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       this  Lsun/net/www/MeteredStream;
            0    6     1  readLimit  I
    MethodParameters:
           Name  Flags
      readLimit  

  public synchronized void reset();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.net.www.MeteredStream this
         0: .line 187
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.closed:Z
            ifeq 2
         1: .line 188
            return
         2: .line 191
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.net.www.MeteredStream.isMarked:()Z
            ifne 4
         3: .line 192
            new java.io.IOException
            dup
            ldc "Resetting to an invalid mark"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 195
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.markedCount:J
            putfield sun.net.www.MeteredStream.count:J
         5: .line 196
            aload 0 /* this */
            invokespecial java.io.FilterInputStream.reset:()V
         6: .line 197
            return
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/net/www/MeteredStream;
    Exceptions:
      throws java.io.IOException

  public boolean markSupported();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.net.www.MeteredStream this
         0: .line 200
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.closed:Z
            ifeq 2
         1: .line 201
            iconst_0
            ireturn
         2: .line 203
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial java.io.FilterInputStream.markSupported:()Z
            ireturn
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/net/www/MeteredStream;

  protected void finalize();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // sun.net.www.MeteredStream this
         0: .line 208
            aload 0 /* this */
            invokevirtual sun.net.www.MeteredStream.close:()V
         1: .line 209
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
            ifnull 7
         2: .line 210
            aload 0 /* this */
            getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
            invokevirtual sun.net.ProgressSource.close:()V
         3: .line 211
            goto 7
         4: .line 212
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 1
         5: .line 214
            aload 0 /* this */
            invokespecial java.lang.Object.finalize:()V
         6: .line 215
            aload 1
            athrow
         7: .line 214
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial java.lang.Object.finalize:()V
         8: .line 216
            return
        end local 0 // sun.net.www.MeteredStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lsun/net/www/MeteredStream;
      Exception table:
        from    to  target  type
           0     4       4  any
    Exceptions:
      throws java.lang.Throwable
}
SourceFile: "MeteredStream.java"