
com.groupbyinc.flux.common.http.client.methods.RequestBuilder.class Maven / Gradle / Ivy
???? 2 =com/groupbyinc/flux/common/http/client/methods/RequestBuilder java/lang/Object RequestBuilder.java [com/groupbyinc/flux/common/http/client/methods/RequestBuilder$InternalEntityEclosingRequest InternalEntityEclosingRequest Mcom/groupbyinc/flux/common/http/client/methods/RequestBuilder$InternalRequest InternalRequest method Ljava/lang/String; charset Ljava/nio/charset/Charset; version 1Lcom/groupbyinc/flux/common/http/ProtocolVersion; uri Ljava/net/URI; headergroup 5Lcom/groupbyinc/flux/common/http/message/HeaderGroup; entity ,Lcom/groupbyinc/flux/common/http/HttpEntity;
parameters Ljava/util/List; ALjava/util/List; config =Lcom/groupbyinc/flux/common/http/client/config/RequestConfig; (Ljava/lang/String;)V ()V
&com/groupbyinc/flux/common/http/Consts " UTF_8 $ # % '
) this ?Lcom/groupbyinc/flux/common/http/client/methods/RequestBuilder; #(Ljava/lang/String;Ljava/net/URI;)V . '(Ljava/lang/String;Ljava/lang/String;)V java/net/URI 1 create "(Ljava/lang/String;)Ljava/net/URI; 3 4
2 5 java/lang/String 7
9 S(Ljava/lang/String;)Lcom/groupbyinc/flux/common/http/client/methods/RequestBuilder; HTTP method < )com/groupbyinc/flux/common/http/util/Args > notBlank D(Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/CharSequence; @ A
? B get A()Lcom/groupbyinc/flux/common/http/client/methods/RequestBuilder; GET F O(Ljava/net/URI;)Lcom/groupbyinc/flux/common/http/client/methods/RequestBuilder; -
I 0
K head HEAD N patch PATCH Q post POST T put PUT W delete DELETE Z trace TRACE ] options OPTIONS ` copy n(Lcom/groupbyinc/flux/common/http/HttpRequest;)Lcom/groupbyinc/flux/common/http/client/methods/RequestBuilder; HTTP request d notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; f g
? h
doCopy k c
l request -Lcom/groupbyinc/flux/common/http/HttpRequest; java/io/IOException p +com/groupbyinc/flux/common/http/HttpRequest r getRequestLine /()Lcom/groupbyinc/flux/common/http/RequestLine; t u s v +com/groupbyinc/flux/common/http/RequestLine x getMethod ()Ljava/lang/String; z { y | getProtocolVersion 3()Lcom/groupbyinc/flux/common/http/ProtocolVersion; ~ y ? ? ? 3com/groupbyinc/flux/common/http/message/HeaderGroup ?
? clear ?
? ?
getAllHeaders +()[Lcom/groupbyinc/flux/common/http/Header; ? ? s ?
setHeaders ,([Lcom/groupbyinc/flux/common/http/Header;)V ? ?
? ? ? ? :com/groupbyinc/flux/common/http/HttpEntityEnclosingRequest ? getEntity .()Lcom/groupbyinc/flux/common/http/HttpEntity; ? ? ? ? 2com/groupbyinc/flux/common/http/entity/ContentType ? b(Lcom/groupbyinc/flux/common/http/HttpEntity;)Lcom/groupbyinc/flux/common/http/entity/ContentType; D ?
? ? getMimeType ? {
? ? APPLICATION_FORM_URLENCODED 4Lcom/groupbyinc/flux/common/http/entity/ContentType; ? ? ? ? equals (Ljava/lang/Object;)Z ? ?
8 ?