retrofit.client.UrlConnectionClient.class Maven / Gradle / Ivy
???? 2 ?
? ~
"
" ?
" ? ?
? ?
?
? ? ?
?
?
? ?
?
?
? ? 2 ? ? ? ? ? ?
?
?
?
? ?
? ? ? ? ? ?????????
? ?
0 ? ?
?
? ? ?
?
? ? ?
) ~
? ? ? ? ? ? . ? ? . ? ?
? 2 ?
?
?
?
? ?
9 ? ?
?
?
; ? ? ? ? InnerClasses TypedInputStream
CHUNK_SIZE I
ConstantValue ()V Code LineNumberTable LocalVariableTable this %Lretrofit/client/UrlConnectionClient; execute 5(Lretrofit/client/Request;)Lretrofit/client/Response; request Lretrofit/client/Request;
connection Ljava/net/HttpURLConnection;
Exceptions ? openConnection 7(Lretrofit/client/Request;)Ljava/net/HttpURLConnection; prepareRequest 8(Ljava/net/HttpURLConnection;Lretrofit/client/Request;)V header Lretrofit/client/Header; length J body Lretrofit/mime/TypedOutput;
StackMapTable ? ? readResponse 8(Ljava/net/HttpURLConnection;)Lretrofit/client/Response; value Ljava/lang/String; name field Entry Ljava/util/Map$Entry; stream Ljava/io/InputStream; status reason headers Ljava/util/List; mimeType responseBody Lretrofit/mime/TypedInput; LocalVariableTypeTable MLjava/util/Map$Entry;>; *Ljava/util/List; ? ? ? ?
SourceFile UrlConnectionClient.java H I W X Y Z d e java/net/URL ? ? ? H ? W ? java/net/HttpURLConnection retrofit/client/Defaults ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? retrofit/client/Header ? ? ? ? ? ? ? ? ? ? Content-Type ? r ? ] ? ? ? Content-Length ? ? #retrofit/client/UrlConnectionClient ? ? ? ? ? ? ? ? ? ? java/util/ArrayList ? ? ? ? ? ? java/util/Map$Entry ? ? java/lang/String ? ? java/util/List H ? ? ? ? ? ? ? ? ? ? ? 4retrofit/client/UrlConnectionClient$TypedInputStream H ? retrofit/client/Response ? ? ? ? H ? java/lang/Object retrofit/client/Client %retrofit/client/UrlConnectionClient$1 java/io/IOException java/util/Iterator retrofit/mime/TypedOutput java/io/InputStream retrofit/client/Request getUrl ()Ljava/lang/String; (Ljava/lang/String;)V ()Ljava/net/URLConnection; setConnectTimeout (I)V setReadTimeout getMethod setRequestMethod
setDoInput (Z)V
getHeaders ()Ljava/util/List; iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; getName getValue addRequestProperty '(Ljava/lang/String;Ljava/lang/String;)V getBody ()Lretrofit/mime/TypedOutput; setDoOutput ()J setFixedLengthStreamingMode valueOf (J)Ljava/lang/String; setChunkedStreamingMode getOutputStream ()Ljava/io/OutputStream; writeTo (Ljava/io/OutputStream;)V getResponseCode ()I getResponseMessage getHeaderFields ()Ljava/util/Map;
java/util/Map entrySet ()Ljava/util/Set;
java/util/Set getKey add (Ljava/lang/Object;)Z getContentType getContentLength getErrorStream ()Ljava/io/InputStream; getInputStream R(Ljava/lang/String;JLjava/io/InputStream;Lretrofit/client/UrlConnectionClient$1;)V getURL ()Ljava/net/URL; toString R(Ljava/lang/String;ILjava/lang/String;Ljava/util/List;Lretrofit/mime/TypedInput;)V ! " ? @ D E F G H I J 3 *? ? K
! L M N O P J X *+? M*,+? *,? ? K $ % &