2019-02-04 20:08:30 +00:00
|
|
|
.class public final Lb/n$a;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "Retrofit.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lb/n;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "a"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-05-04 02:59:52 +00:00
|
|
|
.field private bBF:Ljava/util/concurrent/Executor;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private bCd:Lokhttp3/s;
|
2019-04-11 23:08:29 +00:00
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
.field private bCo:Lokhttp3/e$a;
|
2019-02-27 21:13:14 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
.field private final bCp:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
2019-02-27 21:13:14 +00:00
|
|
|
"Lb/e$a;",
|
2019-02-04 20:08:30 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
.field private final bCq:Ljava/util/List;
|
2019-02-04 20:20:43 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
2019-02-27 21:13:14 +00:00
|
|
|
"Lb/c$a;",
|
2019-02-04 20:20:43 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
.field private bCr:Z
|
2019-02-27 21:13:14 +00:00
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
.field private final bCs:Lb/k;
|
2019-02-04 20:29:01 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
invoke-static {}, Lb/k;->ES()Lb/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Lb/n$a;-><init>(Lb/k;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private constructor <init>(Lb/k;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iput-object v0, p0, Lb/n$a;->bCp:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iput-object v0, p0, Lb/n$a;->bCq:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iput-object p1, p0, Lb/n$a;->bCs:Lb/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object p1, p0, Lb/n$a;->bCp:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lb/a;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lb/a;-><init>()V
|
|
|
|
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-05-04 02:59:52 +00:00
|
|
|
.method public final EW()Lb/n;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 8
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lb/n$a;->bCd:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lb/n$a;->bCo:Lokhttp3/e$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/t;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lokhttp3/t;-><init>()V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v2, v0
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lb/n$a;->bBF:Ljava/util/concurrent/Executor;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lb/n$a;->bCs:Lb/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
invoke-virtual {v0}, Lb/k;->EU()Ljava/util/concurrent/Executor;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-object v6, v0
|
|
|
|
|
|
|
|
new-instance v5, Ljava/util/ArrayList;
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lb/n$a;->bCq:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {v5, v0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lb/n$a;->bCs:Lb/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v6}, Lb/k;->a(Ljava/util/concurrent/Executor;)Lb/c$a;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {v5, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
new-instance v4, Ljava/util/ArrayList;
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lb/n$a;->bCp:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {v4, v0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
|
|
|
|
new-instance v0, Lb/n;
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v3, p0, Lb/n$a;->bCd:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-boolean v7, p0, Lb/n$a;->bCr:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
invoke-direct/range {v1 .. v7}, Lb/n;-><init>(Lokhttp3/e$a;Lokhttp3/s;Ljava/util/List;Ljava/util/List;Ljava/util/concurrent/Executor;Z)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "Base URL required."
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lb/c$a;)Lb/n$a;
|
|
|
|
.locals 2
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lb/n$a;->bCq:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v1, "factory == null"
|
|
|
|
|
|
|
|
invoke-static {p1, v1}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lb/e$a;)Lb/n$a;
|
|
|
|
.locals 2
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lb/n$a;->bCp:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v1, "factory == null"
|
|
|
|
|
|
|
|
invoke-static {p1, v1}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/t;)Lb/n$a;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "client == null"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Lokhttp3/e$a;
|
|
|
|
|
|
|
|
const-string v0, "factory == null"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Lokhttp3/e$a;
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iput-object p1, p0, Lb/n$a;->bCo:Lokhttp3/e$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
.method public final eK(Ljava/lang/String;)Lb/n$a;
|
2019-05-03 18:53:54 +00:00
|
|
|
.locals 2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v0, "baseUrl == null"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
invoke-static {p1}, Lokhttp3/s;->dQ(Ljava/lang/String;)Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
move-result-object v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
if-eqz v1, :cond_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-static {v1, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object p1, v1, Lokhttp3/s;->boJ:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
move-result v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
add-int/lit8 v0, v0, -0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string v0, ""
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iput-object v1, p0, Lb/n$a;->bCd:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "baseUrl must end in /: "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v1, "Illegal URL: "
|
|
|
|
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|