2020-07-22 00:04:40 +00:00
|
|
|
.class public final Lp0/k$f;
|
|
|
|
.super Lp0/k;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "ParameterHandler.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-07-22 00:04:40 +00:00
|
|
|
value = Lp0/k;
|
2020-05-17 12:40:10 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "f"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
2020-07-22 00:04:40 +00:00
|
|
|
"Lp0/k<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"TT;>;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-07-22 00:04:40 +00:00
|
|
|
.field public final a:Lp0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-07-22 00:04:40 +00:00
|
|
|
"Lp0/e<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"TT;",
|
|
|
|
"Lokhttp3/RequestBody;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final b:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-07-22 00:04:40 +00:00
|
|
|
.method public constructor <init>(Lp0/e;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-07-22 00:04:40 +00:00
|
|
|
"Lp0/e<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"TT;",
|
|
|
|
"Lokhttp3/RequestBody;",
|
|
|
|
">;",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-direct {p0}, Lp0/k;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iput-object p1, p0, Lp0/k$f;->a:Lp0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iput-object p2, p0, Lp0/k$f;->b:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-07-22 00:04:40 +00:00
|
|
|
.method public a(Lp0/m;Ljava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 6
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
check-cast p2, Ljava/util/Map;
|
|
|
|
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {p2}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-interface {p2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Map$Entry;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v2, 0x4
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const-string v4, "Content-Disposition"
|
|
|
|
|
|
|
|
aput-object v4, v2, v3
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
const-string v4, "form-data; name=\""
|
|
|
|
|
|
|
|
const-string v5, "\""
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {v4, v1, v5}, Lf/e/b/a/a;->q(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
aput-object v1, v2, v3
|
|
|
|
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
|
|
|
const-string v3, "Content-Transfer-Encoding"
|
|
|
|
|
|
|
|
aput-object v3, v2, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x3
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iget-object v3, p0, Lp0/k$f;->b:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
aput-object v3, v2, v1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object v1, Lokhttp3/Headers;->e:Lokhttp3/Headers$b;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Lokhttp3/Headers$b;->c([Ljava/lang/String;)Lokhttp3/Headers;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
iget-object v2, p0, Lp0/k$f;->a:Lp0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-interface {v2, v0}, Lp0/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/RequestBody;
|
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
invoke-virtual {p1, v1, v0}, Lp0/m;->c(Lokhttp3/Headers;Lokhttp3/RequestBody;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string p2, "Part map contained null value for key \'"
|
|
|
|
|
|
|
|
const-string v0, "\'."
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p2, v1, v0}, Lf/e/b/a/a;->q(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string p2, "Part map contained null key."
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string p2, "Part map was null."
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|