com.groupbyinc.flux.common.http.entity.InputStreamEntity.class Maven / Gradle / Ivy
???? 2 j 8com/groupbyinc/flux/common/http/entity/InputStreamEntity 9com/groupbyinc/flux/common/http/entity/AbstractHttpEntity InputStreamEntity.java content Ljava/io/InputStream; length J (Ljava/io/InputStream;)V???????? (Ljava/io/InputStream;J)V
this :Lcom/groupbyinc/flux/common/http/entity/InputStreamEntity; instream M(Ljava/io/InputStream;JLcom/groupbyinc/flux/common/http/entity/ContentType;)V
L(Ljava/io/InputStream;Lcom/groupbyinc/flux/common/http/entity/ContentType;)V contentType 4Lcom/groupbyinc/flux/common/http/entity/ContentType; ()V
Source input stream )com/groupbyinc/flux/common/http/util/Args notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ! "
# java/io/InputStream % ' ) 2com/groupbyinc/flux/common/http/entity/ContentType + toString ()Ljava/lang/String; - .
, / setContentType (Ljava/lang/String;)V 1 2
3 isRepeatable ()Z getContentLength ()J
getContent ()Ljava/io/InputStream; java/io/IOException ; writeTo (Ljava/io/OutputStream;)V
Output stream ? [B A read ([B)I C D
&