2020-03-27 22:23:51 +00:00
|
|
|
.class public Lc0/v;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "OkHttpClient.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/lang/Cloneable;
|
2020-03-27 22:23:51 +00:00
|
|
|
.implements Lc0/e$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
.implements Lokhttp3/WebSocket$a;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2020-03-27 22:23:51 +00:00
|
|
|
Lc0/v$a;,
|
|
|
|
Lc0/v$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final E:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
2020-03-27 22:23:51 +00:00
|
|
|
"Lc0/w;",
|
2019-12-06 03:29:40 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public static final F:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
2020-03-27 22:23:51 +00:00
|
|
|
"Lc0/k;",
|
2019-12-06 03:29:40 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public static final G:Lc0/v$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final A:I
|
|
|
|
|
|
|
|
.field public final B:I
|
|
|
|
|
|
|
|
.field public final C:I
|
|
|
|
|
|
|
|
.field public final D:I
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public final d:Lc0/o;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public final e:Lc0/j;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public final f:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lokhttp3/Interceptor;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final g:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lokhttp3/Interceptor;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public final h:Lc0/r$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public final i:Z
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public final j:Lc0/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public final k:Z
|
|
|
|
|
|
|
|
.field public final l:Z
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public final m:Lc0/n;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public final n:Lc0/q;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public final o:Ljava/net/Proxy;
|
|
|
|
|
|
|
|
.field public final p:Ljava/net/ProxySelector;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public final q:Lc0/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public final r:Ljavax/net/SocketFactory;
|
|
|
|
|
|
|
|
.field public final s:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
|
|
|
|
.field public final t:Ljavax/net/ssl/X509TrustManager;
|
|
|
|
|
|
|
|
.field public final u:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
2020-03-27 22:23:51 +00:00
|
|
|
"Lc0/k;",
|
2019-12-06 03:29:40 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final v:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
2020-03-27 22:23:51 +00:00
|
|
|
"Lc0/w;",
|
2019-12-06 03:29:40 +00:00
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final w:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public final x:Lc0/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.field public final y:Lc0/c0/i/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public final z:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 5
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v0, Lc0/v$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v0, v1}, Lc0/v$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sput-object v0, Lc0/v;->G:Lc0/v$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-array v1, v0, [Lc0/w;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v2, Lc0/w;->g:Lc0/w;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v2, Lc0/w;->e:Lc0/w;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
aput-object v2, v1, v4
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1}, Lc0/c0/a;->a([Ljava/lang/Object;)Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sput-object v1, Lc0/v;->E:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-array v0, v0, [Lc0/k;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Lc0/k;->g:Lc0/k;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Lc0/k;->h:Lc0/k;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
aput-object v1, v0, v4
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0}, Lc0/c0/a;->a([Ljava/lang/Object;)Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sput-object v0, Lc0/v;->F:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v0, Lc0/v$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v0}, Lc0/v$a;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {p0, v0}, Lc0/v;-><init>(Lc0/v$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.method public constructor <init>(Lc0/v$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_10
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->a:Lc0/o;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->d:Lc0/o;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->b:Lc0/j;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->e:Lc0/j;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->c:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1}, Lc0/c0/a;->b(Ljava/util/List;)Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->f:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->d:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1}, Lc0/c0/a;->b(Ljava/util/List;)Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->g:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->e:Lc0/r$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->h:Lc0/r$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-boolean v1, p1, Lc0/v$a;->f:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-boolean v1, p0, Lc0/v;->i:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->g:Lc0/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->j:Lc0/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-boolean v1, p1, Lc0/v$a;->h:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-boolean v1, p0, Lc0/v;->k:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-boolean v1, p1, Lc0/v$a;->i:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-boolean v1, p0, Lc0/v;->l:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->j:Lc0/n;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->m:Lc0/n;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->k:Lc0/q;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->n:Lc0/q;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->l:Ljava/net/Proxy;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->o:Ljava/net/Proxy;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Lc0/c0/h/a;->a:Lc0/c0/h/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->m:Ljava/net/ProxySelector;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-static {}, Ljava/net/ProxySelector;->getDefault()Ljava/net/ProxySelector;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Lc0/c0/h/a;->a:Lc0/c0/h/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_1
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->p:Ljava/net/ProxySelector;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->n:Lc0/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->q:Lc0/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->o:Ljavax/net/SocketFactory;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->r:Ljavax/net/SocketFactory;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->r:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->u:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->s:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->v:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->t:Ljavax/net/ssl/HostnameVerifier;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->w:Ljavax/net/ssl/HostnameVerifier;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget v1, p1, Lc0/v$a;->w:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput v1, p0, Lc0/v;->z:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget v1, p1, Lc0/v$a;->x:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput v1, p0, Lc0/v;->A:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget v1, p1, Lc0/v$a;->y:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput v1, p0, Lc0/v;->B:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget v1, p1, Lc0/v$a;->z:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput v1, p0, Lc0/v;->C:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget v1, p1, Lc0/v$a;->A:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput v1, p0, Lc0/v;->D:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->p:Ljavax/net/ssl/SSLSocketFactory;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_9
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p0, Lc0/v;->u:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
instance-of v2, v1, Ljava/util/Collection;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
check-cast v2, Lc0/k;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-boolean v2, v2, Lc0/k;->a:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-eqz v1, :cond_6
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_6
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Lc0/c0/g/f;->c:Lc0/c0/g/f$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1}, Lc0/c0/g/f$a;->b()Lc0/c0/g/f;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1}, Lc0/c0/g/f;->b()Ljavax/net/ssl/X509TrustManager;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->t:Ljavax/net/ssl/X509TrustManager;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Lc0/c0/g/f;->c:Lc0/c0/g/f$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1}, Lc0/c0/g/f$a;->b()Lc0/c0/g/f;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v2, p0, Lc0/v;->t:Ljavax/net/ssl/X509TrustManager;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1, v2}, Lc0/c0/g/f;->c(Ljavax/net/ssl/X509TrustManager;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Lc0/v;->G:Lc0/v$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v2, p0, Lc0/v;->t:Ljavax/net/ssl/X509TrustManager;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_8
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1, v2}, Lc0/v$b;->a(Ljavax/net/ssl/X509TrustManager;)Ljavax/net/ssl/SSLSocketFactory;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->s:Ljavax/net/ssl/SSLSocketFactory;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Lc0/c0/i/c;->a:Lc0/c0/i/c$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v2, p0, Lc0/v;->t:Ljavax/net/ssl/X509TrustManager;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1, v2}, Lc0/c0/i/c$a;->a(Ljavax/net/ssl/X509TrustManager;)Lc0/c0/i/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->y:Lc0/c0/i/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_7
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {}, Ly/u/b/j;->throwNpe()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_8
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {}, Ly/u/b/j;->throwNpe()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
:goto_4
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->p:Ljavax/net/ssl/SSLSocketFactory;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->s:Ljavax/net/ssl/SSLSocketFactory;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->v:Lc0/c0/i/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->y:Lc0/c0/i/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p1, Lc0/v$a;->q:Ljavax/net/ssl/X509TrustManager;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object v1, p0, Lc0/v;->t:Ljavax/net/ssl/X509TrustManager;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_5
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p0, Lc0/v;->s:Ljavax/net/ssl/SSLSocketFactory;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_a
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Lc0/c0/g/f;->c:Lc0/c0/g/f$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1}, Lc0/c0/g/f$a;->b()Lc0/c0/g/f;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v2, p0, Lc0/v;->s:Ljavax/net/ssl/SSLSocketFactory;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1, v2}, Lc0/c0/g/f;->a(Ljavax/net/ssl/SSLSocketFactory;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_a
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object p1, p1, Lc0/v$a;->u:Lc0/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, p0, Lc0/v;->y:Lc0/c0/i/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v2, p1, Lc0/g;->b:Lc0/c0/i/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_b
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_b
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Lc0/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object p1, p1, Lc0/g;->a:Ljava/util/Set;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, p1, v1}, Lc0/g;-><init>(Ljava/util/Set;Lc0/c0/i/c;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-object p1, v2
|
|
|
|
|
|
|
|
:goto_6
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object p1, p0, Lc0/v;->x:Lc0/g;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object p1, p0, Lc0/v;->f:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string v1, "null cannot be cast to non-null type kotlin.collections.List<okhttp3.Interceptor?>"
|
|
|
|
|
|
|
|
if-eqz p1, :cond_f
|
|
|
|
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
xor-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_e
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object p1, p0, Lc0/v;->g:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz p1, :cond_d
|
|
|
|
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
xor-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_c
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
const-string p1, "Null network interceptor: "
|
|
|
|
|
|
|
|
invoke-static {p1}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v0, p0, Lc0/v;->g:Ljava/util/List;
|
2019-12-06 03:29:40 +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
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_d
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance p1, Ly/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {p1, v1}, Ly/l;-><init>(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
const-string p1, "Null interceptor: "
|
|
|
|
|
|
|
|
invoke-static {p1}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v0, p0, Lc0/v;->f:Ljava/util/List;
|
2019-12-06 03:29:40 +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
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_f
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance p1, Ly/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {p1, v1}, Ly/l;-><init>(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
const-string p1, "builder"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-03-27 22:23:51 +00:00
|
|
|
.method public a(Lc0/y;)Lc0/e;
|
2020-02-20 19:33:18 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v0, Lc0/x;->i:Lc0/x$b;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v0, p0, p1, v1}, Lc0/x$b;->a(Lc0/v;Lc0/y;Z)Lc0/x;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "request"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
.method public a(Lc0/y;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 8
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_c
|
|
|
|
|
|
|
|
if-eqz p2, :cond_b
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v7, Lc0/c0/j/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
new-instance v4, Ljava/util/Random;
|
|
|
|
|
|
|
|
invoke-direct {v4}, Ljava/util/Random;-><init>()V
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget v1, p0, Lc0/v;->D:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
int-to-long v5, v1
|
|
|
|
|
|
|
|
move-object v1, v7
|
|
|
|
|
|
|
|
move-object v2, p1
|
|
|
|
|
|
|
|
move-object v3, p2
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct/range {v1 .. v6}, Lc0/c0/j/a;-><init>(Lc0/y;Lokhttp3/WebSocketListener;Ljava/util/Random;J)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance p1, Lc0/v$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {p1, p0}, Lc0/v$a;-><init>(Lc0/v;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object p2, Lc0/r;->a:Lc0/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_a
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p2}, Lc0/c0/a;->a(Lc0/r;)Lc0/r$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object p2, p1, Lc0/v$a;->e:Lc0/r$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object p2, Lc0/c0/j/a;->x:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_9
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p2}, Ly/q/l;->toMutableList(Ljava/util/Collection;)Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v2, Lc0/w;->h:Lc0/w;
|
2019-12-06 03:29:40 +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
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v2, Lc0/w;->e:Lc0/w;
|
2019-12-06 03:29:40 +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
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-eqz v2, :cond_8
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v2, Lc0/w;->h:Lc0/w;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
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_7
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v2, Lc0/w;->d:Lc0/w;
|
2019-12-06 03:29:40 +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_6
|
|
|
|
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
xor-int/2addr v2, v4
|
|
|
|
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v2, Lc0/w;->f:Lc0/w;
|
2019-12-06 03:29:40 +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)"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p2, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object p2, p1, Lc0/v$a;->s:Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance p2, Lc0/v;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {p2, p1}, Lc0/v;-><init>(Lc0/v$a;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object p1, v7, Lc0/c0/j/a;->t:Lc0/y;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1}, Lc0/y;->c()Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
const-string v1, "Upgrade"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
const-string v2, "websocket"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, v1, v2}, Lc0/y$a;->b(Ljava/lang/String;Ljava/lang/String;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
const-string v2, "Connection"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, v2, v1}, Lc0/y$a;->b(Ljava/lang/String;Ljava/lang/String;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object v1, v7, Lc0/c0/j/a;->a:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string v2, "Sec-WebSocket-Key"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, v2, v1}, Lc0/y$a;->b(Ljava/lang/String;Ljava/lang/String;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string v1, "Sec-WebSocket-Version"
|
|
|
|
|
|
|
|
const-string v2, "13"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1, v1, v2}, Lc0/y$a;->b(Ljava/lang/String;Ljava/lang/String;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p1}, Lc0/y$a;->a()Lc0/y;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Lc0/x;->i:Lc0/x$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v1, p2, p1, v4}, Lc0/x$b;->a(Lc0/v;Lc0/y;Z)Lc0/x;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-object p2, v7, Lc0/c0/j/a;->b:Lc0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-object p2, v7, Lc0/c0/j/a;->b:Lc0/e;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v0, Lc0/c0/j/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v0, v7, p1}, Lc0/c0/j/b;-><init>(Lc0/c0/j/a;Lc0/y;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
check-cast p2, Lc0/x;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {p2, v0}, Lc0/x;->a(Lc0/f;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v7
|
|
|
|
|
|
|
|
:cond_4
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {}, Ly/u/b/j;->throwNpe()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
: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
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string p2, "protocols must not contain http/1.0: "
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, 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 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
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string p2, "protocols containing h2_prior_knowledge cannot use other protocols: "
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, 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 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
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string p2, "protocols must contain h2_prior_knowledge or http/1.1: "
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, 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 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
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
const-string p1, "protocols"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
const-string p1, "eventListener"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
const-string p1, "listener"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
const-string p1, "request"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public clone()Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|