
com.squareup.okhttp.MultipartBuilder.class Maven / Gradle / Ivy
???? 3 ? F ? F ? F ?
? ?
? ?
F ?
G ? F ? F ? ?
? F ? F ?
? ? F ? ? ?
?
? ? ?
3 ? ? ?
? ?
?
?
?
?
F ? ? ?
? ? ? ? ? ? ?
?
3 ?
3 ? ? ? ?
? ?
F ? ? ?
?
F ? ? ? ?
? ? ? ? ? ?
7 ? ?
: ? ?
? ? ? F ? ? F ? ? F ? ? F ? ? ? MultipartRequestBody InnerClasses MIXED Lcom/squareup/okhttp/MediaType; ALTERNATIVE DIGEST PARALLEL FORM
COLONSPACE [B CRLF DASHDASH boundary Lokio/ByteString; type partHeaders Ljava/util/List; Signature /Ljava/util/List;
partBodies 3Ljava/util/List; ()V Code LineNumberTable LocalVariableTable this &Lcom/squareup/okhttp/MultipartBuilder; (Ljava/lang/String;)V Ljava/lang/String; G(Lcom/squareup/okhttp/MediaType;)Lcom/squareup/okhttp/MultipartBuilder;
StackMapTable addPart I(Lcom/squareup/okhttp/RequestBody;)Lcom/squareup/okhttp/MultipartBuilder; body !Lcom/squareup/okhttp/RequestBody; f(Lcom/squareup/okhttp/Headers;Lcom/squareup/okhttp/RequestBody;)Lcom/squareup/okhttp/MultipartBuilder; headers Lcom/squareup/okhttp/Headers; appendQuotedString F(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder; ch C i I len target Ljava/lang/StringBuilder; key addFormDataPart L(Ljava/lang/String;Ljava/lang/String;)Lcom/squareup/okhttp/MultipartBuilder; name value m(Ljava/lang/String;Ljava/lang/String;Lcom/squareup/okhttp/RequestBody;)Lcom/squareup/okhttp/MultipartBuilder; filename disposition ? build #()Lcom/squareup/okhttp/RequestBody;
access$000 ()[B
access$100
access$200
SourceFile MultipartBuilder.java P Q R Q S Q ? ? ? ? ? ] d ] ^ J K V K java/util/ArrayList W X [ X ? ? ? T U java/lang/NullPointerException type == null ? V ? multipart ? ? "java/lang/IllegalArgumentException java/lang/StringBuilder
multipart != ? ? ? ? h l body == null Content-Type ? ? ? Unexpected header: Content-Type Content-Length !Unexpected header: Content-Length ? ? ? ? ? ? ? ? ? %0A %0D %22 ? ? ? y } name == null form-data; name= o p ; filename= java/lang/String Content-Disposition ? ? ? ? java/lang/IllegalStateException +Multipart body must have at least one part. 9com/squareup/okhttp/MultipartBuilder$MultipartRequestBody ] ? multipart/mixed ? ? multipart/alternative L K multipart/digest M K multipart/parallel N K multipart/form-data O K $com/squareup/okhttp/MultipartBuilder java/lang/Object java/util/UUID
randomUUID ()Ljava/util/UUID; toString ()Ljava/lang/String; okio/ByteString
encodeUtf8 %(Ljava/lang/String;)Lokio/ByteString; com/squareup/okhttp/MediaType equals (Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; com/squareup/okhttp/Headers get &(Ljava/lang/String;)Ljava/lang/String; java/util/List add (C)Ljava/lang/StringBuilder; length ()I charAt (I)C com/squareup/okhttp/RequestBody create T(Lcom/squareup/okhttp/MediaType;Ljava/lang/String;)Lcom/squareup/okhttp/RequestBody; of 2([Ljava/lang/String;)Lcom/squareup/okhttp/Headers; isEmpty ()Z S(Lcom/squareup/okhttp/MediaType;Lokio/ByteString;Ljava/util/List;Ljava/util/List;)V parse 3(Ljava/lang/String;)Lcom/squareup/okhttp/MediaType; 1 F G J K L K M K N K O K P Q R Q S Q T U V K W X Y Z [ X Y \
] ^ _ 9 *? ? ? ? `
S
T a b c ] d _ r **? *? ? *?
Y? ? *?
Y? ?
*+? ? ? ` [ K N O ! \ ) ] a * b c * T e V f _ ? <+?
? Y? ?+? ? ? ? Y? Y? ? +? ? ? ?*+? *? ` e f h i 5 k : l a <