apkfuckery/com.discord/smali_classes2/okhttp3/w.smali

988 lines
23 KiB
Smali
Raw Normal View History

2019-11-28 00:30:53 +00:00
.class public Lokhttp3/w;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2019-11-28 00:30:53 +00:00
.source "OkHttpClient.kt"
# interfaces
.implements Ljava/lang/Cloneable;
.implements Lokhttp3/f$a;
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2019-11-28 00:30:53 +00:00
Lokhttp3/w$a;,
Lokhttp3/w$b;
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-11-28 00:30:53 +00:00
# static fields
2019-12-04 22:43:03 +00:00
.field private static final cpf:Ljava/util/List;
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/x;",
">;"
}
.end annotation
.end field
2019-12-04 22:43:03 +00:00
.field private static final cpg:Ljava/util/List;
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/l;",
">;"
}
.end annotation
.end field
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
.field public static final cph:Lokhttp3/w$b;
2019-10-09 23:16:36 +00:00
2019-11-28 00:30:53 +00:00
# instance fields
2019-12-04 22:43:03 +00:00
.field public final aXE:Ljavax/net/ssl/HostnameVerifier;
2019-12-03 21:42:56 +00:00
2019-12-04 22:43:03 +00:00
.field public final cjE:Ljava/util/List;
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/x;",
">;"
}
.end annotation
.end field
2019-12-04 22:43:03 +00:00
.field public final cjF:Ljava/util/List;
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/l;",
">;"
}
2019-10-09 23:16:36 +00:00
.end annotation
.end field
2019-12-04 22:43:03 +00:00
.field public final cjG:Lokhttp3/q;
.field public final cjH:Ljavax/net/SocketFactory;
2019-10-09 23:16:36 +00:00
2019-12-04 22:43:03 +00:00
.field public final cjI:Lokhttp3/h;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final cjJ:Lokhttp3/b;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final cjK:Ljava/net/Proxy;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final cjL:Ljava/net/ProxySelector;
.field final ckE:Lokhttp3/internal/i/c;
.field final coO:Lokhttp3/p;
.field public final coP:Lokhttp3/k;
.field final coQ:Ljava/util/List;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-11-28 00:30:53 +00:00
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
2019-12-04 22:43:03 +00:00
.field final coR:Ljava/util/List;
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
2019-07-24 11:27:29 +00:00
.end annotation
.end field
2019-12-04 22:43:03 +00:00
.field public final coS:Lokhttp3/s$c;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final coT:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final coU:Lokhttp3/b;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final coV:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final coW:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field final coX:Lokhttp3/d;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final coY:Ljavax/net/ssl/SSLSocketFactory;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field final coZ:Ljavax/net/ssl/X509TrustManager;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final cookieJar:Lokhttp3/n;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final cpa:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field final cpb:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field final cpc:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field final cpd:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field public final cpe:I
2019-11-28 00:30:53 +00:00
2019-07-24 11:27:29 +00:00
# direct methods
2019-11-28 00:30:53 +00:00
.method static constructor <clinit>()V
.locals 5
new-instance v0, Lokhttp3/w$b;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lokhttp3/w$b;-><init>(B)V
2019-12-04 22:43:03 +00:00
sput-object v0, Lokhttp3/w;->cph:Lokhttp3/w$b;
2019-11-28 00:30:53 +00:00
const/4 v0, 0x2
new-array v2, v0, [Lokhttp3/x;
2019-12-04 22:43:03 +00:00
sget-object v3, Lokhttp3/x;->cpr:Lokhttp3/x;
2019-11-28 00:30:53 +00:00
aput-object v3, v2, v1
2019-12-04 22:43:03 +00:00
sget-object v3, Lokhttp3/x;->cpp:Lokhttp3/x;
2019-11-28 00:30:53 +00:00
const/4 v4, 0x1
aput-object v3, v2, v4
2019-12-04 22:43:03 +00:00
invoke-static {v2}, Lokhttp3/internal/b;->e([Ljava/lang/Object;)Ljava/util/List;
2019-11-28 00:30:53 +00:00
move-result-object v2
2019-12-04 22:43:03 +00:00
sput-object v2, Lokhttp3/w;->cpf:Ljava/util/List;
2019-11-28 00:30:53 +00:00
new-array v0, v0, [Lokhttp3/l;
2019-12-04 22:43:03 +00:00
sget-object v2, Lokhttp3/l;->cnk:Lokhttp3/l;
2019-11-28 00:30:53 +00:00
aput-object v2, v0, v1
2019-12-04 22:43:03 +00:00
sget-object v1, Lokhttp3/l;->cnm:Lokhttp3/l;
2019-11-28 00:30:53 +00:00
aput-object v1, v0, v4
2019-12-04 22:43:03 +00:00
invoke-static {v0}, Lokhttp3/internal/b;->e([Ljava/lang/Object;)Ljava/util/List;
2019-11-28 00:30:53 +00:00
move-result-object v0
2019-12-04 22:43:03 +00:00
sput-object v0, Lokhttp3/w;->cpg:Ljava/util/List;
2019-11-28 00:30:53 +00:00
return-void
.end method
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 1
2019-11-28 00:30:53 +00:00
new-instance v0, Lokhttp3/w$a;
invoke-direct {v0}, Lokhttp3/w$a;-><init>()V
invoke-direct {p0, v0}, Lokhttp3/w;-><init>(Lokhttp3/w$a;)V
return-void
.end method
.method public constructor <init>(Lokhttp3/w$a;)V
.locals 3
const-string v0, "builder"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->coO:Lokhttp3/p;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coO:Lokhttp3/p;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->coP:Lokhttp3/k;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coP:Lokhttp3/k;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->coQ:Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
invoke-static {v0}, Lokhttp3/internal/b;->am(Ljava/util/List;)Ljava/util/List;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coQ:Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->coR:Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
invoke-static {v0}, Lokhttp3/internal/b;->am(Ljava/util/List;)Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coR:Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->coS:Lokhttp3/s$c;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coS:Lokhttp3/s$c;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-boolean v0, p1, Lokhttp3/w$a;->coT:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-boolean v0, p0, Lokhttp3/w;->coT:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->coU:Lokhttp3/b;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coU:Lokhttp3/b;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-boolean v0, p1, Lokhttp3/w$a;->coV:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-boolean v0, p0, Lokhttp3/w;->coV:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-boolean v0, p1, Lokhttp3/w$a;->coW:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-boolean v0, p0, Lokhttp3/w;->coW:Z
2019-11-28 00:30:53 +00:00
iget-object v0, p1, Lokhttp3/w$a;->cookieJar:Lokhttp3/n;
iput-object v0, p0, Lokhttp3/w;->cookieJar:Lokhttp3/n;
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->coX:Lokhttp3/d;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coX:Lokhttp3/d;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->cjG:Lokhttp3/q;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->cjG:Lokhttp3/q;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->cjK:Ljava/net/Proxy;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->cjK:Ljava/net/Proxy;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->cjK:Ljava/net/Proxy;
2019-11-28 00:30:53 +00:00
if-eqz v0, :cond_0
2019-12-04 22:43:03 +00:00
sget-object v0, Lokhttp3/internal/h/a;->cwi:Lokhttp3/internal/h/a;
2019-11-28 00:30:53 +00:00
check-cast v0, Ljava/net/ProxySelector;
goto :goto_0
:cond_0
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->cjL:Ljava/net/ProxySelector;
2019-11-28 00:30:53 +00:00
if-nez v0, :cond_1
invoke-static {}, Ljava/net/ProxySelector;->getDefault()Ljava/net/ProxySelector;
move-result-object v0
:cond_1
if-nez v0, :cond_2
2019-12-04 22:43:03 +00:00
sget-object v0, Lokhttp3/internal/h/a;->cwi:Lokhttp3/internal/h/a;
2019-11-28 00:30:53 +00:00
check-cast v0, Ljava/net/ProxySelector;
:cond_2
:goto_0
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->cjL:Ljava/net/ProxySelector;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->cjJ:Lokhttp3/b;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->cjJ:Lokhttp3/b;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->cjH:Ljavax/net/SocketFactory;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->cjH:Ljavax/net/SocketFactory;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->cjF:Ljava/util/List;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->cjF:Ljava/util/List;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->cjE:Ljava/util/List;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->cjE:Ljava/util/List;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->aXE:Ljavax/net/ssl/HostnameVerifier;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->aXE:Ljavax/net/ssl/HostnameVerifier;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget v0, p1, Lokhttp3/w$a;->cpj:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput v0, p0, Lokhttp3/w;->cpa:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget v0, p1, Lokhttp3/w$a;->cpk:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput v0, p0, Lokhttp3/w;->cpb:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget v0, p1, Lokhttp3/w$a;->cpl:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput v0, p0, Lokhttp3/w;->cpc:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget v0, p1, Lokhttp3/w$a;->cpm:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput v0, p0, Lokhttp3/w;->cpd:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget v0, p1, Lokhttp3/w$a;->cpn:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput v0, p0, Lokhttp3/w;->cpe:I
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->coY:Ljavax/net/ssl/SSLSocketFactory;
2019-11-28 00:30:53 +00:00
const/4 v1, 0x1
if-nez v0, :cond_9
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/w;->cjF:Ljava/util/List;
2019-11-28 00:30:53 +00:00
check-cast v0, Ljava/lang/Iterable;
instance-of v2, v0, Ljava/util/Collection;
if-eqz v2, :cond_3
move-object v2, v0
check-cast v2, Ljava/util/Collection;
invoke-interface {v2}, Ljava/util/Collection;->isEmpty()Z
move-result v2
if-nez v2, :cond_5
:cond_3
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_4
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_5
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lokhttp3/l;
2019-12-04 22:43:03 +00:00
iget-boolean v2, v2, Lokhttp3/l;->cnd:Z
2019-11-28 00:30:53 +00:00
if-eqz v2, :cond_4
const/4 v0, 0x0
goto :goto_1
:cond_5
const/4 v0, 0x1
:goto_1
if-eqz v0, :cond_6
goto :goto_2
:cond_6
2019-12-04 22:43:03 +00:00
sget-object v0, Lokhttp3/internal/g/f;->cvS:Lokhttp3/internal/g/f$a;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
invoke-static {}, Lokhttp3/internal/g/f;->St()Lokhttp3/internal/g/f;
2019-11-28 00:30:53 +00:00
move-result-object v0
2019-12-04 22:43:03 +00:00
invoke-virtual {v0}, Lokhttp3/internal/g/f;->Sp()Ljavax/net/ssl/X509TrustManager;
2019-11-28 00:30:53 +00:00
move-result-object v0
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coZ:Ljavax/net/ssl/X509TrustManager;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
sget-object v0, Lokhttp3/internal/g/f;->cvS:Lokhttp3/internal/g/f$a;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
invoke-static {}, Lokhttp3/internal/g/f;->St()Lokhttp3/internal/g/f;
2019-11-28 00:30:53 +00:00
move-result-object v0
2019-12-04 22:43:03 +00:00
iget-object v2, p0, Lokhttp3/w;->coZ:Ljavax/net/ssl/X509TrustManager;
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v2}, Lokhttp3/internal/g/f;->d(Ljavax/net/ssl/X509TrustManager;)V
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/w;->coZ:Ljavax/net/ssl/X509TrustManager;
2019-11-28 00:30:53 +00:00
if-nez v0, :cond_7
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
:cond_7
invoke-static {v0}, Lokhttp3/w$b;->a(Ljavax/net/ssl/X509TrustManager;)Ljavax/net/ssl/SSLSocketFactory;
move-result-object v0
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coY:Ljavax/net/ssl/SSLSocketFactory;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
sget-object v0, Lokhttp3/internal/i/c;->cwu:Lokhttp3/internal/i/c$a;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/w;->coZ:Ljavax/net/ssl/X509TrustManager;
2019-11-28 00:30:53 +00:00
if-nez v0, :cond_8
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
:cond_8
invoke-static {v0}, Lokhttp3/internal/i/c$a;->e(Ljavax/net/ssl/X509TrustManager;)Lokhttp3/internal/i/c;
move-result-object v0
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->ckE:Lokhttp3/internal/i/c;
2019-11-28 00:30:53 +00:00
goto :goto_3
:cond_9
:goto_2
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->coY:Ljavax/net/ssl/SSLSocketFactory;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coY:Ljavax/net/ssl/SSLSocketFactory;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->ckE:Lokhttp3/internal/i/c;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->ckE:Lokhttp3/internal/i/c;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p1, Lokhttp3/w$a;->cpi:Ljavax/net/ssl/X509TrustManager;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-object v0, p0, Lokhttp3/w;->coZ:Ljavax/net/ssl/X509TrustManager;
2019-11-28 00:30:53 +00:00
:goto_3
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/w;->coY:Ljavax/net/ssl/SSLSocketFactory;
2019-11-28 00:30:53 +00:00
if-eqz v0, :cond_a
2019-12-04 22:43:03 +00:00
sget-object v0, Lokhttp3/internal/g/f;->cvS:Lokhttp3/internal/g/f$a;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
invoke-static {}, Lokhttp3/internal/g/f;->St()Lokhttp3/internal/g/f;
2019-11-28 00:30:53 +00:00
move-result-object v0
2019-12-04 22:43:03 +00:00
iget-object v2, p0, Lokhttp3/w;->coY:Ljavax/net/ssl/SSLSocketFactory;
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v2}, Lokhttp3/internal/g/f;->a(Ljavax/net/ssl/SSLSocketFactory;)V
:cond_a
2019-12-04 22:43:03 +00:00
iget-object p1, p1, Lokhttp3/w$a;->cjI:Lokhttp3/h;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/w;->ckE:Lokhttp3/internal/i/c;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v2, p1, Lokhttp3/h;->ckE:Lokhttp3/internal/i/c;
2019-11-28 00:30:53 +00:00
invoke-static {v2, v0}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_b
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
goto :goto_4
:cond_b
new-instance v2, Lokhttp3/h;
2019-12-04 22:43:03 +00:00
iget-object p1, p1, Lokhttp3/h;->ckD:Ljava/util/Set;
2019-11-28 00:30:53 +00:00
invoke-direct {v2, p1, v0}, Lokhttp3/h;-><init>(Ljava/util/Set;Lokhttp3/internal/i/c;)V
move-object p1, v2
:goto_4
2019-12-04 22:43:03 +00:00
iput-object p1, p0, Lokhttp3/w;->cjI:Lokhttp3/h;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object p1, p0, Lokhttp3/w;->coQ:Ljava/util/List;
2019-11-28 00:30:53 +00:00
const-string v0, "null cannot be cast to non-null type kotlin.collections.List<okhttp3.Interceptor?>"
if-eqz p1, :cond_f
const/4 v2, 0x0
invoke-interface {p1, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result p1
xor-int/2addr p1, v1
if-eqz p1, :cond_e
2019-12-04 22:43:03 +00:00
iget-object p1, p0, Lokhttp3/w;->coR:Ljava/util/List;
2019-11-28 00:30:53 +00:00
if-eqz p1, :cond_d
invoke-interface {p1, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result p1
xor-int/2addr p1, v1
if-eqz p1, :cond_c
2019-07-24 11:27:29 +00:00
return-void
2019-11-28 00:30:53 +00:00
:cond_c
new-instance p1, Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "Null network interceptor: "
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/w;->coR:Ljava/util/List;
2019-11-28 00:30:53 +00:00
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
:cond_d
new-instance p1, Lkotlin/r;
invoke-direct {p1, v0}, Lkotlin/r;-><init>(Ljava/lang/String;)V
throw p1
:cond_e
new-instance p1, Ljava/lang/StringBuilder;
const-string v0, "Null interceptor: "
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/w;->coQ:Ljava/util/List;
2019-11-28 00:30:53 +00:00
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
:cond_f
new-instance p1, Lkotlin/r;
invoke-direct {p1, v0}, Lkotlin/r;-><init>(Ljava/lang/String;)V
throw p1
.end method
2019-12-04 22:43:03 +00:00
.method public static final synthetic QK()Ljava/util/List;
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-04 22:43:03 +00:00
sget-object v0, Lokhttp3/w;->cpf:Ljava/util/List;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2019-12-04 22:43:03 +00:00
.method public static final synthetic QL()Ljava/util/List;
2019-10-09 23:16:36 +00:00
.locals 1
2019-12-04 22:43:03 +00:00
sget-object v0, Lokhttp3/w;->cpg:Ljava/util/List;
2019-10-09 23:16:36 +00:00
return-object v0
.end method
2019-11-28 00:30:53 +00:00
.method public static final synthetic a(Lokhttp3/w;)Ljavax/net/ssl/SSLSocketFactory;
.locals 0
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object p0, p0, Lokhttp3/w;->coY:Ljavax/net/ssl/SSLSocketFactory;
2019-11-28 00:30:53 +00:00
return-object p0
.end method
# virtual methods
2019-12-04 22:43:03 +00:00
.method public final QJ()Lokhttp3/p;
2019-11-28 00:30:53 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/w;->coO:Lokhttp3/p;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2019-11-28 00:30:53 +00:00
.method public final a(Lokhttp3/z;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;
.locals 7
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "request"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "listener"
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lokhttp3/internal/j/a;
new-instance v4, Ljava/util/Random;
invoke-direct {v4}, Ljava/util/Random;-><init>()V
2019-12-04 22:43:03 +00:00
iget v1, p0, Lokhttp3/w;->cpe:I
2019-11-28 00:30:53 +00:00
int-to-long v5, v1
move-object v1, v0
move-object v2, p1
move-object v3, p2
invoke-direct/range {v1 .. v6}, Lokhttp3/internal/j/a;-><init>(Lokhttp3/z;Lokhttp3/WebSocketListener;Ljava/util/Random;J)V
const-string p1, "client"
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance p1, Lokhttp3/w$a;
invoke-direct {p1, p0}, Lokhttp3/w$a;-><init>(Lokhttp3/w;)V
2019-12-04 22:43:03 +00:00
sget-object p2, Lokhttp3/s;->cnM:Lokhttp3/s;
2019-11-28 00:30:53 +00:00
const-string v1, "eventListener"
invoke-static {p2, v1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Lokhttp3/w$a;
invoke-static {p2}, Lokhttp3/internal/b;->a(Lokhttp3/s;)Lokhttp3/s$c;
move-result-object p2
2019-12-04 22:43:03 +00:00
iput-object p2, p1, Lokhttp3/w$a;->coS:Lokhttp3/s$c;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
sget-object p2, Lokhttp3/internal/j/a;->cwN:Ljava/util/List;
2019-11-28 00:30:53 +00:00
const-string v1, "protocols"
invoke-static {p2, v1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Lokhttp3/w$a;
move-object v1, p2
check-cast v1, Ljava/util/Collection;
invoke-static {v1}, Lkotlin/a/m;->toMutableList(Ljava/util/Collection;)Ljava/util/List;
move-result-object v1
2019-12-04 22:43:03 +00:00
sget-object v2, Lokhttp3/x;->cps:Lokhttp3/x;
2019-11-28 00:30:53 +00:00
invoke-interface {v1, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v2
const/4 v3, 0x0
const/4 v4, 0x1
if-nez v2, :cond_1
2019-12-04 22:43:03 +00:00
sget-object v2, Lokhttp3/x;->cpp:Lokhttp3/x;
2019-11-28 00:30:53 +00:00
invoke-interface {v1, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_0
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
2019-11-28 00:30:53 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_1
:goto_0
const/4 v2, 0x1
:goto_1
if-eqz v2, :cond_9
2019-12-04 22:43:03 +00:00
sget-object v2, Lokhttp3/x;->cps:Lokhttp3/x;
2019-11-28 00:30:53 +00:00
invoke-interface {v1, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v2
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-eqz v2, :cond_2
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v2
if-gt v2, v4, :cond_3
:cond_2
const/4 v3, 0x1
:cond_3
if-eqz v3, :cond_8
2019-12-04 22:43:03 +00:00
sget-object v2, Lokhttp3/x;->cpo:Lokhttp3/x;
2019-11-28 00:30:53 +00:00
invoke-interface {v1, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v2
xor-int/2addr v2, v4
if-eqz v2, :cond_7
if-eqz v1, :cond_6
const/4 v2, 0x0
invoke-interface {v1, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v2
xor-int/2addr v2, v4
if-eqz v2, :cond_5
2019-12-04 22:43:03 +00:00
sget-object v2, Lokhttp3/x;->cpq:Lokhttp3/x;
2019-11-28 00:30:53 +00:00
invoke-interface {v1, v2}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
invoke-static {p2}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p2
const-string v1, "Collections.unmodifiableList(protocols)"
invoke-static {p2, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-04 22:43:03 +00:00
iput-object p2, p1, Lokhttp3/w$a;->cjE:Ljava/util/List;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
invoke-virtual {p1}, Lokhttp3/w$a;->QM()Lokhttp3/w;
2019-11-28 00:30:53 +00:00
move-result-object p1
2019-12-04 22:43:03 +00:00
iget-object p2, v0, Lokhttp3/internal/j/a;->cpz:Lokhttp3/z;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
invoke-virtual {p2}, Lokhttp3/z;->QQ()Lokhttp3/z$a;
2019-11-28 00:30:53 +00:00
move-result-object p2
const-string v1, "Upgrade"
const-string v2, "websocket"
2019-12-04 22:43:03 +00:00
invoke-virtual {p2, v1, v2}, Lokhttp3/z$a;->aq(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/z$a;
2019-11-28 00:30:53 +00:00
move-result-object p2
const-string v2, "Connection"
2019-12-04 22:43:03 +00:00
invoke-virtual {p2, v2, v1}, Lokhttp3/z$a;->aq(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/z$a;
2019-11-28 00:30:53 +00:00
move-result-object p2
iget-object v1, v0, Lokhttp3/internal/j/a;->key:Ljava/lang/String;
const-string v2, "Sec-WebSocket-Key"
2019-12-04 22:43:03 +00:00
invoke-virtual {p2, v2, v1}, Lokhttp3/z$a;->aq(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/z$a;
2019-11-28 00:30:53 +00:00
move-result-object p2
const-string v1, "Sec-WebSocket-Version"
const-string v2, "13"
2019-12-04 22:43:03 +00:00
invoke-virtual {p2, v1, v2}, Lokhttp3/z$a;->aq(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/z$a;
2019-11-28 00:30:53 +00:00
move-result-object p2
2019-12-04 22:43:03 +00:00
invoke-virtual {p2}, Lokhttp3/z$a;->QV()Lokhttp3/z;
2019-11-28 00:30:53 +00:00
move-result-object p2
2019-12-04 22:43:03 +00:00
sget-object v1, Lokhttp3/y;->cpB:Lokhttp3/y$b;
2019-11-28 00:30:53 +00:00
invoke-static {p1, p2, v4}, Lokhttp3/y$b;->a(Lokhttp3/w;Lokhttp3/z;Z)Lokhttp3/y;
move-result-object p1
check-cast p1, Lokhttp3/f;
2019-12-04 22:43:03 +00:00
iput-object p1, v0, Lokhttp3/internal/j/a;->crB:Lokhttp3/f;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object p1, v0, Lokhttp3/internal/j/a;->crB:Lokhttp3/f;
2019-11-28 00:30:53 +00:00
if-nez p1, :cond_4
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
:cond_4
new-instance v1, Lokhttp3/internal/j/a$g;
invoke-direct {v1, v0, p2}, Lokhttp3/internal/j/a$g;-><init>(Lokhttp3/internal/j/a;Lokhttp3/z;)V
check-cast v1, Lokhttp3/g;
invoke-interface {p1, v1}, Lokhttp3/f;->a(Lokhttp3/g;)V
check-cast v0, Lokhttp3/WebSocket;
2019-07-24 11:27:29 +00:00
return-object v0
2019-11-28 00:30:53 +00:00
:cond_5
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "protocols must not contain null"
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
:cond_6
new-instance p1, Lkotlin/r;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string p2, "null cannot be cast to non-null type kotlin.collections.List<okhttp3.Protocol?>"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {p1, p2}, Lkotlin/r;-><init>(Ljava/lang/String;)V
throw p1
:cond_7
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-11-28 00:30:53 +00:00
const-string p2, "protocols must not contain http/1.0: "
invoke-virtual {p2, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p2, Ljava/lang/Throwable;
throw p2
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_8
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object p1
const-string p2, "protocols containing h2_prior_knowledge cannot use other protocols: "
invoke-virtual {p2, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p2, Ljava/lang/Throwable;
throw p2
:cond_9
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
const-string p2, "protocols must contain h2_prior_knowledge or http/1.1: "
invoke-virtual {p2, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast p2, Ljava/lang/Throwable;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
throw p2
.end method
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
.method public final c(Lokhttp3/z;)Lokhttp3/f;
.locals 1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "request"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
sget-object v0, Lokhttp3/y;->cpB:Lokhttp3/y$b;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p0, p1, v0}, Lokhttp3/y$b;->a(Lokhttp3/w;Lokhttp3/z;Z)Lokhttp3/y;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast p1, Lokhttp3/f;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-object p1
.end method
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
.method public clone()Ljava/lang/Object;
.locals 1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v0
return-object v0
.end method