apkfuckery/com.discord/smali_classes2/okhttp3/q$a.smali

185 lines
4.4 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lokhttp3/q$a;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "FormBody.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/q;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# instance fields
2019-03-08 06:19:26 +00:00
.field public final bmQ:Ljava/util/List;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
2019-03-08 06:19:26 +00:00
.field private final bmR:Ljava/nio/charset/Charset;
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
.field public final names:Ljava/util/List;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0}, Lokhttp3/q$a;-><init>(B)V
return-void
.end method
.method private constructor <init>(B)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
iput-object p1, p0, Lokhttp3/q$a;->names:Ljava/util/List;
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
2019-03-08 06:19:26 +00:00
iput-object p1, p0, Lokhttp3/q$a;->bmQ:Ljava/util/List;
2019-02-04 20:08:30 +00:00
const/4 p1, 0x0
2019-03-08 06:19:26 +00:00
iput-object p1, p0, Lokhttp3/q$a;->bmR:Ljava/nio/charset/Charset;
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
2019-02-27 21:13:14 +00:00
.method public final ab(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/q$a;
2019-02-04 20:08:30 +00:00
.locals 4
if-eqz p1, :cond_1
if-eqz p2, :cond_0
iget-object v0, p0, Lokhttp3/q$a;->names:Ljava/util/List;
const-string v1, " \"\':;<=>@[]^`{}|/\\?#&!$(),~"
2019-03-08 06:19:26 +00:00
iget-object v2, p0, Lokhttp3/q$a;->bmR:Ljava/nio/charset/Charset;
2019-02-04 20:08:30 +00:00
const/4 v3, 0x0
invoke-static {p1, v1, v3, v2}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZLjava/nio/charset/Charset;)Ljava/lang/String;
move-result-object p1
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2019-03-08 06:19:26 +00:00
iget-object p1, p0, Lokhttp3/q$a;->bmQ:Ljava/util/List;
2019-02-04 20:08:30 +00:00
const-string v0, " \"\':;<=>@[]^`{}|/\\?#&!$(),~"
2019-03-08 06:19:26 +00:00
iget-object v1, p0, Lokhttp3/q$a;->bmR:Ljava/nio/charset/Charset;
2019-02-04 20:08:30 +00:00
invoke-static {p2, v0, v3, v1}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZLjava/nio/charset/Charset;)Ljava/lang/String;
move-result-object p2
invoke-interface {p1, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
return-object p0
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
const-string p2, "value == null"
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
new-instance p1, Ljava/lang/NullPointerException;
const-string p2, "name == null"
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
.end method
2019-02-27 21:13:14 +00:00
.method public final ac(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/q$a;
2019-02-04 20:08:30 +00:00
.locals 4
if-eqz p1, :cond_1
if-eqz p2, :cond_0
iget-object v0, p0, Lokhttp3/q$a;->names:Ljava/util/List;
const-string v1, " \"\':;<=>@[]^`{}|/\\?#&!$(),~"
2019-03-08 06:19:26 +00:00
iget-object v2, p0, Lokhttp3/q$a;->bmR:Ljava/nio/charset/Charset;
2019-02-04 20:08:30 +00:00
const/4 v3, 0x1
invoke-static {p1, v1, v3, v2}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZLjava/nio/charset/Charset;)Ljava/lang/String;
move-result-object p1
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2019-03-08 06:19:26 +00:00
iget-object p1, p0, Lokhttp3/q$a;->bmQ:Ljava/util/List;
2019-02-04 20:08:30 +00:00
const-string v0, " \"\':;<=>@[]^`{}|/\\?#&!$(),~"
2019-03-08 06:19:26 +00:00
iget-object v1, p0, Lokhttp3/q$a;->bmR:Ljava/nio/charset/Charset;
2019-02-04 20:08:30 +00:00
invoke-static {p2, v0, v3, v1}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZLjava/nio/charset/Charset;)Ljava/lang/String;
move-result-object p2
invoke-interface {p1, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
return-object p0
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
const-string p2, "value == null"
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
new-instance p1, Ljava/lang/NullPointerException;
const-string p2, "name == null"
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
.end method