2019-02-04 20:08:30 +00:00
|
|
|
.class public final Lokhttp3/s;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/s$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field private static final bZc:[C
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final bZd:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final bZe:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final bZf:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final bZg:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private final fragment:Ljava/lang/String;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private final password:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final port:I
|
|
|
|
|
|
|
|
.field private final url:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field private final username:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/16 v0, 0x10
|
|
|
|
|
|
|
|
new-array v0, v0, [C
|
|
|
|
|
|
|
|
fill-array-data v0, :array_0
|
|
|
|
|
|
|
|
sput-object v0, Lokhttp3/s;->bZc:[C
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:array_0
|
|
|
|
.array-data 2
|
|
|
|
0x30s
|
|
|
|
0x31s
|
|
|
|
0x32s
|
|
|
|
0x33s
|
|
|
|
0x34s
|
|
|
|
0x35s
|
|
|
|
0x36s
|
|
|
|
0x37s
|
|
|
|
0x38s
|
|
|
|
0x39s
|
|
|
|
0x41s
|
|
|
|
0x42s
|
|
|
|
0x43s
|
|
|
|
0x44s
|
|
|
|
0x45s
|
|
|
|
0x46s
|
|
|
|
.end array-data
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method constructor <init>(Lokhttp3/s$a;)V
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/s$a;->bZd:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object v0, p0, Lokhttp3/s;->bZd:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/s$a;->bZh:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lokhttp3/s;->i(Ljava/lang/String;Z)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lokhttp3/s;->username:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/s$a;->bZi:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lokhttp3/s;->i(Ljava/lang/String;Z)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lokhttp3/s;->password:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/s$a;->bZe:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object v0, p0, Lokhttp3/s;->bZe:Ljava/lang/String;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/s$a;->Hs()I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput v0, p0, Lokhttp3/s;->port:I
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/s$a;->bZj:Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lokhttp3/s;->b(Ljava/util/List;Z)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lokhttp3/s;->bZf:Ljava/util/List;
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/s$a;->bZk:Ljava/util/List;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/s$a;->bZk:Ljava/util/List;
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
invoke-static {v0, v3}, Lokhttp3/s;->b(Ljava/util/List;Z)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v0, v2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
iput-object v0, p0, Lokhttp3/s;->bZg:Ljava/util/List;
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/s$a;->bZl:Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/s$a;->bZl:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lokhttp3/s;->i(Ljava/lang/String;Z)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iput-object v2, p0, Lokhttp3/s;->fragment:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lokhttp3/s$a;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iput-object p1, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
.locals 14
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move/from16 v1, p2
|
|
|
|
|
|
|
|
move-object/from16 v2, p3
|
|
|
|
|
|
|
|
move-object/from16 v4, p8
|
|
|
|
|
|
|
|
move v5, p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v5, v1, :cond_17
|
|
|
|
|
|
|
|
invoke-virtual {p0, v5}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
const/16 v7, 0x2b
|
|
|
|
|
|
|
|
const/4 v8, -0x1
|
|
|
|
|
|
|
|
const/16 v9, 0x80
|
|
|
|
|
|
|
|
const/16 v10, 0x7f
|
|
|
|
|
|
|
|
const/16 v11, 0x20
|
|
|
|
|
|
|
|
const/16 v12, 0x25
|
|
|
|
|
|
|
|
if-lt v6, v11, :cond_3
|
|
|
|
|
|
|
|
if-eq v6, v10, :cond_3
|
|
|
|
|
|
|
|
if-lt v6, v9, :cond_0
|
|
|
|
|
|
|
|
if-nez p7, :cond_3
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {v2, v6}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-ne v9, v8, :cond_3
|
|
|
|
|
|
|
|
if-ne v6, v12, :cond_1
|
|
|
|
|
|
|
|
if-eqz p4, :cond_3
|
|
|
|
|
|
|
|
if-eqz p5, :cond_1
|
|
|
|
|
|
|
|
invoke-static {p0, v5, v1}, Lokhttp3/s;->e(Ljava/lang/String;II)Z
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-eqz v9, :cond_3
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-ne v6, v7, :cond_2
|
|
|
|
|
|
|
|
if-eqz p6, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-static {v6}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
add-int/2addr v5, v6
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
|
|
|
new-instance v6, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v6}, Lokio/c;-><init>()V
|
|
|
|
|
|
|
|
move v9, p1
|
|
|
|
|
|
|
|
invoke-virtual {v6, p0, p1, v5}, Lokio/c;->p(Ljava/lang/String;II)Lokio/c;
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-ge v5, v1, :cond_16
|
|
|
|
|
|
|
|
invoke-virtual {p0, v5}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
|
|
|
if-eqz p4, :cond_5
|
|
|
|
|
|
|
|
const/16 v8, 0x9
|
|
|
|
|
|
|
|
if-eq v12, v8, :cond_4
|
|
|
|
|
|
|
|
const/16 v8, 0xa
|
|
|
|
|
|
|
|
if-eq v12, v8, :cond_4
|
|
|
|
|
|
|
|
const/16 v8, 0xc
|
|
|
|
|
|
|
|
if-eq v12, v8, :cond_4
|
|
|
|
|
|
|
|
const/16 v8, 0xd
|
|
|
|
|
|
|
|
if-eq v12, v8, :cond_4
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_3
|
|
|
|
const/4 v8, -0x1
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_4
|
|
|
|
if-ne v12, v7, :cond_7
|
|
|
|
|
|
|
|
if-eqz p6, :cond_7
|
|
|
|
|
|
|
|
if-eqz p4, :cond_6
|
|
|
|
|
|
|
|
const-string v8, "+"
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
const-string v8, "%2B"
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
invoke-virtual {v6, v8}, Lokio/c;->eK(Ljava/lang/String;)Lokio/c;
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
if-lt v12, v11, :cond_b
|
|
|
|
|
|
|
|
if-eq v12, v10, :cond_b
|
|
|
|
|
|
|
|
const/16 v8, 0x80
|
|
|
|
|
|
|
|
if-lt v12, v8, :cond_8
|
|
|
|
|
|
|
|
if-nez p7, :cond_b
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
invoke-virtual {v2, v12}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
const/4 v8, -0x1
|
|
|
|
|
|
|
|
if-ne v7, v8, :cond_c
|
|
|
|
|
|
|
|
const/16 v7, 0x25
|
|
|
|
|
|
|
|
if-ne v12, v7, :cond_9
|
|
|
|
|
|
|
|
if-eqz p4, :cond_c
|
|
|
|
|
|
|
|
if-eqz p5, :cond_9
|
|
|
|
|
|
|
|
invoke-static {p0, v5, v1}, Lokhttp3/s;->e(Ljava/lang/String;II)Z
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
if-nez v7, :cond_9
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
invoke-virtual {v6, v12}, Lokio/c;->fr(I)Lokio/c;
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
:goto_6
|
|
|
|
const/16 v8, 0x25
|
|
|
|
|
|
|
|
goto/16 :goto_a
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
const/4 v8, -0x1
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
:goto_7
|
|
|
|
if-nez v9, :cond_d
|
|
|
|
|
|
|
|
new-instance v9, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v9}, Lokio/c;-><init>()V
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
if-eqz v4, :cond_15
|
|
|
|
|
|
|
|
sget-object v7, Lokhttp3/internal/c;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
invoke-virtual {v4, v7}, Ljava/nio/charset/Charset;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
if-eqz v7, :cond_e
|
|
|
|
|
|
|
|
goto/16 :goto_8
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
invoke-static {v12}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
add-int/2addr v7, v5
|
|
|
|
|
|
|
|
if-eqz v0, :cond_14
|
|
|
|
|
|
|
|
if-ltz v5, :cond_13
|
|
|
|
|
|
|
|
if-lt v7, v5, :cond_12
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-gt v7, v8, :cond_11
|
|
|
|
|
|
|
|
if-eqz v4, :cond_10
|
|
|
|
|
|
|
|
sget-object v8, Lokio/s;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
invoke-virtual {v4, v8}, Ljava/nio/charset/Charset;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_f
|
|
|
|
|
|
|
|
invoke-virtual {v9, p0, v5, v7}, Lokio/c;->p(Ljava/lang/String;II)Lokio/c;
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
invoke-virtual {p0, v5, v7}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
invoke-virtual {v7, v4}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
array-length v10, v7
|
|
|
|
|
|
|
|
invoke-virtual {v9, v7, v8, v10}, Lokio/c;->q([BII)Lokio/c;
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string v1, "charset == null"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, "endIndex > string.length: "
|
|
|
|
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v2, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, " > "
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, "endIndex < beginIndex: "
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v1, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, " < "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_13
|
|
|
|
new-instance v0, Ljava/lang/IllegalAccessError;
|
|
|
|
|
|
|
|
invoke-static {v5}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string v2, "beginIndex < 0: "
|
|
|
|
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalAccessError;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string v1, "string == null"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_15
|
|
|
|
:goto_8
|
|
|
|
invoke-virtual {v9, v12}, Lokio/c;->fr(I)Lokio/c;
|
|
|
|
|
|
|
|
:goto_9
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {v9}, Lokio/c;->IZ()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
if-nez v7, :cond_a
|
|
|
|
|
|
|
|
invoke-virtual {v9}, Lokio/c;->readByte()B
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
and-int/lit16 v7, v7, 0xff
|
|
|
|
|
|
|
|
const/16 v8, 0x25
|
|
|
|
|
|
|
|
invoke-virtual {v6, v8}, Lokio/c;->fs(I)Lokio/c;
|
|
|
|
|
|
|
|
sget-object v10, Lokhttp3/s;->bZc:[C
|
|
|
|
|
|
|
|
shr-int/lit8 v13, v7, 0x4
|
|
|
|
|
|
|
|
and-int/lit8 v13, v13, 0xf
|
|
|
|
|
|
|
|
aget-char v10, v10, v13
|
|
|
|
|
|
|
|
invoke-virtual {v6, v10}, Lokio/c;->fs(I)Lokio/c;
|
|
|
|
|
|
|
|
sget-object v10, Lokhttp3/s;->bZc:[C
|
|
|
|
|
|
|
|
and-int/lit8 v7, v7, 0xf
|
|
|
|
|
|
|
|
aget-char v7, v10, v7
|
|
|
|
|
|
|
|
invoke-virtual {v6, v7}, Lokio/c;->fs(I)Lokio/c;
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:goto_a
|
|
|
|
invoke-static {v12}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
add-int/2addr v5, v7
|
|
|
|
|
|
|
|
const/16 v7, 0x2b
|
|
|
|
|
|
|
|
const/4 v8, -0x1
|
|
|
|
|
|
|
|
const/16 v10, 0x7f
|
|
|
|
|
|
|
|
const/16 v12, 0x25
|
|
|
|
|
|
|
|
goto/16 :goto_2
|
|
|
|
|
|
|
|
:cond_16
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {v6}, Lokio/c;->Jf()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_17
|
|
|
|
move v9, p1
|
|
|
|
|
|
|
|
invoke-virtual/range {p0 .. p2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static a(Ljava/lang/String;Ljava/lang/String;ZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
.locals 9
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
|
|
|
const/4 v7, 0x1
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move-object v3, p1
|
|
|
|
|
|
|
|
move v4, p2
|
|
|
|
|
|
|
|
move-object v8, p3
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v8}, Lokhttp3/s;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
.locals 9
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move-object v3, p1
|
|
|
|
|
|
|
|
move v4, p2
|
|
|
|
|
|
|
|
move v5, p3
|
|
|
|
|
|
|
|
move v6, p4
|
|
|
|
|
|
|
|
move v7, p5
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v8}, Lokhttp3/s;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static a(Ljava/lang/StringBuilder;Ljava/util/List;)V
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/StringBuilder;",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_0
|
|
|
|
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static a(Lokio/c;Ljava/lang/String;IIZ)V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge p2, p3, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/16 v1, 0x25
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
add-int/lit8 v1, p2, 0x2
|
|
|
|
|
|
|
|
if-ge v1, p3, :cond_0
|
|
|
|
|
|
|
|
add-int/lit8 v2, p2, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-static {v2}, Lokhttp3/internal/c;->decodeHexDigit(C)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
invoke-static {v3}, Lokhttp3/internal/c;->decodeHexDigit(C)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const/4 v4, -0x1
|
|
|
|
|
|
|
|
if-eq v2, v4, :cond_1
|
|
|
|
|
|
|
|
if-eq v3, v4, :cond_1
|
|
|
|
|
|
|
|
shl-int/lit8 p2, v2, 0x4
|
|
|
|
|
|
|
|
add-int/2addr p2, v3
|
|
|
|
|
|
|
|
invoke-virtual {p0, p2}, Lokio/c;->fs(I)Lokio/c;
|
|
|
|
|
|
|
|
move p2, v1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/16 v1, 0x2b
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
|
|
|
|
const/16 v1, 0x20
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1}, Lokio/c;->fs(I)Lokio/c;
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {p0, v0}, Lokio/c;->fr(I)Lokio/c;
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-static {v0}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
add-int/2addr p2, v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static b(Ljava/lang/String;IIZ)Ljava/lang/String;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
move v0, p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v0, p2, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/16 v2, 0x25
|
|
|
|
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
|
|
|
|
const/16 v2, 0x2b
|
|
|
|
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_1
|
|
|
|
new-instance v1, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Lokio/c;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v1, p0, p1, v0}, Lokio/c;->p(Ljava/lang/String;II)Lokio/c;
|
|
|
|
|
|
|
|
invoke-static {v1, p0, v0, p2, p3}, Lokhttp3/s;->a(Lokio/c;Ljava/lang/String;IIZ)V
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {v1}, Lokio/c;->Jf()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static b(Ljava/util/List;Z)Ljava/util/List;
|
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;Z)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v2, v0, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {p0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
|
|
|
|
invoke-static {v3, p1}, Lokhttp3/s;->i(Ljava/lang/String;Z)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static b(Ljava/lang/StringBuilder;Ljava/util/List;)V
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/StringBuilder;",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
|
|
|
|
add-int/lit8 v3, v1, 0x1
|
|
|
|
|
|
|
|
invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-lez v1, :cond_0
|
|
|
|
|
|
|
|
const/16 v4, 0x26
|
|
|
|
|
|
|
|
invoke-virtual {p0, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
|
|
|
|
const/16 v2, 0x3d
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/lit8 v1, v1, 0x2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static e(Ljava/lang/String;II)Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
add-int/lit8 v0, p1, 0x2
|
|
|
|
|
|
|
|
if-ge v0, p2, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
const/16 v1, 0x25
|
|
|
|
|
|
|
|
if-ne p2, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x1
|
|
|
|
|
|
|
|
add-int/2addr p1, p2
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lokhttp3/internal/c;->decodeHexDigit(C)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
const/4 v1, -0x1
|
|
|
|
|
|
|
|
if-eq p1, v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
invoke-static {p0}, Lokhttp3/internal/c;->decodeHexDigit(C)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eq p0, v1, :cond_0
|
|
|
|
|
|
|
|
return p2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static ej(Ljava/lang/String;)I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "http"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x50
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string v0, "https"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
|
|
|
const/16 p0, 0x1bb
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static ek(Ljava/lang/String;)Ljava/util/List;
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-gt v1, v2, :cond_3
|
|
|
|
|
|
|
|
const/16 v2, 0x26
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2, v1}, Ljava/lang/String;->indexOf(II)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v3, -0x1
|
|
|
|
|
|
|
|
if-ne v2, v3, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/16 v4, 0x3d
|
|
|
|
|
|
|
|
invoke-virtual {p0, v4, v1}, Ljava/lang/String;->indexOf(II)I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eq v4, v3, :cond_2
|
|
|
|
|
|
|
|
if-le v4, v2, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {p0, v1, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v4, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
add-int/lit8 v1, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static en(Ljava/lang/String;)Lokhttp3/s;
|
|
|
|
.locals 0
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-static {p0}, Lokhttp3/s;->eo(Ljava/lang/String;)Lokhttp3/s;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static eo(Ljava/lang/String;)Lokhttp3/s;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/s$a;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lokhttp3/s$a;-><init>()V
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, p0}, Lokhttp3/s$a;->b(Lokhttp3/s;Ljava/lang/String;)Lokhttp3/s$a;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/s$a;->Ht()Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static i(Ljava/lang/String;Z)Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-static {p0, v1, v0, p1}, Lokhttp3/s;->b(Ljava/lang/String;IIZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-04 20:17:36 +00:00
|
|
|
.method public final Hj()Ljava/net/URL;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
new-instance v0, Ljava/net/URL;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/net/URL;-><init>(Ljava/lang/String;)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/net/MalformedURLException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
.method public final Hk()Ljava/net/URI;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 11
|
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/s$a;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lokhttp3/s$a;-><init>()V
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->bZd:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->bZd:Ljava/lang/String;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/s;->Hm()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->bZh:Ljava/lang/String;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/s;->Hn()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->bZi:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->bZe:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->bZe:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget v1, p0, Lokhttp3/s;->port:I
|
|
|
|
|
|
|
|
iget-object v2, p0, Lokhttp3/s;->bZd:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {v2}, Lokhttp3/s;->ej(Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
|
|
|
|
iget v1, p0, Lokhttp3/s;->port:I
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, -0x1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
iput v1, v0, Lokhttp3/s$a;->port:I
|
|
|
|
|
|
|
|
iget-object v1, v0, Lokhttp3/s$a;->bZj:Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->clear()V
|
|
|
|
|
|
|
|
iget-object v1, v0, Lokhttp3/s$a;->bZj:Ljava/util/List;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/s;->Hp()Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/s;->Hq()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/s$a;->ep(Ljava/lang/String;)Lokhttp3/s$a;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->fragment:Ljava/lang/String;
|
|
|
|
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/16 v2, 0x23
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
iget-object v2, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->bZl:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v1, v0, Lokhttp3/s$a;->bZj:Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-ge v3, v1, :cond_2
|
|
|
|
|
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->bZj:Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
move-object v5, v4
|
|
|
|
|
|
|
|
check-cast v5, Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->bZj:Ljava/util/List;
|
|
|
|
|
|
|
|
const-string v6, "[]"
|
|
|
|
|
|
|
|
const/4 v7, 0x1
|
|
|
|
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
const/4 v10, 0x1
|
|
|
|
|
|
|
|
invoke-static/range {v5 .. v10}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-interface {v4, v3, v5}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
iget-object v1, v0, Lokhttp3/s$a;->bZk:Ljava/util/List;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
|
|
|
|
iget-object v1, v0, Lokhttp3/s$a;->bZk:Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-ge v2, v1, :cond_4
|
|
|
|
|
|
|
|
iget-object v3, v0, Lokhttp3/s$a;->bZk:Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
move-object v4, v3
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
|
|
|
|
iget-object v3, v0, Lokhttp3/s$a;->bZk:Ljava/util/List;
|
|
|
|
|
|
|
|
const-string v5, "\\^`{|}"
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
|
|
|
const/4 v7, 0x1
|
|
|
|
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
const/4 v9, 0x1
|
|
|
|
|
|
|
|
invoke-static/range {v4 .. v9}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-interface {v3, v2, v4}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
iget-object v1, v0, Lokhttp3/s$a;->bZl:Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
|
|
|
|
iget-object v2, v0, Lokhttp3/s$a;->bZl:Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v3, " \"#<>\\^`{|}"
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v2 .. v7}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->bZl:Ljava/lang/String;
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
invoke-virtual {v0}, Lokhttp3/s$a;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
new-instance v1, Ljava/net/URI;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/net/URI;-><init>(Ljava/lang/String;)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/net/URISyntaxException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
const-string v2, "[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]"
|
|
|
|
|
|
|
|
const-string v3, ""
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2, v3}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/net/URI;->create(Ljava/lang/String;)Ljava/net/URI;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
.method public final Hl()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->bZd:Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v1, "https"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
.method public final Hm()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 4
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->username:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const-string v0, ""
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->bZd:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x3
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const-string v3, ":@"
|
|
|
|
|
|
|
|
invoke-static {v1, v0, v2, v3}, Lokhttp3/internal/c;->a(Ljava/lang/String;IILjava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
iget-object v2, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
.method public final Hn()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->password:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const-string v0, ""
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/16 v1, 0x3a
|
|
|
|
|
|
|
|
iget-object v2, p0, Lokhttp3/s;->bZd:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x3
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/String;->indexOf(II)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/16 v2, 0x40
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
iget-object v2, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
.method public final Ho()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 4
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->bZd:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x3
|
|
|
|
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2, v1}, Ljava/lang/String;->indexOf(II)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const-string v3, "?#"
|
|
|
|
|
|
|
|
invoke-static {v1, v0, v2, v3}, Lokhttp3/internal/c;->a(Ljava/lang/String;IILjava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
iget-object v2, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
.method public final Hp()Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 6
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->bZd:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x3
|
|
|
|
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2, v1}, Ljava/lang/String;->indexOf(II)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const-string v4, "?#"
|
|
|
|
|
|
|
|
invoke-static {v1, v0, v3, v4}, Lokhttp3/internal/c;->a(Ljava/lang/String;IILjava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
new-instance v3, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
iget-object v4, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {v4, v0, v1, v2}, Lokhttp3/internal/c;->a(Ljava/lang/String;IIC)I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
iget-object v5, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v5, v0, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move v0, v4
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object v3
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
.method public final Hq()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 4
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->bZg:Ljava/util/List;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/16 v1, 0x3f
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/16 v3, 0x23
|
|
|
|
|
|
|
|
invoke-static {v1, v0, v2, v3}, Lokhttp3/internal/c;->a(Ljava/lang/String;IIC)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
iget-object v2, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
.method public final Hr()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 8
|
|
|
|
|
|
|
|
const-string v0, "/..."
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lokhttp3/s;->em(Ljava/lang/String;)Lokhttp3/s$a;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, ""
|
|
|
|
|
|
|
|
const-string v2, " \"\':;<=>@[]^`{}|/\\?#"
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v6}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->bZh:Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v2, ""
|
|
|
|
|
|
|
|
const-string v3, " \"\':;<=>@[]^`{}|/\\?#"
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x1
|
|
|
|
|
|
|
|
invoke-static/range {v2 .. v7}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->bZi:Ljava/lang/String;
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/s$a;->Ht()Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokhttp3/s;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final el(Ljava/lang/String;)Lokhttp3/s;
|
|
|
|
.locals 0
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lokhttp3/s;->em(Ljava/lang/String;)Lokhttp3/s$a;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2019-02-04 20:17:36 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/s$a;->Ht()Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final em(Ljava/lang/String;)Lokhttp3/s$a;
|
|
|
|
.locals 1
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
new-instance v0, Lokhttp3/s$a;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lokhttp3/s$a;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1}, Lokhttp3/s$a;->b(Lokhttp3/s;Ljava/lang/String;)Lokhttp3/s$a;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 1
|
|
|
|
.param p1 # Ljava/lang/Object;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
instance-of v0, p1, Lokhttp3/s;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
check-cast p1, Lokhttp3/s;
|
|
|
|
|
|
|
|
iget-object p1, p1, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final hashCode()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/s;->url:Ljava/lang/String;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|