com.groupbyinc.flux.common.apache.http.entity.BasicHttpEntity.class Maven / Gradle / Ivy
???? 2 _ =com/groupbyinc/flux/common/apache/http/entity/BasicHttpEntity @com/groupbyinc/flux/common/apache/http/entity/AbstractHttpEntity BasicHttpEntity.java content Ljava/io/InputStream; length J ()V
???????? this ?Lcom/groupbyinc/flux/common/apache/http/entity/BasicHttpEntity; getContentLength ()J
getContent ()Ljava/io/InputStream; java/lang/IllegalStateException Content has not been provided 3com/groupbyinc/flux/common/apache/http/util/Asserts check (ZLjava/lang/String;)V !
" isRepeatable ()Z setContentLength (J)V len
setContent (Ljava/io/InputStream;)V instream writeTo (Ljava/io/OutputStream;)V java/io/IOException .
Output stream 0 0com/groupbyinc/flux/common/apache/http/util/Args 2 notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; 4 5
3 6
8 java/io/InputStream : [B < read ([B)I > ?
; @ java/io/OutputStream B write ([BII)V D E
C F close H
; I java/lang/Throwable K l I tmp outstream Ljava/io/OutputStream; isStreaming ?com/groupbyinc/flux/common/apache/http/impl/io/EmptyInputStream S INSTANCE ALcom/groupbyinc/flux/common/apache/http/impl/io/EmptyInputStream; U V T W Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile !
Y > *?
* ? ? Z [ 7 8 9 Y / *? ? Z [ = Y O *? ? ? ? #*? ? Z [
K L \ @ ] $ % Y , ? Z [ V &