288 lines
7.1 KiB
Smali
288 lines
7.1 KiB
Smali
.class public final Lokhttp3/z;
|
|
.super Ljava/lang/Object;
|
|
.source "Request.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/z$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final bnw:Lokhttp3/v;
|
|
|
|
.field public final bsH:Lokhttp3/Headers;
|
|
|
|
.field public final bsI:Lokhttp3/RequestBody;
|
|
|
|
.field private btB:Lokhttp3/e;
|
|
|
|
.field public final btC:Ljava/lang/String;
|
|
|
|
.field final btD: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>(Lokhttp3/v;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lokhttp3/v;",
|
|
"Ljava/lang/String;",
|
|
"Lokhttp3/Headers;",
|
|
"Lokhttp3/RequestBody;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Class<",
|
|
"*>;+",
|
|
"Ljava/lang/Object;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "url"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "method"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "headers"
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "tags"
|
|
|
|
invoke-static {p5, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lokhttp3/z;->bnw:Lokhttp3/v;
|
|
|
|
iput-object p2, p0, Lokhttp3/z;->btC:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lokhttp3/z;->bsH:Lokhttp3/Headers;
|
|
|
|
iput-object p4, p0, Lokhttp3/z;->bsI:Lokhttp3/RequestBody;
|
|
|
|
iput-object p5, p0, Lokhttp3/z;->btD:Ljava/util/Map;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final Go()Lokhttp3/z$a;
|
|
.locals 1
|
|
|
|
new-instance v0, Lokhttp3/z$a;
|
|
|
|
invoke-direct {v0, p0}, Lokhttp3/z$a;-><init>(Lokhttp3/z;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final Gp()Lokhttp3/e;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/z;->btB:Lokhttp3/e;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
sget-object v0, Lokhttp3/e;->box:Lokhttp3/e$b;
|
|
|
|
iget-object v0, p0, Lokhttp3/z;->bsH:Lokhttp3/Headers;
|
|
|
|
invoke-static {v0}, Lokhttp3/e$b;->b(Lokhttp3/Headers;)Lokhttp3/e;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lokhttp3/z;->btB:Lokhttp3/e;
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final Gq()Lokhttp3/v;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/z;->bnw:Lokhttp3/v;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final Gr()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/z;->btC:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final dl(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "name"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lokhttp3/z;->bsH:Lokhttp3/Headers;
|
|
|
|
invoke-virtual {v0, p1}, Lokhttp3/Headers;->dB(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 6
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "Request{method="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lokhttp3/z;->btC:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", url="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lokhttp3/z;->bnw:Lokhttp3/v;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lokhttp3/z;->bsH:Lokhttp3/Headers;
|
|
|
|
iget-object v1, v1, Lokhttp3/Headers;->brU:[Ljava/lang/String;
|
|
|
|
array-length v1, v1
|
|
|
|
div-int/lit8 v1, v1, 0x2
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
const-string v1, ", headers=["
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lokhttp3/z;->bsH:Lokhttp3/Headers;
|
|
|
|
check-cast v1, Ljava/lang/Iterable;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
:goto_0
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
add-int/lit8 v4, v2, 0x1
|
|
|
|
if-gez v2, :cond_0
|
|
|
|
invoke-static {}, Lkotlin/a/m;->throwIndexOverflow()V
|
|
|
|
:cond_0
|
|
check-cast v3, Lkotlin/Pair;
|
|
|
|
invoke-virtual {v3}, Lkotlin/Pair;->component1()Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Ljava/lang/String;
|
|
|
|
invoke-virtual {v3}, Lkotlin/Pair;->component2()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
if-lez v2, :cond_1
|
|
|
|
const-string v2, ", "
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_1
|
|
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v2, 0x3a
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move v2, v4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/16 v1, 0x5d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
:cond_3
|
|
iget-object v1, p0, Lokhttp3/z;->btD:Ljava/util/Map;
|
|
|
|
invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z
|
|
|
|
move-result v1
|
|
|
|
xor-int/lit8 v1, v1, 0x1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
const-string v1, ", tags="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lokhttp3/z;->btD:Ljava/util/Map;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_4
|
|
const/16 v1, 0x7d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "StringBuilder().apply(builderAction).toString()"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object v0
|
|
.end method
|