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 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
iconst_0
putfield sun.net.www.MeteredStream.closed:Z
2: aload 0
lconst_0
putfield sun.net.www.MeteredStream.count:J
3: aload 0
lconst_0
putfield sun.net.www.MeteredStream.markedCount:J
4: aload 0
iconst_m1
putfield sun.net.www.MeteredStream.markLimit:I
5: aload 0
aload 2
putfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
6: aload 0
lload 3
putfield sun.net.www.MeteredStream.expected:J
7: aload 2
ifnull 9
8: aload 2
lconst_0
lload 3
invokevirtual sun.net.ProgressSource.updateProgress:(JJ)V
9: StackMap locals: sun.net.www.MeteredStream java.io.InputStream sun.net.ProgressSource long
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 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 start local 1 0: lload 1
ldc -1
lcmp
ifne 4
1: aload 0
invokevirtual sun.net.www.MeteredStream.isMarked:()Z
ifne 3
2: aload 0
invokevirtual sun.net.www.MeteredStream.close:()V
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.net.www.MeteredStream.count:J
lload 1
ladd
putfield sun.net.www.MeteredStream.count:J
5: aload 0
getfield sun.net.www.MeteredStream.count:J
aload 0
getfield sun.net.www.MeteredStream.markedCount:J
lsub
aload 0
getfield sun.net.www.MeteredStream.markLimit:I
i2l
lcmp
ifle 7
6: aload 0
iconst_m1
putfield sun.net.www.MeteredStream.markLimit:I
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
ifnull 9
8: aload 0
getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
aload 0
getfield sun.net.www.MeteredStream.count:J
aload 0
getfield sun.net.www.MeteredStream.expected:J
invokevirtual sun.net.ProgressSource.updateProgress:(JJ)V
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.MeteredStream.isMarked:()Z
ifeq 11
10: return
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.MeteredStream.expected:J
lconst_0
lcmp
ifle 14
12: aload 0
getfield sun.net.www.MeteredStream.count:J
aload 0
getfield sun.net.www.MeteredStream.expected:J
lcmp
iflt 14
13: aload 0
invokevirtual sun.net.www.MeteredStream.close:()V
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 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 0: aload 0
getfield sun.net.www.MeteredStream.markLimit:I
ifge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.MeteredStream.count:J
aload 0
getfield sun.net.www.MeteredStream.markedCount:J
lsub
aload 0
getfield sun.net.www.MeteredStream.markLimit:I
i2l
lcmp
ifle 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 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 0: aload 0
getfield sun.net.www.MeteredStream.closed:Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 3: iload 1
iconst_m1
if_icmpeq 6
4: aload 0
lconst_1
invokevirtual sun.net.www.MeteredStream.justRead:(J)V
5: goto 7
6: StackMap locals: int
StackMap stack:
aload 0
iload 1
i2l
invokevirtual sun.net.www.MeteredStream.justRead:(J)V
7: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 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 start local 1 start local 2 start local 3 0: aload 0
getfield sun.net.www.MeteredStream.closed:Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 3: aload 0
iload 4
i2l
invokevirtual sun.net.www.MeteredStream.justRead:(J)V
4: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 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 start local 1 0: aload 0
getfield sun.net.www.MeteredStream.closed:Z
ifeq 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
instanceof sun.net.www.http.ChunkedInputStream
ifeq 5
3: aload 0
getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
lload 1
invokevirtual java.io.InputStream.skip:(J)J
lstore 1
4: goto 9
5: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield sun.net.www.MeteredStream.expected:J
aload 0
getfield sun.net.www.MeteredStream.count:J
lsub
lcmp
ifle 6
aload 0
getfield sun.net.www.MeteredStream.expected:J
aload 0
getfield sun.net.www.MeteredStream.count:J
lsub
goto 7
StackMap locals:
StackMap stack:
6: lload 1
StackMap locals:
StackMap stack: long
7: lstore 3
start local 3 8: aload 0
getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
lload 3
invokevirtual java.io.InputStream.skip:(J)J
lstore 1
end local 3 9: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual sun.net.www.MeteredStream.justRead:(J)V
10: lload 1
lreturn
end local 1 end local 0 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 0: aload 0
getfield sun.net.www.MeteredStream.closed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
ifnull 4
3: aload 0
getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
invokevirtual sun.net.ProgressSource.finishTracking:()V
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.www.MeteredStream.closed:Z
5: aload 0
getfield sun.net.www.MeteredStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
6: return
end local 0 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 0: aload 0
getfield sun.net.www.MeteredStream.closed:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
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 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 start local 1 0: aload 0
getfield sun.net.www.MeteredStream.closed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial java.io.FilterInputStream.mark:(I)V
3: aload 0
aload 0
getfield sun.net.www.MeteredStream.count:J
putfield sun.net.www.MeteredStream.markedCount:J
4: aload 0
iload 1
putfield sun.net.www.MeteredStream.markLimit:I
5: return
end local 1 end local 0 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 0: aload 0
getfield sun.net.www.MeteredStream.closed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.net.www.MeteredStream.isMarked:()Z
ifne 4
3: new java.io.IOException
dup
ldc "Resetting to an invalid mark"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.net.www.MeteredStream.markedCount:J
putfield sun.net.www.MeteredStream.count:J
5: aload 0
invokespecial java.io.FilterInputStream.reset:()V
6: return
end local 0 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 0: aload 0
getfield sun.net.www.MeteredStream.closed:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokespecial java.io.FilterInputStream.markSupported:()Z
ireturn
end local 0 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 0: aload 0
invokevirtual sun.net.www.MeteredStream.close:()V
1: aload 0
getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
ifnull 7
2: aload 0
getfield sun.net.www.MeteredStream.pi:Lsun/net/ProgressSource;
invokevirtual sun.net.ProgressSource.close:()V
3: goto 7
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
invokespecial java.lang.Object.finalize:()V
6: aload 1
athrow
7: StackMap locals:
StackMap stack:
aload 0
invokespecial java.lang.Object.finalize:()V
8: return
end local 0 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"