2022-06-10 21:38:30 +09:00

153 lines
3.6 KiB
Smali

.class public Ljf/h;
.super Lzf/l;
.source "UrlEncodedFormEntity.java"
# annotations
.annotation build Lcz/msebera/android/httpclient/annotation/NotThreadSafe;
.end annotation
# direct methods
.method public constructor <init>(Ljava/lang/Iterable;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"+",
"Ldf/y;",
">;)V"
}
.end annotation
const/4 v0, 0x0
.line 10
invoke-direct {p0, p1, v0}, Ljf/h;-><init>(Ljava/lang/Iterable;Ljava/nio/charset/Charset;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/Iterable;Ljava/nio/charset/Charset;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"+",
"Ldf/y;",
">;",
"Ljava/nio/charset/Charset;",
")V"
}
.end annotation
if-eqz p2, :cond_0
move-object v0, p2
goto :goto_0
.line 6
:cond_0
sget-object v0, Lpg/f;->t:Ljava/nio/charset/Charset;
:goto_0
invoke-static {p1, v0}, Lnf/j;->i(Ljava/lang/Iterable;Ljava/nio/charset/Charset;)Ljava/lang/String;
move-result-object p1
const-string v0, "application/x-www-form-urlencoded"
.line 7
invoke-static {v0, p2}, Lcz/msebera/android/httpclient/entity/ContentType;->create(Ljava/lang/String;Ljava/nio/charset/Charset;)Lcz/msebera/android/httpclient/entity/ContentType;
move-result-object p2
.line 8
invoke-direct {p0, p1, p2}, Lzf/l;-><init>(Ljava/lang/String;Lcz/msebera/android/httpclient/entity/ContentType;)V
return-void
.end method
.method public constructor <init>(Ljava/util/List;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"+",
"Ldf/y;",
">;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/UnsupportedEncodingException;
}
.end annotation
const/4 v0, 0x0
.line 9
invoke-direct {p0, p1, v0}, Ljf/h;-><init>(Ljava/lang/Iterable;Ljava/nio/charset/Charset;)V
return-void
.end method
.method public constructor <init>(Ljava/util/List;Ljava/lang/String;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"+",
"Ldf/y;",
">;",
"Ljava/lang/String;",
")V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/UnsupportedEncodingException;
}
.end annotation
if-eqz p2, :cond_0
move-object v0, p2
goto :goto_0
.line 1
:cond_0
sget-object v0, Lpg/f;->t:Ljava/nio/charset/Charset;
.line 2
invoke-virtual {v0}, Ljava/nio/charset/Charset;->name()Ljava/lang/String;
move-result-object v0
.line 3
:goto_0
invoke-static {p1, v0}, Lnf/j;->k(Ljava/util/List;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
const-string v0, "application/x-www-form-urlencoded"
.line 4
invoke-static {v0, p2}, Lcz/msebera/android/httpclient/entity/ContentType;->create(Ljava/lang/String;Ljava/lang/String;)Lcz/msebera/android/httpclient/entity/ContentType;
move-result-object p2
.line 5
invoke-direct {p0, p1, p2}, Lzf/l;-><init>(Ljava/lang/String;Lcz/msebera/android/httpclient/entity/ContentType;)V
return-void
.end method