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 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
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_1
newarray 8
astore 1
start local 1 1: aload 0
aload 1
invokevirtual sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read:([B)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpne 3
iload 2
goto 4
StackMap locals: byte[] int
StackMap stack:
3: aload 1
iconst_0
baload
sipush 255
iand
StackMap locals:
StackMap stack: int
4: ireturn
end local 2 end local 1 5: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream
StackMap stack: java.io.IOException
astore 1
start local 1 6: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
ifnull 8
7: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
invokevirtual java.net.CacheRequest.abort:()V
8: StackMap locals: java.io.IOException
StackMap stack:
aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
1 5 1 b [B
2 5 2 ret I
6 9 1 ioex Ljava/io/IOException;
Exception table:
from to target type
0 4 5 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
aload 1
iload 2
iload 3
invokespecial java.io.FilterInputStream.read:([BII)I
istore 4
start local 4 1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
ifle 9
2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
iload 4
if_icmplt 6
3: 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
4: iconst_0
istore 5
start local 5 5: goto 10
end local 5 6: 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 7: aload 0
iconst_0
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.inCache:I
8: goto 10
end local 5 9: StackMap locals:
StackMap stack:
iload 4
istore 5
start local 5 10: StackMap locals: int
StackMap stack:
iload 5
ifle 12
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.outputStream:Ljava/io/OutputStream;
ifnull 12
11: 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
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.marked:Z
ifeq 14
13: 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
14: StackMap locals:
StackMap stack:
iload 4
15: ireturn
end local 5 end local 4 16: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream byte[] int int
StackMap stack: java.io.IOException
astore 4
start local 4 17: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
ifnull 19
18: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
invokevirtual java.net.CacheRequest.abort:()V
19: 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 20 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
0 20 1 b [B
0 20 2 off I
0 20 3 len I
1 16 4 newLen I
5 6 5 nWrite I
7 9 5 nWrite I
10 16 5 nWrite I
17 20 4 ioex Ljava/io/IOException;
Exception table:
from to target type
0 15 16 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: lload 1
lstore 3
start local 3 1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.skipBuffer:[B
ifnonnull 3
2: aload 0
sipush 8096
newarray 8
putfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.skipBuffer:[B
3: StackMap locals: long
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.skipBuffer:[B
astore 6
start local 6 4: lload 1
lconst_0
lcmp
ifgt 12
5: lconst_0
lreturn
6: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream long long top byte[]
StackMap stack:
aload 0
aload 6
iconst_0
7: ldc 8096
lload 3
invokestatic java.lang.Math.min:(JJ)J
l2i
8: invokevirtual sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read:([BII)I
istore 5
start local 5 9: iload 5
ifge 11
10: goto 13
11: 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 12: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream long long top byte[]
StackMap stack:
lload 3
lconst_0
lcmp
ifgt 6
13: 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 14 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
0 14 1 n J
1 14 3 remaining J
9 12 5 nr I
4 14 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.outputStream:Ljava/io/OutputStream;
ifnull 5
1: aload 0
invokevirtual sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read:()I
iconst_m1
if_icmpeq 4
2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
invokevirtual java.net.CacheRequest.abort:()V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.outputStream:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
5: StackMap locals:
StackMap stack:
aload 0
invokespecial java.io.FilterInputStream.close:()V
6: goto 15
StackMap locals:
StackMap stack: java.io.IOException
7: astore 1
start local 1 8: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
ifnull 10
9: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.cacheRequest:Ljava/net/CacheRequest;
invokevirtual java.net.CacheRequest.abort:()V
10: StackMap locals: java.io.IOException
StackMap stack:
aload 1
athrow
end local 1 11: StackMap locals: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream
StackMap stack: java.lang.Throwable
astore 2
12: 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;
13: 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
14: aload 2
athrow
15: StackMap locals:
StackMap stack:
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: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/net/www/protocol/http/HttpURLConnection$HttpInputStream;
8 11 1 ioex Ljava/io/IOException;
Exception table:
from to target type
0 6 7 Class java.io.IOException
0 11 11 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