public class org.apache.http.conn.EofSensorInputStream extends java.io.InputStream implements org.apache.http.conn.ConnectionReleaseTrigger
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.http.conn.EofSensorInputStream
super_class: java.io.InputStream
{
protected java.io.InputStream wrappedStream;
descriptor: Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
private boolean selfClosed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final org.apache.http.conn.EofSensorWatcher eofWatcher;
descriptor: Lorg/apache/http/conn/EofSensorWatcher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.io.InputStream, org.apache.http.conn.EofSensorWatcher);
descriptor: (Ljava/io/InputStream;Lorg/apache/http/conn/EofSensorWatcher;)V
flags: (0x0001) ACC_PUBLIC
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 1
ldc "Wrapped stream"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
aload 1
putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
3: aload 0
iconst_0
putfield org.apache.http.conn.EofSensorInputStream.selfClosed:Z
4: aload 0
aload 2
putfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/http/conn/EofSensorInputStream;
0 6 1 in Ljava/io/InputStream;
0 6 2 watcher Lorg/apache/http/conn/EofSensorWatcher;
MethodParameters:
Name Flags
in final
watcher final
boolean isSelfClosed();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.http.conn.EofSensorInputStream.selfClosed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/conn/EofSensorInputStream;
java.io.InputStream getWrappedStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/conn/EofSensorInputStream;
protected boolean isReadAllowed();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.http.conn.EofSensorInputStream.selfClosed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "Attempted read on closed stream."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
ifnull 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/http/conn/EofSensorInputStream;
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_m1
istore 1
start local 1 1: aload 0
invokevirtual org.apache.http.conn.EofSensorInputStream.isReadAllowed:()Z
ifeq 8
2: aload 0
getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
3: aload 0
iload 1
invokevirtual org.apache.http.conn.EofSensorInputStream.checkEOF:(I)V
4: goto 8
StackMap locals: org.apache.http.conn.EofSensorInputStream int
StackMap stack: java.io.IOException
5: astore 2
start local 2 6: aload 0
invokevirtual org.apache.http.conn.EofSensorInputStream.checkAbort:()V
7: aload 2
athrow
end local 2 8: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/http/conn/EofSensorInputStream;
1 9 1 readLen I
6 8 2 ex Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.io.IOException
Exceptions:
throws java.io.IOException
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: iconst_m1
istore 4
start local 4 1: aload 0
invokevirtual org.apache.http.conn.EofSensorInputStream.isReadAllowed:()Z
ifeq 8
2: aload 0
getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
3: aload 0
iload 4
invokevirtual org.apache.http.conn.EofSensorInputStream.checkEOF:(I)V
4: goto 8
StackMap locals: org.apache.http.conn.EofSensorInputStream byte[] int int int
StackMap stack: java.io.IOException
5: astore 5
start local 5 6: aload 0
invokevirtual org.apache.http.conn.EofSensorInputStream.checkAbort:()V
7: aload 5
athrow
end local 5 8: StackMap locals:
StackMap stack:
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 9 0 this Lorg/apache/http/conn/EofSensorInputStream;
0 9 1 b [B
0 9 2 off I
0 9 3 len I
1 9 4 readLen I
6 8 5 ex Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b final
off final
len final
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 org.apache.http.conn.EofSensorInputStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/conn/EofSensorInputStream;
0 1 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b final
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual org.apache.http.conn.EofSensorInputStream.isReadAllowed:()Z
ifeq 7
2: aload 0
getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
istore 1
3: goto 7
StackMap locals: org.apache.http.conn.EofSensorInputStream int
StackMap stack: java.io.IOException
4: astore 2
start local 2 5: aload 0
invokevirtual org.apache.http.conn.EofSensorInputStream.checkAbort:()V
6: aload 2
athrow
end local 2 7: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/http/conn/EofSensorInputStream;
1 8 1 a I
5 7 2 ex Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.http.conn.EofSensorInputStream.selfClosed:Z
1: aload 0
invokevirtual org.apache.http.conn.EofSensorInputStream.checkClose:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/conn/EofSensorInputStream;
Exceptions:
throws java.io.IOException
protected void checkEOF(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
astore 2
start local 2 1: aload 2
ifnull 12
iload 1
ifge 12
2: iconst_1
istore 3
start local 3 3: aload 0
getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
ifnull 5
4: aload 0
getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
aload 2
invokeinterface org.apache.http.conn.EofSensorWatcher.eofDetected:(Ljava/io/InputStream;)Z
istore 3
5: StackMap locals: java.io.InputStream int
StackMap stack:
iload 3
ifeq 11
6: aload 2
invokevirtual java.io.InputStream.close:()V
end local 3 7: goto 11
StackMap locals: org.apache.http.conn.EofSensorInputStream int java.io.InputStream
StackMap stack: java.lang.Throwable
8: astore 4
9: aload 0
aconst_null
putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
10: aload 4
athrow
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/http/conn/EofSensorInputStream;
0 13 1 eof I
1 13 2 toCheckStream Ljava/io/InputStream;
3 7 3 scws Z
Exception table:
from to target type
2 8 8 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
eof final
protected void checkClose();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
astore 1
start local 1 1: aload 1
ifnull 12
2: iconst_1
istore 2
start local 2 3: aload 0
getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
ifnull 5
4: aload 0
getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
aload 1
invokeinterface org.apache.http.conn.EofSensorWatcher.streamClosed:(Ljava/io/InputStream;)Z
istore 2
5: StackMap locals: java.io.InputStream int
StackMap stack:
iload 2
ifeq 11
6: aload 1
invokevirtual java.io.InputStream.close:()V
end local 2 7: goto 11
StackMap locals: org.apache.http.conn.EofSensorInputStream java.io.InputStream
StackMap stack: java.lang.Throwable
8: astore 3
9: aload 0
aconst_null
putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
10: aload 3
athrow
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/http/conn/EofSensorInputStream;
1 13 1 toCloseStream Ljava/io/InputStream;
3 7 2 scws Z
Exception table:
from to target type
2 8 8 any
Exceptions:
throws java.io.IOException
protected void checkAbort();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
astore 1
start local 1 1: aload 1
ifnull 12
2: iconst_1
istore 2
start local 2 3: aload 0
getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
ifnull 5
4: aload 0
getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
aload 1
invokeinterface org.apache.http.conn.EofSensorWatcher.streamAbort:(Ljava/io/InputStream;)Z
istore 2
5: StackMap locals: java.io.InputStream int
StackMap stack:
iload 2
ifeq 11
6: aload 1
invokevirtual java.io.InputStream.close:()V
end local 2 7: goto 11
StackMap locals: org.apache.http.conn.EofSensorInputStream java.io.InputStream
StackMap stack: java.lang.Throwable
8: astore 3
9: aload 0
aconst_null
putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
10: aload 3
athrow
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/http/conn/EofSensorInputStream;
1 13 1 toAbortStream Ljava/io/InputStream;
3 7 2 scws Z
Exception table:
from to target type
2 8 8 any
Exceptions:
throws java.io.IOException
public void releaseConnection();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.http.conn.EofSensorInputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/conn/EofSensorInputStream;
Exceptions:
throws java.io.IOException
public void abortConnection();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.http.conn.EofSensorInputStream.selfClosed:Z
1: aload 0
invokevirtual org.apache.http.conn.EofSensorInputStream.checkAbort:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/conn/EofSensorInputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "EofSensorInputStream.java"