apkfuckery/com.discord/smali/okhttp3/s.smali

1835 lines
36 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lokhttp3/s;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "HttpUrl.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/s$a;
}
.end annotation
# static fields
2019-02-22 00:19:04 +00:00
.field private static final bmw:[C
2019-02-04 20:08:30 +00:00
# instance fields
2019-02-22 00:19:04 +00:00
.field public final bmA: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
2019-02-22 00:19:04 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
2019-02-04 20:08:30 +00:00
.end field
2019-02-22 00:19:04 +00:00
.field public final bmx:Ljava/lang/String;
.field public final bmy:Ljava/lang/String;
2019-02-21 02:16:48 +00:00
.field public final bmz: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
.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
2019-02-22 00:19:04 +00:00
sput-object v0, Lokhttp3/s;->bmw:[C
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iget-object v0, p1, Lokhttp3/s$a;->bmx:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iput-object v0, p0, Lokhttp3/s;->bmx:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iget-object v0, p1, Lokhttp3/s$a;->bmB:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
const/4 v1, 0x0
2019-02-04 20:32:01 +00:00
invoke-static {v0, v1}, Lokhttp3/s;->g(Ljava/lang/String;Z)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v0
iput-object v0, p0, Lokhttp3/s;->username:Ljava/lang/String;
2019-02-22 00:19:04 +00:00
iget-object v0, p1, Lokhttp3/s$a;->bmC:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-static {v0, v1}, Lokhttp3/s;->g(Ljava/lang/String;Z)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v0
iput-object v0, p0, Lokhttp3/s;->password:Ljava/lang/String;
2019-02-22 00:19:04 +00:00
iget-object v0, p1, Lokhttp3/s$a;->bmy:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iput-object v0, p0, Lokhttp3/s;->bmy:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {p1}, Lokhttp3/s$a;->An()I
2019-02-04 20:08:30 +00:00
move-result v0
iput v0, p0, Lokhttp3/s;->port:I
2019-02-22 00:19:04 +00:00
iget-object v0, p1, Lokhttp3/s$a;->bmD:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-static {v0, v1}, Lokhttp3/s;->b(Ljava/util/List;Z)Ljava/util/List;
move-result-object v0
2019-02-22 00:19:04 +00:00
iput-object v0, p0, Lokhttp3/s;->bmz:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iget-object v0, p1, Lokhttp3/s$a;->bmE:Ljava/util/List;
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
if-eqz v0, :cond_0
2019-02-22 00:19:04 +00:00
iget-object v0, p1, Lokhttp3/s$a;->bmE:Ljava/util/List;
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iput-object v0, p0, Lokhttp3/s;->bmA:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iget-object v0, p1, Lokhttp3/s$a;->bmF:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_1
2019-02-22 00:19:04 +00:00
iget-object v0, p1, Lokhttp3/s$a;->bmF:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-static {v0, v1}, Lokhttp3/s;->g(Ljava/lang/String;Z)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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;
2019-02-04 20:29:01 +00:00
.locals 16
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
2019-02-04 20:08:30 +00:00
move/from16 v1, p2
move-object/from16 v2, p3
2019-02-04 20:29:01 +00:00
move-object/from16 v3, p8
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v4, p1
2019-02-04 20:08:30 +00:00
:goto_0
2019-02-04 20:29:01 +00:00
if-ge v4, v1, :cond_15
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, v4}, Ljava/lang/String;->codePointAt(I)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v6, 0x2b
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v7, -0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v8, 0x80
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v9, 0x7f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v10, 0x20
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v11, 0x25
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-lt v5, v10, :cond_3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v5, v9, :cond_3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-lt v5, v8, :cond_0
2019-02-04 20:08:30 +00:00
if-nez p7, :cond_3
:cond_0
2019-02-04 20:29:01 +00:00
invoke-virtual {v2, v5}, Ljava/lang/String;->indexOf(I)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v12
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ne v12, v7, :cond_3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ne v5, v11, :cond_1
2019-02-04 20:08:30 +00:00
if-eqz p4, :cond_3
if-eqz p5, :cond_1
2019-02-04 20:29:01 +00:00
invoke-static {v0, v4, v1}, Lokhttp3/s;->e(Ljava/lang/String;II)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v12
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v12, :cond_3
2019-02-04 20:08:30 +00:00
:cond_1
2019-02-04 20:29:01 +00:00
if-ne v5, v6, :cond_2
2019-02-04 20:08:30 +00:00
if-eqz p6, :cond_2
goto :goto_1
:cond_2
2019-02-04 20:29:01 +00:00
invoke-static {v5}, Ljava/lang/Character;->charCount(I)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v4, v5
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_3
:goto_1
2019-02-04 20:29:01 +00:00
new-instance v5, Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-direct {v5}, Lokio/c;-><init>()V
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move/from16 v12, p1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v5, v0, v12, v4}, Lokio/c;->p(Ljava/lang/String;II)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v12, 0x0
2019-02-04 20:08:30 +00:00
:goto_2
2019-02-04 20:29:01 +00:00
if-ge v4, v1, :cond_14
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, v4}, Ljava/lang/String;->codePointAt(I)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v13
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz p4, :cond_4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v14, 0x9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v13, v14, :cond_13
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v14, 0xa
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v13, v14, :cond_13
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v14, 0xc
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v13, v14, :cond_13
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v14, 0xd
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v13, v14, :cond_13
2019-02-04 20:08:30 +00:00
:cond_4
2019-02-04 20:29:01 +00:00
if-ne v13, v6, :cond_6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz p6, :cond_6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz p4, :cond_5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const-string v14, "+"
2019-02-04 20:08:30 +00:00
goto :goto_3
2019-02-04 20:29:01 +00:00
:cond_5
const-string v14, "%2B"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_3
2019-02-17 02:24:41 +00:00
invoke-virtual {v5, v14}, Lokio/c;->ed(Ljava/lang/String;)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto/16 :goto_7
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_6
if-lt v13, v10, :cond_9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v13, v9, :cond_9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-lt v13, v8, :cond_7
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-nez p7, :cond_9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_7
invoke-virtual {v2, v13}, Ljava/lang/String;->indexOf(I)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v14
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ne v14, v7, :cond_9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ne v13, v11, :cond_8
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz p4, :cond_9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz p5, :cond_8
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-static {v0, v4, v1}, Lokhttp3/s;->e(Ljava/lang/String;II)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v14
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-nez v14, :cond_8
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_8
2019-02-21 02:16:48 +00:00
invoke-virtual {v5, v13}, Lokio/c;->dj(I)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto/16 :goto_7
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_9
:goto_4
if-nez v12, :cond_a
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
new-instance v12, Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-direct {v12}, Lokio/c;-><init>()V
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_a
if-eqz v3, :cond_12
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sget-object v14, Lokhttp3/internal/c;->UTF_8:Ljava/nio/charset/Charset;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v3, v14}, Ljava/nio/charset/Charset;->equals(Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v14
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v14, :cond_b
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto/16 :goto_5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_b
invoke-static {v13}, Ljava/lang/Character;->charCount(I)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v14
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v14, v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v0, :cond_11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ltz v4, :cond_10
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-lt v14, v4, :cond_f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v15
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-gt v14, v15, :cond_e
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v3, :cond_d
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
sget-object v15, Lokio/s;->UTF_8:Ljava/nio/charset/Charset;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v3, v15}, Ljava/nio/charset/Charset;->equals(Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v15
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v15, :cond_c
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v12, v0, v4, v14}, Lokio/c;->p(Ljava/lang/String;II)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_c
invoke-virtual {v0, v4, v14}, Ljava/lang/String;->substring(II)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v14
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v14, v3}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v14
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v15, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
array-length v6, v14
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {v12, v14, v15, v6}, Lokio/c;->m([BII)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_d
2019-02-04 20:08:30 +00:00
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
2019-02-04 20:29:01 +00:00
:cond_e
2019-02-04 20:08:30 +00:00
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
2019-02-04 20:29:01 +00:00
invoke-virtual {v2, v14}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
const-string v3, " > "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:29:01 +00:00
invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I
2019-02-04 20:08:30 +00:00
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
2019-02-04 20:29:01 +00:00
:cond_f
2019-02-04 20:08:30 +00:00
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
2019-02-04 20:29:01 +00:00
invoke-virtual {v1, v14}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
const-string v2, " < "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:29:01 +00:00
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
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
2019-02-04 20:29:01 +00:00
:cond_10
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/lang/IllegalAccessError;
2019-02-04 20:29:01 +00:00
invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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
2019-02-04 20:29:01 +00:00
:cond_11
2019-02-04 20:08:30 +00:00
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
2019-02-04 20:29:01 +00:00
:cond_12
:goto_5
2019-02-21 02:16:48 +00:00
invoke-virtual {v12, v13}, Lokio/c;->dj(I)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_6
2019-02-21 02:16:48 +00:00
invoke-virtual {v12}, Lokio/c;->BV()Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-nez v6, :cond_13
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v12}, Lokio/c;->readByte()B
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
and-int/lit16 v6, v6, 0xff
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {v5, v11}, Lokio/c;->dk(I)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
sget-object v14, Lokhttp3/s;->bmw:[C
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
shr-int/lit8 v15, v6, 0x4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
and-int/lit8 v15, v15, 0xf
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aget-char v14, v14, v15
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {v5, v14}, Lokio/c;->dk(I)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
sget-object v14, Lokhttp3/s;->bmw:[C
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
and-int/lit8 v6, v6, 0xf
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
aget-char v6, v14, v6
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {v5, v6}, Lokio/c;->dk(I)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_13
:goto_7
invoke-static {v13}, Ljava/lang/Character;->charCount(I)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v4, v6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v6, 0x2b
2019-02-04 20:08:30 +00:00
goto/16 :goto_2
2019-02-04 20:29:01 +00:00
:cond_14
2019-02-21 02:16:48 +00:00
invoke-virtual {v5}, Lokio/c;->Cb()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v0
return-object v0
2019-02-04 20:29:01 +00:00
:cond_15
move/from16 v12, p1
2019-02-04 20:08:30 +00:00
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
2019-02-21 02:16:48 +00:00
invoke-virtual {p0, p2}, Lokio/c;->dk(I)Lokio/c;
2019-02-04 20:08:30 +00:00
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
2019-02-21 02:16:48 +00:00
invoke-virtual {p0, v1}, Lokio/c;->dk(I)Lokio/c;
2019-02-04 20:08:30 +00:00
goto :goto_1
:cond_1
2019-02-21 02:16:48 +00:00
invoke-virtual {p0, v0}, Lokio/c;->dj(I)Lokio/c;
2019-02-04 20:08:30 +00:00
: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-21 02:16:48 +00:00
invoke-virtual {v1}, Lokio/c;->Cb()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
2019-02-04 20:32:01 +00:00
invoke-static {v3, p1}, Lokhttp3/s;->g(Ljava/lang/String;Z)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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
2019-02-17 02:24:41 +00:00
.method public static dC(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 dD(Ljava/lang/String;)Ljava/util/List;
2019-02-04 20:08:30 +00:00
.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
2019-02-04 20:29:01 +00:00
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
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
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2019-02-04 20:29:01 +00:00
:goto_2
2019-02-04 20:08:30 +00:00
add-int/lit8 v1, v2, 0x1
goto :goto_0
:cond_3
return-object v0
.end method
2019-02-17 02:24:41 +00:00
.method public static dG(Ljava/lang/String;)Lokhttp3/s;
2019-02-04 20:08:30 +00:00
.locals 0
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
:try_start_0
2019-02-17 02:24:41 +00:00
invoke-static {p0}, Lokhttp3/s;->dH(Ljava/lang/String;)Lokhttp3/s;
2019-02-04 20:08:30 +00:00
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
2019-02-17 02:24:41 +00:00
.method public static dH(Ljava/lang/String;)Lokhttp3/s;
2019-02-04 20:08:30 +00:00
.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-21 02:16:48 +00:00
invoke-virtual {p0}, Lokhttp3/s$a;->Ao()Lokhttp3/s;
2019-02-04 20:08:30 +00:00
move-result-object p0
return-object p0
.end method
2019-02-04 20:32:01 +00:00
.method private static e(Ljava/lang/String;II)Z
2019-02-04 20:08:30 +00:00
.locals 2
2019-02-04 20:32:01 +00:00
add-int/lit8 v0, p1, 0x2
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
if-ge v0, p2, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
move-result p2
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
const/16 v1, 0x25
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
if-ne p2, v1, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
const/4 p2, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
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
2019-02-04 20:08:30 +00:00
.end method
2019-02-04 20:32:01 +00:00
.method private static g(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-21 02:16:48 +00:00
.method public final Af()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
2019-02-22 00:19:04 +00:00
iget-object v1, p0, Lokhttp3/s;->bmx:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iput-object v1, v0, Lokhttp3/s$a;->bmx:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {p0}, Lokhttp3/s;->Ah()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-22 00:19:04 +00:00
iput-object v1, v0, Lokhttp3/s$a;->bmB:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {p0}, Lokhttp3/s;->Ai()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-22 00:19:04 +00:00
iput-object v1, v0, Lokhttp3/s$a;->bmC:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iget-object v1, p0, Lokhttp3/s;->bmy:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iput-object v1, v0, Lokhttp3/s$a;->bmy:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
iget v1, p0, Lokhttp3/s;->port:I
2019-02-22 00:19:04 +00:00
iget-object v2, p0, Lokhttp3/s;->bmx:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lokhttp3/s;->dC(Ljava/lang/String;)I
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iget-object v1, v0, Lokhttp3/s$a;->bmD:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1}, Ljava/util/List;->clear()V
2019-02-22 00:19:04 +00:00
iget-object v1, v0, Lokhttp3/s$a;->bmD:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {p0}, Lokhttp3/s;->Ak()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-21 02:16:48 +00:00
invoke-virtual {p0}, Lokhttp3/s;->Al()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-17 02:24:41 +00:00
invoke-virtual {v0, v1}, Lokhttp3/s$a;->dI(Ljava/lang/String;)Lokhttp3/s$a;
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iput-object v1, v0, Lokhttp3/s$a;->bmF:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iget-object v1, v0, Lokhttp3/s$a;->bmD:Ljava/util/List;
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iget-object v4, v0, Lokhttp3/s$a;->bmD:Ljava/util/List;
2019-02-04 20:08:30 +00:00
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;
2019-02-22 00:19:04 +00:00
iget-object v4, v0, Lokhttp3/s$a;->bmD:Ljava/util/List;
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iget-object v1, v0, Lokhttp3/s$a;->bmE:Ljava/util/List;
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_4
2019-02-22 00:19:04 +00:00
iget-object v1, v0, Lokhttp3/s$a;->bmE:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
:goto_3
if-ge v2, v1, :cond_4
2019-02-22 00:19:04 +00:00
iget-object v3, v0, Lokhttp3/s$a;->bmE:Ljava/util/List;
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iget-object v3, v0, Lokhttp3/s$a;->bmE:Ljava/util/List;
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iget-object v1, v0, Lokhttp3/s$a;->bmF:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_5
2019-02-22 00:19:04 +00:00
iget-object v2, v0, Lokhttp3/s$a;->bmF:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iput-object v1, v0, Lokhttp3/s$a;->bmF:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
: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
2019-02-04 20:29:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-21 02:16:48 +00:00
.method public final Ag()Z
2019-02-04 20:08:30 +00:00
.locals 2
2019-02-22 00:19:04 +00:00
iget-object v0, p0, Lokhttp3/s;->bmx:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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-21 02:16:48 +00:00
.method public final Ah()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
2019-02-22 00:19:04 +00:00
iget-object v0, p0, Lokhttp3/s;->bmx:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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-21 02:16:48 +00:00
.method public final Ai()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
2019-02-22 00:19:04 +00:00
iget-object v2, p0, Lokhttp3/s;->bmx:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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-21 02:16:48 +00:00
.method public final Aj()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
.locals 4
iget-object v0, p0, Lokhttp3/s;->url:Ljava/lang/String;
2019-02-22 00:19:04 +00:00
iget-object v1, p0, Lokhttp3/s;->bmx:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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-21 02:16:48 +00:00
.method public final Ak()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;
2019-02-22 00:19:04 +00:00
iget-object v1, p0, Lokhttp3/s;->bmx:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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-21 02:16:48 +00:00
.method public final Al()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
.locals 4
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
2019-02-22 00:19:04 +00:00
iget-object v0, p0, Lokhttp3/s;->bmA:Ljava/util/List;
2019-02-04 20:08:30 +00:00
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-21 02:16:48 +00:00
.method public final Am()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
.locals 8
const-string v0, "/..."
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, v0}, Lokhttp3/s;->dF(Ljava/lang/String;)Lokhttp3/s$a;
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iput-object v1, v0, Lokhttp3/s$a;->bmB:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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
2019-02-22 00:19:04 +00:00
iput-object v1, v0, Lokhttp3/s$a;->bmC:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {v0}, Lokhttp3/s$a;->Ao()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
2019-02-17 02:24:41 +00:00
.method public final dE(Ljava/lang/String;)Lokhttp3/s;
2019-02-04 20:08:30 +00:00
.locals 0
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, p1}, Lokhttp3/s;->dF(Ljava/lang/String;)Lokhttp3/s$a;
2019-02-04 20:08:30 +00:00
move-result-object p1
if-eqz p1, :cond_0
2019-02-21 02:16:48 +00:00
invoke-virtual {p1}, Lokhttp3/s$a;->Ao()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
2019-02-17 02:24:41 +00:00
.method public final dF(Ljava/lang/String;)Lokhttp3/s$a;
2019-02-04 20:08:30 +00:00
.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