retrofit2.Retrofit$Builder.class Maven / Gradle / Ivy
???? 4 ?
java/lang/Object ()V java/util/ArrayList
retrofit2/Retrofit$Builder converterFactories Ljava/util/List; callAdapterFactories platform Lretrofit2/Platform;
retrofit2/Platform get ()Lretrofit2/Platform;
(Lretrofit2/Platform;)V ! " # $ % retrofit2/Retrofit callFactory Lokhttp3/Call$Factory; " ! ( ) * baseUrl Lokhttp3/HttpUrl; ( ! . / 0 1 2 java/util/List size ()I
4 5 2 defaultConverterFactoriesSize . 7 8 (I)Ljava/lang/Object; : retrofit2/Converter$Factory . < = > add (Ljava/lang/Object;)Z !
A B 2 defaultCallAdapterFactoriesSize D retrofit2/CallAdapter$Factory ! F G H callbackExecutor Ljava/util/concurrent/Executor; F ! K L M validateEagerly Z K P client == null
R S T U V java/util/Objects requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; X okhttp3/Call$Factory
Z $ [ 4(Lokhttp3/Call$Factory;)Lretrofit2/Retrofit$Builder; ] factory == null _ baseUrl == null
a b c d e java/net/URL toString ()Ljava/lang/String;
g h i j okhttp3/HttpUrl %(Ljava/lang/String;)Lokhttp3/HttpUrl;
l ) m /(Lokhttp3/HttpUrl;)Lretrofit2/Retrofit$Builder;
g o p q pathSegments ()Ljava/util/List; s
u v w x > java/lang/String equals z "java/lang/IllegalArgumentException | java/lang/StringBuilder
{ baseUrl must end in /:
{ ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
{ ? ? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
{ b
y ? ? (Ljava/lang/String;)V ? executor == null ? java/util/concurrent/Executor ? java/lang/IllegalStateException ? Base URL required.
? ? ? okhttp3/OkHttpClient
?
? ? ? defaultCallbackExecutor !()Ljava/util/concurrent/Executor;
? ? (Ljava/util/Collection;)V
? ? ? defaultCallAdapterFactories 1(Ljava/util/concurrent/Executor;)Ljava/util/List; . ? ? ? addAll (Ljava/util/Collection;)Z
? ? (I)V ? retrofit2/BuiltInConverters
?
? ? q defaultConverterFactories
? ? ? ? ? java/util/Collections unmodifiableList "(Ljava/util/List;)Ljava/util/List;
! ? ? j(Lokhttp3/Call$Factory;Lokhttp3/HttpUrl;Ljava/util/List;Ljava/util/List;Ljava/util/concurrent/Executor;Z)V RuntimeVisibleAnnotations Ljavax/annotation/Nullable; Signature /Ljava/util/List; 1Ljava/util/List; Code LineNumberTable LocalVariableTable this Lretrofit2/Retrofit$Builder; (Lretrofit2/Retrofit;)V i I retrofit Lretrofit2/Retrofit;
StackMapTable client 4(Lokhttp3/OkHttpClient;)Lretrofit2/Retrofit$Builder; Lokhttp3/OkHttpClient; factory ,(Ljava/net/URL;)Lretrofit2/Retrofit$Builder; Ljava/net/URL; 0(Ljava/lang/String;)Lretrofit2/Retrofit$Builder; Ljava/lang/String; LocalVariableTypeTable $Ljava/util/List; addConverterFactory ;(Lretrofit2/Converter$Factory;)Lretrofit2/Retrofit$Builder; Lretrofit2/Converter$Factory; addCallAdapterFactory =(Lretrofit2/CallAdapter$Factory;)Lretrofit2/Retrofit$Builder; Lretrofit2/CallAdapter$Factory; =(Ljava/util/concurrent/Executor;)Lretrofit2/Retrofit$Builder; executor 3()Ljava/util/List; 1()Ljava/util/List; (Z)Lretrofit2/Retrofit$Builder; build ()Lretrofit2/Retrofit;
SourceFile
Retrofit.java InnerClasses Builder ? okhttp3/Call Factory ? retrofit2/Converter ? retrofit2/CallAdapter 1 $ % ? ? ) * ? ? ? ? ? ? G H ? ? L M ? d *? *? Y? ?
*? Y? ? *+? ? ? ? ? ? ? ? ? ? ? ? 6 *? ? ? ?
? ? ? ? ? ? ? x ?*? *? Y? ?
*? Y? ? *? ? *+? ? &*+? '? +=+? ,? - *? ? 3d>? *?
+? ,? 6 ? 9? ; W????=+? ?? - *? ? @d>? *? +? ?? 6 ? C? ; W????*+? E? I*+? J? N? ? R ? ? ? ? !? )? 1? 3? E? J? a? g? i? m? {? ?? ?? ?? ?? ?? ? > 3 4 ? ? E " 1 ? i 4 ? ? { " 1 ? ? ? ? ? ? ? ? ? E ! ? !? ? ! ? ? ? B *+O? Q? W? Y? ? ? ? ? ? ? ? $ [ ? G *+\? Q? W? &*? ?
?
? ? ? ? ? % ) ? ? K +^? QW*+? `? f? k? ?
? ? ? ? ? ) ? ) ? ? H +^? QW*+? f? k? ?
? ? ? ? ? ) ? ) m ? ? D+^? QW+? nMr,,? - d? 6 ? t? ? yY? {Y? }~? ?+? ?? ?? ??*+? +*? ? 0 1 2 "3 =5 B6 ? D ? ? D ) * 8 p ? 8 p ? ? ? = . ? ? ? M *?
+\? Q? 9? ; W*? ?
; <