retrofit.Utils.class Maven / Gradle / Ivy
???? 2 ? b
c d
e f
g
h
i j k l k m
n o
p
q
r
s
t u l u v
w
x
e y z {
q
|
}
r
~
? ? ?
?
? ?
% c ? ? SynchronousExecutor InnerClasses BUFFER_SIZE I
ConstantValue
streamToBytes (Ljava/io/InputStream;)[B Code LineNumberTable LocalVariableTable buf [B r stream Ljava/io/InputStream; baos Ljava/io/ByteArrayOutputStream;
StackMapTable b 3
Exceptions readBodyToBytesIfNecessary 4(Lretrofit/client/Request;)Lretrofit/client/Request; request Lretrofit/client/Request; body Lretrofit/mime/TypedOutput; bodyMime Ljava/lang/String; ? 6(Lretrofit/client/Response;)Lretrofit/client/Response; bodyBytes response Lretrofit/client/Response; Lretrofit/mime/TypedInput; is ? { ? ? z ? replaceResponseBody P(Lretrofit/client/Response;Lretrofit/mime/TypedInput;)Lretrofit/client/Response; validateServiceClass (Ljava/lang/Class;)V service Ljava/lang/Class; LocalVariableTypeTable Ljava/lang/Class; Signature /(Ljava/lang/Class;)V ()V this Lretrofit/Utils;
SourceFile
Utils.java java/io/ByteArrayOutputStream \ ] retrofit/Utils ? ? ? ? ? ? ? ? ? retrofit/mime/TypedByteArray ? ? ? ? ? \ ? retrofit/client/Request ? ? ? ? ? ? \ ? ? ? ? ? ? - . R S ? ] java/io/IOException retrofit/client/Response ? ? ? ? \ ? ? ? ? "java/lang/IllegalArgumentException 2Only interface endpoint definitions are supported. \ ? ? ? 7Interface definitions must not extend other interfaces. java/lang/Object "retrofit/Utils$SynchronousExecutor retrofit/mime/TypedOutput retrofit/mime/TypedInput java/lang/String java/io/InputStream java/lang/Throwable read ([B)I write ([BII)V toByteArray ()[B getBody ()Lretrofit/mime/TypedOutput; mimeType ()Ljava/lang/String; writeTo (Ljava/io/OutputStream;)V (Ljava/lang/String;[B)V getMethod getUrl
getHeaders ()Ljava/util/List; R(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lretrofit/mime/TypedOutput;)V ()Lretrofit/mime/TypedInput; in ()Ljava/io/InputStream; close getStatus ()I getReason R(Ljava/lang/String;ILjava/lang/String;Ljava/util/List;Lretrofit/mime/TypedInput;)V java/lang/Class isInterface ()Z (Ljava/lang/String;)V
getInterfaces ()[Ljava/lang/Class; 0 % ) * + , - . / ? ,? Y? L*? ?M*,? Y>?
+,? ???+? ? 0 ' ( ) + , ' / 1 * 2 3 4 * , 5 6 $ 7 8 9 ? : ;? <