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, int, sun.net.www.http.HttpClient);
descriptor: (Ljava/io/InputStream;ILsun/net/www/http/HttpClient;)Ljava/io/InputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.net.www.http.HttpClient.getReadTimeout:()I
istore 3
start local 3 3: aload 2
getstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
iconst_5
idiv
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
4: iconst_0
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: iload 1
ifge 10
7: getstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
istore 4
8: iconst_1
istore 5
9: goto 11
10: StackMap locals: int int int
StackMap stack:
iload 1
istore 4
11: StackMap locals:
StackMap stack:
iload 4
getstatic sun.net.www.protocol.http.HttpURLConnection.bufSize4ES:I
if_icmpgt 44
12: iload 4
newarray 8
astore 6
start local 6 13: iconst_0
istore 7
start local 7 14: iconst_0
istore 8
start local 8 15: iconst_0
istore 9
start local 9 16: StackMap locals: java.io.InputStream int sun.net.www.http.HttpClient int int int byte[] int int int
StackMap stack:
aload 0
aload 6
iload 7
17: aload 6
arraylength
iload 7
isub
18: invokevirtual java.io.InputStream.read:([BII)I
istore 9
19: iload 9
ifge 26
20: iload 1
ifge 22
21: goto 32
22: 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
23: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
24: ldc " bytes of data"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
iload 7
iload 9
iadd
istore 7
27: goto 30
StackMap locals:
StackMap stack: java.net.SocketTimeoutException
28: pop
29: iload 8
getstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
iconst_5
idiv
iadd
istore 8
30: StackMap locals:
StackMap stack:
iload 7
iload 4
if_icmpge 32
iload 8
getstatic sun.net.www.protocol.http.HttpURLConnection.timeout4ESBuffer:I
31: if_icmplt 16
32: StackMap locals:
StackMap stack:
aload 2
iload 3
invokevirtual sun.net.www.http.HttpClient.setReadTimeout:(I)V
33: iload 7
ifne 35
34: aconst_null
areturn
35: StackMap locals:
StackMap stack:
iload 7
iload 4
if_icmpne 36
iload 5
ifeq 37
StackMap locals:
StackMap stack:
36: iload 5
ifeq 40
iload 9
ifge 40
37: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.InputStream.close:()V
38: new sun.net.www.protocol.http.HttpURLConnection$ErrorStream
dup
aload 6
iconst_0
iload 7
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
invokespecial sun.net.www.protocol.http.HttpURLConnection$ErrorStream.<init>:(Ljava/nio/ByteBuffer;)V
39: areturn
40: StackMap locals:
StackMap stack:
new sun.net.www.protocol.http.HttpURLConnection$ErrorStream
dup
41: aload 6
iconst_0
iload 7
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
aload 0
42: invokespecial sun.net.www.protocol.http.HttpURLConnection$ErrorStream.<init>:(Ljava/nio/ByteBuffer;Ljava/io/InputStream;)V
43: areturn
end local 9 end local 8 end local 7 end local 6 44: StackMap locals: java.io.InputStream int sun.net.www.http.HttpClient int int int
StackMap stack:
aconst_null
areturn
end local 5 end local 4 end local 3 45: StackMap locals: java.io.InputStream int sun.net.www.http.HttpClient
StackMap stack: java.io.IOException
pop
46: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 is Ljava/io/InputStream;
0 47 1 cl I
0 47 2 http Lsun/net/www/http/HttpClient;
3 45 3 oldTimeout I
5 45 4 expected I
6 45 5 isChunked Z
13 44 6 buffer [B
14 44 7 count I
15 44 8 time I
16 44 9 len I
Exception table:
from to target type
16 21 28 Class java.net.SocketTimeoutException
22 27 28 Class java.net.SocketTimeoutException
2 34 45 Class java.io.IOException
35 39 45 Class java.io.IOException
40 43 45 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