class sun.net.www.protocol.http.HttpURLConnection$HttpInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream
super_class: java.io.FilterInputStream
{
private java.net.CacheRequest cacheRequest;
descriptor: Ljava/net/CacheRequest;
flags: (0x0002) ACC_PRIVATE
private java.io.OutputStream outputStream;
descriptor: Ljava/io/OutputStream;
flags: (0x0002) ACC_PRIVATE
private boolean marked;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int inCache;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int markCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private byte[] skipBuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private static final int SKIP_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8096
final sun.net.www.protocol.http.HttpURLConnection this$0;
descriptor: Lsun/net/www/protocol/http/HttpURLConnection;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(sun.net.www.protocol.http.HttpURLConnection, java.io.InputStream);
descriptor: (Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.this$0:Lsun/net/www/protocol/http/HttpURLConnection;
1: aload 0
aload 2
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
2: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.marked:Z
3: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
4: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.markCount:I
5: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
6: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.outputStream:Ljava/io/OutputStream;
7: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
0 8 2 is Ljava/io/InputStream;
MethodParameters:
Name Flags
this$0 final
is
public void <init>(sun.net.www.protocol.http.HttpURLConnection, java.io.InputStream, java.net.CacheRequest);
descriptor: (Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/InputStream;Ljava/net/CacheRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.this$0:Lsun/net/www/protocol/http/HttpURLConnection;
1: aload 0
aload 2
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
2: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.marked:Z
3: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
4: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.markCount:I
5: aload 0
aload 3
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
6: aload 0
aload 3
invokevirtual java.net.CacheRequest.getBody:()Ljava/io/OutputStream;
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.outputStream:Ljava/io/OutputStream;
7: goto 12
StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream sun.net.www.protocol.http.HttpURLConnection java.io.InputStream java.net.CacheRequest
StackMap stack: java.io.IOException
8: pop
9: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
invokevirtual java.net.CacheRequest.abort:()V
10: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
11: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.outputStream:Ljava/io/OutputStream;
12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
0 13 2 is Ljava/io/InputStream;
0 13 3 cacheRequest Ljava/net/CacheRequest;
Exception table:
from to target type
6 7 8 Class java.io.IOException
MethodParameters:
Name Flags
this$0 final
is
cacheRequest
public synchronized void mark(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial java.io.FilterInputStream.mark:(I)V
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
ifnull 4
2: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.marked:Z
3: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.markCount:I
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
0 5 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
invokespecial java.io.FilterInputStream.reset:()V
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
ifnull 4
2: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.marked:Z
3: aload 0
dup
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.markCount:I
iadd
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
Exceptions:
throws java.io.IOException
private void ensureOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.closed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "stream is closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.ensureOpen:()V
1: iconst_1
newarray 8
astore 1
start local 1 2: aload 0
aload 1
invokevirtual sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read:([B)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpne 4
iload 2
goto 5
StackMap locals: byte[] int
StackMap stack:
4: aload 1
iconst_0
baload
sipush 255
iand
StackMap locals:
StackMap stack: int
5: ireturn
end local 2 end local 1 6: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream
StackMap stack: java.io.IOException
astore 1
start local 1 7: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
ifnull 9
8: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
invokevirtual java.net.CacheRequest.abort:()V
9: StackMap locals: java.io.IOException
StackMap stack:
aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
2 6 1 b [B
3 6 2 ret I
7 10 1 ioex Ljava/io/IOException;
Exception table:
from to target type
1 5 6 Class java.io.IOException
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
0 1 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.ensureOpen:()V
1: aload 0
aload 1
iload 2
iload 3
invokespecial java.io.FilterInputStream.read:([BII)I
istore 4
start local 4 2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
ifle 10
3: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
iload 4
if_icmplt 7
4: aload 0
dup
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
iload 4
isub
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
5: iconst_0
istore 5
start local 5 6: goto 11
end local 5 7: StackMap locals: int
StackMap stack:
iload 4
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
isub
istore 5
start local 5 8: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
9: goto 11
end local 5 10: StackMap locals:
StackMap stack:
iload 4
istore 5
start local 5 11: StackMap locals: int
StackMap stack:
iload 5
ifle 13
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.outputStream:Ljava/io/OutputStream;
ifnull 13
12: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.outputStream:Ljava/io/OutputStream;
aload 1
iload 2
iload 4
iload 5
isub
iadd
iload 5
invokevirtual java.io.OutputStream.write:([BII)V
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.marked:Z
ifeq 15
14: aload 0
dup
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.markCount:I
iload 4
iadd
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.markCount:I
15: StackMap locals:
StackMap stack:
iload 4
16: ireturn
end local 5 end local 4 17: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream byte[] int int
StackMap stack: java.io.IOException
astore 4
start local 4 18: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
ifnull 20
19: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
invokevirtual java.net.CacheRequest.abort:()V
20: StackMap locals: java.io.IOException
StackMap stack:
aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
0 21 1 b [B
0 21 2 off I
0 21 3 len I
2 17 4 newLen I
6 7 5 nWrite I
8 10 5 nWrite I
11 17 5 nWrite I
18 21 4 ioex Ljava/io/IOException;
Exception table:
from to target type
1 16 17 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.ensureOpen:()V
1: lload 1
lstore 3
start local 3 2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.skipBuffer:[B
ifnonnull 4
3: aload 0
sipush 8096
newarray 8
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.skipBuffer:[B
4: StackMap locals: long
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.skipBuffer:[B
astore 6
start local 6 5: lload 1
lconst_0
lcmp
ifgt 13
6: lconst_0
lreturn
7: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream long long top byte[]
StackMap stack:
aload 0
aload 6
iconst_0
8: ldc 8096
lload 3
invokestatic java.lang.Math.min:(JJ)J
l2i
9: invokevirtual sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read:([BII)I
istore 5
start local 5 10: iload 5
ifge 12
11: goto 14
12: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream long long int byte[]
StackMap stack:
lload 3
iload 5
i2l
lsub
lstore 3
end local 5 13: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream long long top byte[]
StackMap stack:
lload 3
lconst_0
lcmp
ifgt 7
14: StackMap locals:
StackMap stack:
lload 1
lload 3
lsub
lreturn
end local 6 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
0 15 1 n J
2 15 3 remaining J
10 13 5 nr I
5 15 6 localSkipBuffer [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.closed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.outputStream:Ljava/io/OutputStream;
ifnull 7
3: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read:()I
iconst_m1
if_icmpeq 6
4: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
invokevirtual java.net.CacheRequest.abort:()V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.outputStream:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
7: StackMap locals:
StackMap stack:
aload 0
invokespecial java.io.FilterInputStream.close:()V
8: goto 18
StackMap locals:
StackMap stack: java.io.IOException
9: astore 1
start local 1 10: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
ifnull 12
11: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
invokevirtual java.net.CacheRequest.abort:()V
12: StackMap locals: java.io.IOException
StackMap stack:
aload 1
athrow
end local 1 13: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream
StackMap stack: java.lang.Throwable
astore 2
14: aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.closed:Z
15: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.this$0:Lsun/net/www/protocol/http/HttpURLConnection;
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
16: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.this$0:Lsun/net/www/protocol/http/HttpURLConnection;
iconst_1
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkResponseCredentials:(Z)V
17: aload 2
athrow
18: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.closed:Z
19: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.this$0:Lsun/net/www/protocol/http/HttpURLConnection;
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
20: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.this$0:Lsun/net/www/protocol/http/HttpURLConnection;
iconst_1
invokevirtual sun.net.www.protocol.http.HttpURLConnection.checkResponseCredentials:(Z)V
21: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
10 13 1 ioex Ljava/io/IOException;
Exception table:
from to target type
2 8 9 Class java.io.IOException
2 13 13 any
Exceptions:
throws java.io.IOException
}
SourceFile: "HttpURLConnection.java"
NestHost: sun.net.www.protocol.http.HttpURLConnection
InnerClasses:
HttpInputStream = sun.net.www.protocol.http.HttpURLConnection$HttpInputStream of sun.net.www.protocol.http.HttpURLConnection