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

297 lines
7.3 KiB
Smali
Raw Normal View History

2019-11-28 00:30:53 +00:00
.class public final Lokhttp3/z;
.super Ljava/lang/Object;
.source "Request.kt"
2019-07-24 11:27:29 +00:00
# annotations
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/MemberClasses;
2019-07-24 11:27:29 +00:00
value = {
2019-11-28 00:30:53 +00:00
Lokhttp3/z$a;
2019-07-24 11:27:29 +00:00
}
.end annotation
# instance fields
2019-12-04 22:43:03 +00:00
.field public final cjD:Lokhttp3/v;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
.field public final coL:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
.field public final coM:Lokhttp3/RequestBody;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
.field private cpF:Lokhttp3/e;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
.field public final cpG:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
.field final cpH: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-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
# 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
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "url"
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, "method"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p2, 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, "headers"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p3, 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, "tags"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p5, 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
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object p1, p0, Lokhttp3/z;->cjD:Lokhttp3/v;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object p2, p0, Lokhttp3/z;->cpG:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object p3, p0, Lokhttp3/z;->coL:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object p4, p0, Lokhttp3/z;->coM:Lokhttp3/RequestBody;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iput-object p5, p0, Lokhttp3/z;->cpH:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-void
.end method
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
# virtual methods
2019-12-04 22:43:03 +00:00
.method public final QQ()Lokhttp3/z$a;
2019-11-28 00:30:53 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
new-instance v0, Lokhttp3/z$a;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {v0, p0}, Lokhttp3/z$a;-><init>(Lokhttp3/z;)V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
.method public final QR()Lokhttp3/e;
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/z;->cpF:Lokhttp3/e;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-nez v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
sget-object v0, Lokhttp3/e;->ckC:Lokhttp3/e$b;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v0, p0, Lokhttp3/z;->coL:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {v0}, Lokhttp3/e$b;->b(Lokhttp3/Headers;)Lokhttp3/e;
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/z;->cpF:Lokhttp3/e;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_0
return-object v0
2019-07-24 11:27:29 +00:00
.end method
2019-12-04 22:43:03 +00:00
.method public final QS()Lokhttp3/v;
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/z;->cjD:Lokhttp3/v;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-object v0
2019-07-24 11:27:29 +00:00
.end method
2019-12-04 22:43:03 +00:00
.method public final QT()Ljava/lang/String;
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/z;->cpG:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
.method public final QU()Lokhttp3/RequestBody;
.locals 1
iget-object v0, p0, Lokhttp3/z;->coM:Lokhttp3/RequestBody;
return-object v0
.end method
.method public final eG(Ljava/lang/String;)Ljava/lang/String;
2019-11-28 00:30:53 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "name"
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
iget-object v0, p0, Lokhttp3/z;->coL:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
invoke-virtual {v0, p1}, Lokhttp3/Headers;->eW(Ljava/lang/String;)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
return-object p1
2019-07-24 11:27:29 +00:00
.end method
2019-11-28 00:30:53 +00:00
.method public final toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 6
2019-11-28 00:30:53 +00:00
new-instance v0, Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v1, "Request{method="
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/z;->cpG:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v1, ", url="
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/z;->cjD:Lokhttp3/v;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/z;->coL:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, v1, Lokhttp3/Headers;->cnZ:[Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
array-length v1, v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
div-int/lit8 v1, v1, 0x2
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v1, ", headers=["
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/z;->coL:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast v1, Ljava/lang/Iterable;
2019-07-24 11:27:29 +00:00
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
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result v3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-eqz v3, :cond_2
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
add-int/lit8 v4, v2, 0x1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-gez v2, :cond_0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {}, Lkotlin/a/m;->throwIndexOverflow()V
2019-07-24 11:27:29 +00:00
:cond_0
2019-11-28 00:30:53 +00:00
check-cast v3, Lkotlin/Pair;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v3}, Lkotlin/Pair;->component1()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast v5, Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v3}, Lkotlin/Pair;->component2()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast v3, Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-lez v2, :cond_1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v2, ", "
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_1
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const/16 v2, 0x3a
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move v2, v4
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_2
const/16 v1, 0x5d
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
:cond_3
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/z;->cpH:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
xor-int/lit8 v1, v1, 0x1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_4
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v1, ", tags="
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-04 22:43:03 +00:00
iget-object v1, p0, Lokhttp3/z;->cpH:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_4
const/16 v1, 0x7d
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-11-28 00:30:53 +00:00
const-string v1, "StringBuilder().apply(builderAction).toString()"
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
return-object v0
.end method