com.groupbyinc.flux.common.apache.http.client.entity.EntityBuilder.class Maven / Gradle / Ivy
???? 2 ? Bcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder java/lang/Object EntityBuilder.java ALcom/groupbyinc/flux/common/apache/http/annotation/NotThreadSafe; text Ljava/lang/String; binary [B stream Ljava/io/InputStream;
parameters Ljava/util/List; HLjava/util/List; serializable Ljava/io/Serializable; file Ljava/io/File; contentType ;Lcom/groupbyinc/flux/common/apache/http/entity/ContentType; contentEncoding chunked Z gzipCompress ()V
this DLcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder; create F()Lcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder;
clearContent $
& (
* , . getText ()Ljava/lang/String; setText X(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder; #
4 getBinary ()[B setBinary H([B)Lcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder; getStream ()Ljava/io/InputStream; setStream [(Ljava/io/InputStream;)Lcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder;
getParameters ()Ljava/util/List;
setParameters V(Ljava/util/List;)Lcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder; }([Lcom/groupbyinc/flux/common/apache/http/NameValuePair;)Lcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder; java/util/Arrays C asList %([Ljava/lang/Object;)Ljava/util/List; E F
D G @ A
I 7[Lcom/groupbyinc/flux/common/apache/http/NameValuePair; getSerializable ()Ljava/io/Serializable; setSerializable \(Ljava/io/Serializable;)Lcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder; getFile ()Ljava/io/File; setFile T(Ljava/io/File;)Lcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder; getContentType =()Lcom/groupbyinc/flux/common/apache/http/entity/ContentType; V setContentType ?(Lcom/groupbyinc/flux/common/apache/http/entity/ContentType;)Lcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder; getContentEncoding [ setContentEncoding isChunked ()Z ` isGzipCompress c getContentOrDefault x(Lcom/groupbyinc/flux/common/apache/http/entity/ContentType;)Lcom/groupbyinc/flux/common/apache/http/entity/ContentType; 9com/groupbyinc/flux/common/apache/http/entity/ContentType g def build 5()Lcom/groupbyinc/flux/common/apache/http/HttpEntity; :com/groupbyinc/flux/common/apache/http/entity/StringEntity l DEFAULT_TEXT n h o e f
q P(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/http/entity/ContentType;)V s
m t =com/groupbyinc/flux/common/apache/http/entity/ByteArrayEntity v DEFAULT_BINARY x h y @([BLcom/groupbyinc/flux/common/apache/http/entity/ContentType;)V {
w | ?com/groupbyinc/flux/common/apache/http/entity/InputStreamEntity ~???????? T(Ljava/io/InputStream;JLcom/groupbyinc/flux/common/apache/http/entity/ContentType;)V ?
? Icom/groupbyinc/flux/common/apache/http/client/entity/UrlEncodedFormEntity ?
getCharset ()Ljava/nio/charset/Charset; ? ?
h ? java/util/List ? java/nio/charset/Charset ? 1(Ljava/lang/Iterable;Ljava/nio/charset/Charset;)V ?
? ? @com/groupbyinc/flux/common/apache/http/entity/SerializableEntity ? (Ljava/io/Serializable;)V ?
? ? toString ? 1
h ? @com/groupbyinc/flux/common/apache/http/entity/AbstractHttpEntity ? (Ljava/lang/String;)V X ?
? ? 8com/groupbyinc/flux/common/apache/http/entity/FileEntity ? L(Ljava/io/File;Lcom/groupbyinc/flux/common/apache/http/entity/ContentType;)V ?
? ? =com/groupbyinc/flux/common/apache/http/entity/BasicHttpEntity ?
? 1()Lcom/groupbyinc/flux/common/apache/http/Header; T ?
? ? ] ?
? ?
setChunked (Z)V ? ?
? ? Jcom/groupbyinc/flux/common/apache/http/client/entity/GzipCompressingEntity ? 6(Lcom/groupbyinc/flux/common/apache/http/HttpEntity;)V ?
? ? e BLcom/groupbyinc/flux/common/apache/http/entity/AbstractHttpEntity; Signature Code LocalVariableTable LineNumberTable J()Ljava/util/List; LocalVariableTypeTable ?(Ljava/util/List;)Lcom/groupbyinc/flux/common/apache/http/client/entity/EntityBuilder;
StackMapTable
SourceFile RuntimeInvisibleAnnotations !
? ? 3 *? ? ? ?
Q R ! ? ? Y? "? ? U # ? a *? %*? '*? )*? +*? -*? /? ? ? Y Z
[ \ ] ^ _ 0 1 ? / *? %? ? ? e 2 3 ? G *? 5*+? %*? ? ? r s t 6 7 ? / *? '? ? ? | 8 9 ? G *? 5*+? '*? ?
? ? ? ? : ; ? / *? )? ? ? ? <