184 lines
4.4 KiB
Smali
184 lines
4.4 KiB
Smali
.class public final Lokhttp3/q$a;
|
|
.super Ljava/lang/Object;
|
|
.source "FormBody.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lokhttp3/q;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final bmQ:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final bmR:Ljava/nio/charset/Charset;
|
|
|
|
.field public final names:Ljava/util/List;
|
|
.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
|
|
|
|
iput-object p1, p0, Lokhttp3/q$a;->bmQ:Ljava/util/List;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Lokhttp3/q$a;->bmR:Ljava/nio/charset/Charset;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final ab(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/q$a;
|
|
.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, " \"\':;<=>@[]^`{}|/\\?#&!$(),~"
|
|
|
|
iget-object v2, p0, Lokhttp3/q$a;->bmR:Ljava/nio/charset/Charset;
|
|
|
|
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
|
|
|
|
iget-object p1, p0, Lokhttp3/q$a;->bmQ:Ljava/util/List;
|
|
|
|
const-string v0, " \"\':;<=>@[]^`{}|/\\?#&!$(),~"
|
|
|
|
iget-object v1, p0, Lokhttp3/q$a;->bmR:Ljava/nio/charset/Charset;
|
|
|
|
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
|
|
|
|
.method public final ac(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/q$a;
|
|
.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, " \"\':;<=>@[]^`{}|/\\?#&!$(),~"
|
|
|
|
iget-object v2, p0, Lokhttp3/q$a;->bmR:Ljava/nio/charset/Charset;
|
|
|
|
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
|
|
|
|
iget-object p1, p0, Lokhttp3/q$a;->bmQ:Ljava/util/List;
|
|
|
|
const-string v0, " \"\':;<=>@[]^`{}|/\\?#&!$(),~"
|
|
|
|
iget-object v1, p0, Lokhttp3/q$a;->bmR:Ljava/nio/charset/Charset;
|
|
|
|
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
|