class sun.net.www.protocol.http.HttpURLConnection$ErrorStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.www.protocol.http.HttpURLConnection$ErrorStream
super_class: java.io.InputStream
{
java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
java.io.InputStream is;
descriptor: Ljava/io/InputStream;
flags: (0x0000)
private void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
putfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.buffer:Ljava/nio/ByteBuffer;
2: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.is:Ljava/io/InputStream;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/HttpURLConnection$ErrorStream;
0 4 1 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buf
private void <init>(java.nio.ByteBuffer, java.io.InputStream);
descriptor: (Ljava/nio/ByteBuffer;Ljava/io/InputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
putfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.buffer:Ljava/nio/ByteBuffer;
2: aload 0
aload 2
putfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.is:Ljava/io/InputStream;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/HttpURLConnection$ErrorStream;
0 4 1 buf Ljava/nio/ByteBuffer;
0 4 2 is Ljava/io/InputStream;
MethodParameters:
Name Flags
buf
is
public static java.io.InputStream getErrorStream(java.io.InputStream, long, sun.net.www.http.HttpClient);
descriptor: (Ljava/io/InputStream;JLsun/net/www/http/HttpClient;)Ljava/io/InputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=13, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lconst_0
lcmp
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.net.www.http.HttpClient.getReadTimeout:()I
istore 4
start local 4 3: aload 3
getstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
iconst_5
idiv
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
4: lconst_0
lstore 5
start local 5 5: iconst_0
istore 7
start local 7 6: lload 1
lconst_0
lcmp
ifge 10
7: getstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
i2l
lstore 5
8: iconst_1
istore 7
9: goto 11
10: StackMap locals: int long int
StackMap stack:
lload 1
lstore 5
11: StackMap locals:
StackMap stack:
lload 5
getstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
i2l
lcmp
ifgt 45
12: lload 5
l2i
istore 8
start local 8 13: iload 8
newarray 8
astore 9
start local 9 14: iconst_0
istore 10
start local 10 15: iconst_0
istore 11
start local 11 16: iconst_0
istore 12
start local 12 17: StackMap locals: java.io.InputStream long sun.net.www.http.HttpClient int long int int byte[] int int int
StackMap stack:
aload 0
aload 9
iload 10
18: aload 9
arraylength
iload 10
isub
19: invokevirtual java.io.InputStream.read:([BII)I
istore 12
20: iload 12
ifge 27
21: iload 7
ifeq 23
22: goto 33
23: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "the server closes before sending "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
25: ldc " bytes of data"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
iload 10
iload 12
iadd
istore 10
28: goto 31
StackMap locals:
StackMap stack: java.net.SocketTimeoutException
29: pop
30: iload 11
getstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
iconst_5
idiv
iadd
istore 11
31: StackMap locals:
StackMap stack:
iload 10
iload 8
if_icmpge 33
iload 11
getstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
32: if_icmplt 17
33: StackMap locals:
StackMap stack:
aload 3
iload 4
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
34: iload 10
ifne 36
35: aconst_null
areturn
36: StackMap locals:
StackMap stack:
iload 10
i2l
lload 5
lcmp
ifne 37
iload 7
ifeq 38
StackMap locals:
StackMap stack:
37: iload 7
ifeq 41
iload 12
ifge 41
38: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.InputStream.close:()V
39: new sun.net.www.protocol.http.HttpURLConnection$ErrorStream
dup
aload 9
iconst_0
iload 10
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
invokespecial sun.net.www.protocol.http.HttpURLConnection$ErrorStream.<init>:(Ljava/nio/ByteBuffer;)V
40: areturn
41: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.HttpURLConnection$ErrorStream
dup
42: aload 9
iconst_0
iload 10
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
aload 0
43: invokespecial sun.net.www.protocol.http.HttpURLConnection$ErrorStream.<init>:(Ljava/nio/ByteBuffer;Ljava/io/InputStream;)V
44: areturn
end local 12 end local 11 end local 10 end local 9 end local 8 45: StackMap locals: java.io.InputStream long sun.net.www.http.HttpClient int long int
StackMap stack:
aconst_null
areturn
end local 7 end local 5 end local 4 46: StackMap locals: java.io.InputStream long sun.net.www.http.HttpClient
StackMap stack: java.io.IOException
pop
47: aconst_null
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 is Ljava/io/InputStream;
0 48 1 cl J
0 48 3 http Lsun/net/www/http/HttpClient;
3 46 4 oldTimeout I
5 46 5 expected J
6 46 7 isChunked Z
13 45 8 exp I
14 45 9 buffer [B
15 45 10 count I
16 45 11 time I
17 45 12 len I
Exception table:
from to target type
17 22 29 Class java.net.SocketTimeoutException
23 28 29 Class java.net.SocketTimeoutException
2 35 46 Class java.io.IOException
36 40 46 Class java.io.IOException
41 44 46 Class java.io.IOException
MethodParameters:
Name Flags
is
cl
http
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.is:Ljava/io/InputStream;
ifnonnull 2
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.is:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/http/HttpURLConnection$ErrorStream;
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$ErrorStream.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 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/www/protocol/http/HttpURLConnection$ErrorStream;
1 5 1 b [B
2 5 2 ret I
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$ErrorStream.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$ErrorStream;
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=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 4
start local 4 1: iload 4
ifle 7
2: iload 4
iload 3
if_icmpge 3
iload 4
goto 4
StackMap locals: int
StackMap stack:
3: iload 3
StackMap locals:
StackMap stack: int
4: istore 5
start local 5 5: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.buffer:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 5
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
6: iload 5
ireturn
end local 5 7: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.is:Ljava/io/InputStream;
ifnonnull 9
8: iconst_m1
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.is:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
ireturn
end local 4 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/protocol/http/HttpURLConnection$ErrorStream;
0 10 1 b [B
0 10 2 off I
0 10 3 len I
1 10 4 rem I
5 7 5 ret I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.buffer:Ljava/nio/ByteBuffer;
1: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.is:Ljava/io/InputStream;
ifnull 3
2: aload 0
getfield sun.net.www.protocol.http.HttpURLConnection$ErrorStream.is:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/http/HttpURLConnection$ErrorStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "HttpURLConnection.java"
NestHost: sun.net.www.protocol.http.HttpURLConnection
InnerClasses:
ErrorStream = sun.net.www.protocol.http.HttpURLConnection$ErrorStream of sun.net.www.protocol.http.HttpURLConnection