2020-04-17 16:36:30 +00:00
|
|
|
.class public Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Request.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-04-17 16:36:30 +00:00
|
|
|
value = Lc0/y;
|
2019-12-06 03:29:40 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x9
|
|
|
|
name = "a"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-04-17 16:36:30 +00:00
|
|
|
.field public a:Lc0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public b:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public c:Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
.field public d:Lokhttp3/RequestBody;
|
|
|
|
|
|
|
|
.field public e:Ljava/util/Map;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"*>;",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object v0, p0, Lc0/y$a;->e:Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string v0, "GET"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object v0, p0, Lc0/y$a;->b:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lokhttp3/Headers$a;-><init>()V
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object v0, p0, Lc0/y$a;->c:Lokhttp3/Headers$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
.method public constructor <init>(Lc0/y;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object v0, p0, Lc0/y$a;->e:Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v0, p1, Lc0/y;->b:Lc0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object v0, p0, Lc0/y$a;->a:Lc0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v0, p1, Lc0/y;->c:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object v0, p0, Lc0/y$a;->b:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v0, p1, Lc0/y;->e:Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object v0, p0, Lc0/y$a;->d:Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v0, p1, Lc0/y;->f:Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v0, p1, Lc0/y;->f:Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {v0}, Ly/q/l;->toMutableMap(Ljava/util/Map;)Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:goto_0
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object v0, p0, Lc0/y$a;->e:Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object p1, p1, Lc0/y;->d:Lokhttp3/Headers;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/Headers;->g()Lokhttp3/Headers$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object p1, p0, Lc0/y$a;->c:Lokhttp3/Headers$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "request"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-04-17 16:36:30 +00:00
|
|
|
.method public a(Lc0/u;)Lc0/y$a;
|
2020-03-14 02:12:46 +00:00
|
|
|
.locals 0
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
if-eqz p1, :cond_0
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object p1, p0, Lc0/y$a;->a:Lc0/u;
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
return-object p0
|
2020-03-14 02:12:46 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "url"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 02:12:46 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
2020-02-20 19:33:18 +00:00
|
|
|
.end method
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
.method public a(Ljava/lang/String;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v0, p0, Lc0/y$a;->c:Lokhttp3/Headers$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lokhttp3/Headers$a;->a(Ljava/lang/String;)Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "name"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
.method public a(Ljava/lang/String;Ljava/lang/String;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v0, p0, Lc0/y$a;->c:Lokhttp3/Headers$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Lokhttp3/Headers$a;->a(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "value"
|
|
|
|
|
2020-04-17 16:36:30 +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_1
|
|
|
|
const-string p1, "name"
|
|
|
|
|
2020-04-17 16:36:30 +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
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
.method public a(Ljava/lang/String;Lokhttp3/RequestBody;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 2
|
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
if-eqz p1, :cond_5
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
|
|
|
|
const-string v0, "method "
|
|
|
|
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1}, Lc0/c0/d/f;->b(Ljava/lang/String;)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
xor-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p2, " must have a request body."
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {v0, p1, p2}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
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_2
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1}, Lc0/c0/d/f;->a(Ljava/lang/String;)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
|
|
|
|
:goto_1
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object p1, p0, Lc0/y$a;->b:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object p2, p0, Lc0/y$a;->d:Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p2, " must not have a request body."
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {v0, p1, p2}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
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_4
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string p2, "method.isEmpty() == true"
|
|
|
|
|
|
|
|
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
|
2020-03-14 02:12:46 +00:00
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p1, "method"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 02:12:46 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
2019-12-06 03:29:40 +00:00
|
|
|
.end method
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
.method public a(Lokhttp3/Headers;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/Headers;->g()Lokhttp3/Headers$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iput-object p1, p0, Lc0/y$a;->c:Lokhttp3/Headers$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "headers"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
.method public a()Lc0/y;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 7
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v1, p0, Lc0/y$a;->a:Lc0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v2, p0, Lc0/y$a;->b:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v0, p0, Lc0/y$a;->c:Lokhttp3/Headers$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokhttp3/Headers$a;->a()Lokhttp3/Headers;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v4, p0, Lc0/y$a;->d:Lokhttp3/RequestBody;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v0, p0, Lc0/y$a;->e:Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {v0}, Lc0/c0/a;->a(Ljava/util/Map;)Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
new-instance v6, Lc0/y;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-object v0, v6
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-direct/range {v0 .. v5}, Lc0/y;-><init>(Lc0/u;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object v6
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "url == null"
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
.method public b(Ljava/lang/String;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
const-string v1, "ws:"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1, v1, v0}, Ly/a0/p;->startsWith(Ljava/lang/String;Ljava/lang/String;Z)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const-string v2, "(this as java.lang.String).substring(startIndex)"
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
const-string v0, "http:"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x3
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1, v2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string v1, "wss:"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1, v1, v0}, Ly/a0/p;->startsWith(Ljava/lang/String;Ljava/lang/String;Z)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
const-string v0, "https:"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x4
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1, v2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2020-04-17 16:36:30 +00:00
|
|
|
sget-object v0, Lc0/u;->l:Lc0/u$b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-virtual {v0, p1}, Lc0/u$b;->b(Ljava/lang/String;)Lc0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-virtual {p0, p1}, Lc0/y$a;->a(Lc0/u;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p1, "url"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
.method public b(Ljava/lang/String;Ljava/lang/String;)Lc0/y$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
const/4 v0, 0x0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
if-eqz p2, :cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
iget-object v0, p0, Lc0/y$a;->c:Lokhttp3/Headers$a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Lokhttp3/Headers$a;->c(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
return-object p0
|
2020-03-14 02:12:46 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "value"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 02:12:46 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "name"
|
|
|
|
|
2020-04-17 16:36:30 +00:00
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 02:12:46 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-12-06 03:29:40 +00:00
|
|
|
.end method
|