2019-11-28 00:30:53 +00:00
|
|
|
.class public final Lokhttp3/z$a;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Request.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lokhttp3/z;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x9
|
|
|
|
name = "a"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-03 21:42:56 +00:00
|
|
|
.field private bnw:Lokhttp3/v;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
.field private bsI:Lokhttp3/RequestBody;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
.field private btC:Ljava/lang/String;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
.field private btD:Ljava/util/Map;
|
2019-11-28 00:30:53 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"*>;",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
.field private btE:Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/z$a;->btD:Ljava/util/Map;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
const-string v0, "GET"
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/z$a;->btC:Ljava/lang/String;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lokhttp3/Headers$a;-><init>()V
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/z$a;->btE:Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Lokhttp3/z;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "request"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/z$a;->btD:Ljava/util/Map;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/z;->bnw:Lokhttp3/v;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/z$a;->bnw:Lokhttp3/v;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/z;->btC:Ljava/lang/String;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/z$a;->btC:Ljava/lang/String;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/z;->bsI:Lokhttp3/RequestBody;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/z$a;->bsI:Lokhttp3/RequestBody;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/z;->btD:Ljava/util/Map;
|
2019-11-28 00:30:53 +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
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/z;->btD:Ljava/util/Map;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lkotlin/a/ad;->toMutableMap(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:goto_0
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/z$a;->btD:Ljava/util/Map;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/z;->bsH:Lokhttp3/Headers;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/Headers;->FM()Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/z$a;->btE:Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-03 21:42:56 +00:00
|
|
|
.method public final Gs()Lokhttp3/z;
|
2019-11-28 00:30:53 +00:00
|
|
|
.locals 7
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/z$a;->bnw:Lokhttp3/v;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v2, p0, Lokhttp3/z$a;->btC:Ljava/lang/String;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/z$a;->btE:Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/Headers$a;->FN()Lokhttp3/Headers;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v4, p0, Lokhttp3/z$a;->bsI:Lokhttp3/RequestBody;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/z$a;->btD:Ljava/util/Map;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lokhttp3/internal/b;->p(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
new-instance v6, Lokhttp3/z;
|
|
|
|
|
|
|
|
move-object v0, v6
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v5}, Lokhttp3/z;-><init>(Lokhttp3/v;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Ljava/lang/String;Lokhttp3/RequestBody;)Lokhttp3/z$a;
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
const-string v0, "method"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/z$a;
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-lez v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
|
|
|
|
const-string v1, "method "
|
|
|
|
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
|
|
|
|
invoke-static {p1}, Lokhttp3/internal/c/f;->eh(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
xor-int/2addr v2, v3
|
|
|
|
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p1, " must have a request body."
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, 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
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-static {p1}, Lokhttp3/internal/c/f;->ei(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
|
|
|
:goto_1
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object p1, v0, Lokhttp3/z$a;->btC:Ljava/lang/String;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object p2, v0, Lokhttp3/z$a;->bsI:Lokhttp3/RequestBody;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p1, " must not have a request body."
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, 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
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final am(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/z$a;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const-string v0, "name"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v0, "value"
|
|
|
|
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/z$a;
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v1, v0, Lokhttp3/z$a;->btE:Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, p1, p2}, Lokhttp3/Headers$a;->ai(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final an(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/z$a;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const-string v0, "name"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v0, "value"
|
|
|
|
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/z$a;
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v1, v0, Lokhttp3/z$a;->btE:Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, p1, p2}, Lokhttp3/Headers$a;->ag(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final c(Lokhttp3/Headers;)Lokhttp3/z$a;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "headers"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/z$a;
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/Headers;->FM()Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object p1, v0, Lokhttp3/z$a;->btE:Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final d(Lokhttp3/v;)Lokhttp3/z$a;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "url"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/z$a;
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object p1, v0, Lokhttp3/z$a;->bnw:Lokhttp3/v;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final dP(Ljava/lang/String;)Lokhttp3/z$a;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-string v0, "url"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
const-string v1, "ws:"
|
|
|
|
|
|
|
|
invoke-static {p1, v1, v0}, Lkotlin/text/l;->startsWith(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const-string v2, "(this as java.lang.String).substring(startIndex)"
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "http:"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const/4 v1, 0x3
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
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:"
|
|
|
|
|
|
|
|
invoke-static {p1, v1, v0}, Lkotlin/text/l;->startsWith(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "https:"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const/4 v1, 0x4
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
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
|
2019-12-03 21:42:56 +00:00
|
|
|
sget-object v0, Lokhttp3/v;->bse:Lokhttp3/v$b;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Lokhttp3/v$b;->dM(Ljava/lang/String;)Lokhttp3/v;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lokhttp3/z$a;->d(Lokhttp3/v;)Lokhttp3/z$a;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final dQ(Ljava/lang/String;)Lokhttp3/z$a;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const-string v0, "name"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/z$a;
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v1, v0, Lokhttp3/z$a;->btE:Lokhttp3/Headers$a;
|
2019-11-28 00:30:53 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, p1}, Lokhttp3/Headers$a;->dE(Ljava/lang/String;)Lokhttp3/Headers$a;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|