com.groupbyinc.flux.common.http.conn.EofSensorInputStream.class Maven / Gradle / Ivy
???? 2 r 9com/groupbyinc/flux/common/http/conn/EofSensorInputStream java/io/InputStream =com/groupbyinc/flux/common/http/conn/ConnectionReleaseTrigger EofSensorInputStream.java
wrappedStream Ljava/io/InputStream;
selfClosed Z
eofWatcher 7Lcom/groupbyinc/flux/common/http/conn/EofSensorWatcher; O(Ljava/io/InputStream;Lcom/groupbyinc/flux/common/http/conn/EofSensorWatcher;)V ()V
Wrapped stream )com/groupbyinc/flux/common/http/util/Args notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
this ;Lcom/groupbyinc/flux/common/http/conn/EofSensorInputStream; in watcher isSelfClosed ()Z getWrappedStream ()Ljava/io/InputStream;
isReadAllowed java/io/IOException * Attempted read on closed stream. , (Ljava/lang/String;)V .
+ / read ()I ) &
3 1 2
5 checkEOF (I)V 7 8
9
checkAbort ;
< ex Ljava/io/IOException; l I ([BII)I 1 B
C [B E b off len ([B)I
C available L 2
M a close
checkClose Q
R 5com/groupbyinc/flux/common/http/conn/EofSensorWatcher T eofDetected (Ljava/io/InputStream;)Z V W U X P
Z java/lang/Throwable \ scws eof
toCheckStream streamClosed a W U b
toCloseStream streamAbort e W U f
toAbortStream releaseConnection
Z abortConnection Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile !
l m *? +? W*+? *? *,? ? m ! " # $
n Q R S T U V % &