2020-07-08 16:44:49 +00:00
|
|
|
.class public final Lq0/k$g;
|
|
|
|
.super Lq0/k;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "ParameterHandler.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-07-08 16:44:49 +00:00
|
|
|
value = Lq0/k;
|
2020-05-17 12:40:10 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "g"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Lq0/k<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final a:Ljava/lang/String;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.field public final b:Lq0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-07-08 16:44:49 +00:00
|
|
|
"Lq0/e<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"TT;",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final c:Z
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public constructor <init>(Ljava/lang/String;Lq0/e;Z)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Lq0/e<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"TT;",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;Z)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {p0}, Lq0/k;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-string v0, "name == null"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {p1, v0}, Lq0/r;->b(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput-object p1, p0, Lq0/k$g;->a:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput-object p2, p0, Lq0/k$g;->b:Lq0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput-boolean p3, p0, Lq0/k$g;->c:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public a(Lq0/m;Ljava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 17
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Lq0/m;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"TT;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
|
|
|
|
move-object/from16 v2, p2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_a
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v3, v0, Lq0/k$g;->a:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v4, v0, Lq0/k$g;->b:Lq0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-interface {v4, v2}, Lq0/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-boolean v4, v0, Lq0/k$g;->c:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v5, v1, Lq0/m;->c:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz v5, :cond_9
|
|
|
|
|
|
|
|
const-string v6, "{"
|
|
|
|
|
|
|
|
const-string v7, "}"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {v6, v3, v7}, Lf/e/b/a/a;->r(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v8, v6, :cond_8
|
|
|
|
|
|
|
|
invoke-virtual {v2, v8}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
const/4 v10, -0x1
|
|
|
|
|
|
|
|
const-string v11, " \"<>^`{}|\\?#"
|
|
|
|
|
|
|
|
const/16 v12, 0x7f
|
|
|
|
|
|
|
|
const/16 v13, 0x25
|
|
|
|
|
|
|
|
const/16 v14, 0x20
|
|
|
|
|
|
|
|
const/16 v15, 0x2f
|
|
|
|
|
|
|
|
if-lt v9, v14, :cond_1
|
|
|
|
|
|
|
|
if-ge v9, v12, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {v11, v9}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
|
|
|
if-ne v12, v10, :cond_1
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
|
|
|
if-eq v9, v15, :cond_1
|
|
|
|
|
|
|
|
if-ne v9, v13, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-static {v9}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
add-int/2addr v8, v9
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_1
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance v9, Lo0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v9}, Lo0/e;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v9, v2, v7, v8}, Lo0/e;->U(Ljava/lang/String;II)Lo0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-ge v8, v6, :cond_7
|
|
|
|
|
|
|
|
invoke-virtual {v2, v8}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
|
|
|
|
const/16 v13, 0x9
|
|
|
|
|
|
|
|
if-eq v12, v13, :cond_6
|
|
|
|
|
|
|
|
const/16 v13, 0xa
|
|
|
|
|
|
|
|
if-eq v12, v13, :cond_6
|
|
|
|
|
|
|
|
const/16 v13, 0xc
|
|
|
|
|
|
|
|
if-eq v12, v13, :cond_6
|
|
|
|
|
|
|
|
const/16 v13, 0xd
|
|
|
|
|
|
|
|
if-ne v12, v13, :cond_2
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-lt v12, v14, :cond_4
|
|
|
|
|
|
|
|
const/16 v13, 0x7f
|
|
|
|
|
|
|
|
if-ge v12, v13, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {v11, v12}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
if-ne v13, v10, :cond_4
|
|
|
|
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
|
|
|
|
if-eq v12, v15, :cond_4
|
|
|
|
|
|
|
|
const/16 v10, 0x25
|
|
|
|
|
|
|
|
if-ne v12, v10, :cond_3
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v9, v12}, Lo0/e;->V(I)Lo0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_3
|
|
|
|
if-nez v7, :cond_5
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance v7, Lo0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v7}, Lo0/e;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_5
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v7, v12}, Lo0/e;->V(I)Lo0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_4
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v7}, Lo0/e;->I()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
if-nez v10, :cond_6
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v7}, Lo0/e;->readByte()B
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
and-int/lit16 v10, v10, 0xff
|
|
|
|
|
|
|
|
const/16 v13, 0x25
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v9, v13}, Lo0/e;->J(I)Lo0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object v13, Lq0/m;->k:[C
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
shr-int/lit8 v16, v10, 0x4
|
|
|
|
|
|
|
|
and-int/lit8 v16, v16, 0xf
|
|
|
|
|
|
|
|
aget-char v13, v13, v16
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v9, v13}, Lo0/e;->J(I)Lo0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object v13, Lq0/m;->k:[C
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
and-int/lit8 v10, v10, 0xf
|
|
|
|
|
|
|
|
aget-char v10, v13, v10
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v9, v10}, Lo0/e;->J(I)Lo0/e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
:goto_5
|
|
|
|
invoke-static {v12}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
add-int/2addr v8, v10
|
|
|
|
|
|
|
|
const/4 v10, -0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_7
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v9}, Lo0/e;->s()Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
invoke-virtual {v5, v3, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput-object v2, v1, Lq0/m;->c:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
new-instance v1, Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string v2, "Path parameter \""
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {v2}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v3, v0, Lq0/k$g;->a:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-string v4, "\" value must not be null."
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {v2, v3, v4}, Lf/e/b/a/a;->w(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|