2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lokhttp3/s$a;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "HttpUrl.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lokhttp3/s;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "a"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-11-20 22:09:14 +00:00
|
|
|
.field brf:Ljava/lang/String;
|
2019-08-01 23:08:43 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
.field brg:Ljava/lang/String;
|
2019-08-01 23:08:43 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
.field brk:Ljava/lang/String;
|
2019-10-25 01:57:51 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
.field brl:Ljava/lang/String;
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
.field final brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
.field brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
.field bro:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field port:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
const-string v0, ""
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/s$a;->brk:Ljava/lang/String;
|
2019-10-25 01:57:51 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/s$a;->brl:Ljava/lang/String;
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
const/4 v1, -0x1
|
|
|
|
|
|
|
|
iput v1, p0, Lokhttp3/s$a;->port:I
|
|
|
|
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v1, p0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private e(Ljava/lang/String;II)V
|
|
|
|
.locals 17
|
|
|
|
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
|
|
|
|
move/from16 v1, p2
|
|
|
|
|
|
|
|
move/from16 v2, p3
|
|
|
|
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual/range {p1 .. p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const/16 v4, 0x2f
|
|
|
|
|
|
|
|
const-string v5, ""
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
|
|
|
if-eq v3, v4, :cond_2
|
|
|
|
|
|
|
|
const/16 v4, 0x5c
|
|
|
|
|
|
|
|
if-ne v3, v4, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v3, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v3}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
sub-int/2addr v4, v6
|
|
|
|
|
|
|
|
invoke-interface {v3, v4, v5}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_0
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v3, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v3}, Ljava/util/List;->clear()V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v3, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v3, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto/16 :goto_7
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
|
|
|
move v8, v1
|
|
|
|
|
|
|
|
if-ge v8, v2, :cond_d
|
|
|
|
|
|
|
|
const-string v1, "/\\"
|
|
|
|
|
|
|
|
move-object/from16 v3, p1
|
|
|
|
|
|
|
|
invoke-static {v3, v8, v2, v1}, Lokhttp3/internal/c;->a(Ljava/lang/String;IILjava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
if-ge v1, v2, :cond_4
|
|
|
|
|
|
|
|
const/16 v16, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const/16 v16, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
const/4 v11, 0x1
|
|
|
|
|
|
|
|
const/4 v12, 0x0
|
|
|
|
|
|
|
|
const/4 v13, 0x0
|
|
|
|
|
|
|
|
const/4 v14, 0x1
|
|
|
|
|
|
|
|
const/4 v15, 0x0
|
|
|
|
|
|
|
|
const-string v10, " \"<>^`{}|/\\?#"
|
|
|
|
|
|
|
|
move-object/from16 v7, p1
|
|
|
|
|
|
|
|
move v9, v1
|
|
|
|
|
|
|
|
invoke-static/range {v7 .. v15}, Lokhttp3/s;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
const-string v8, "."
|
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_6
|
|
|
|
|
|
|
|
const-string v8, "%2e"
|
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
:goto_3
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
if-nez v8, :cond_c
|
|
|
|
|
|
|
|
const-string v8, ".."
|
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_7
|
|
|
|
|
|
|
|
const-string v8, "%2e."
|
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_7
|
|
|
|
|
|
|
|
const-string v8, ".%2e"
|
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_7
|
|
|
|
|
|
|
|
const-string v8, "%2e%2e"
|
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_8
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
if-eqz v4, :cond_a
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
sub-int/2addr v7, v6
|
|
|
|
|
|
|
|
invoke-interface {v4, v7}, Ljava/util/List;->remove(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_9
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4}, Ljava/util/List;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-nez v4, :cond_9
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
sub-int/2addr v7, v6
|
|
|
|
|
|
|
|
invoke-interface {v4, v7, v5}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_9
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_a
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
sub-int/2addr v8, v6
|
|
|
|
|
|
|
|
invoke-interface {v4, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
check-cast v4, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_b
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
sub-int/2addr v8, v6
|
|
|
|
|
|
|
|
invoke-interface {v4, v8, v7}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_b
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
if-eqz v16, :cond_c
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
:goto_6
|
|
|
|
if-eqz v16, :cond_3
|
|
|
|
|
|
|
|
:goto_7
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static f(Ljava/lang/String;II)I
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
sub-int v0, p2, p1
|
|
|
|
|
|
|
|
const/4 v1, -0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
if-ge v0, v2, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/16 v2, 0x5a
|
|
|
|
|
|
|
|
const/16 v3, 0x7a
|
|
|
|
|
|
|
|
const/16 v4, 0x41
|
|
|
|
|
|
|
|
const/16 v5, 0x61
|
|
|
|
|
|
|
|
if-lt v0, v5, :cond_1
|
|
|
|
|
|
|
|
if-le v0, v3, :cond_2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-lt v0, v4, :cond_6
|
|
|
|
|
|
|
|
if-le v0, v2, :cond_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
if-ge p1, p2, :cond_6
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-lt v0, v5, :cond_3
|
|
|
|
|
|
|
|
if-le v0, v3, :cond_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
if-lt v0, v4, :cond_4
|
|
|
|
|
|
|
|
if-le v0, v2, :cond_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const/16 v6, 0x30
|
|
|
|
|
|
|
|
if-lt v0, v6, :cond_5
|
|
|
|
|
|
|
|
const/16 v6, 0x39
|
|
|
|
|
|
|
|
if-le v0, v6, :cond_2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const/16 v6, 0x2b
|
|
|
|
|
|
|
|
if-eq v0, v6, :cond_2
|
|
|
|
|
|
|
|
const/16 v6, 0x2d
|
|
|
|
|
|
|
|
if-eq v0, v6, :cond_2
|
|
|
|
|
|
|
|
const/16 v6, 0x2e
|
|
|
|
|
|
|
|
if-eq v0, v6, :cond_2
|
|
|
|
|
|
|
|
const/16 p0, 0x3a
|
|
|
|
|
|
|
|
if-ne v0, p0, :cond_6
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
:goto_0
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static g(Ljava/lang/String;II)I
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge p1, p2, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/16 v2, 0x5c
|
|
|
|
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
|
|
|
|
if-ne v1, v2, :cond_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static h(Ljava/lang/String;II)I
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge p1, p2, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/16 v1, 0x3a
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
|
|
|
|
const/16 v1, 0x5b
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
if-ge p1, p2, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/16 v1, 0x5d
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_1
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return p2
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static i(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-static {p0, p1, p2, v0}, Lokhttp3/s;->b(Ljava/lang/String;IIZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-static {p0}, Lokhttp3/internal/c;->dO(Ljava/lang/String;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static j(Ljava/lang/String;II)I
|
|
|
|
.locals 10
|
|
|
|
|
|
|
|
const/4 v0, -0x1
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v4, ""
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
move v2, p1
|
|
|
|
|
|
|
|
move v3, p2
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v9}, Lokhttp3/s;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-static {p0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
if-lez p0, :cond_0
|
|
|
|
|
|
|
|
const p1, 0xffff
|
|
|
|
|
|
|
|
if-gt p0, p1, :cond_0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
:cond_0
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-11-15 02:21:15 +00:00
|
|
|
.method final Fy()I
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget v0, p0, Lokhttp3/s$a;->port:I
|
|
|
|
|
|
|
|
const/4 v1, -0x1
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/s$a;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-static {v0}, Lokhttp3/s;->dz(Ljava/lang/String;)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final Fz()Lokhttp3/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/s$a;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/s$a;->brg:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/s;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lokhttp3/s;-><init>(Lokhttp3/s$a;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "host == null"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "scheme == null"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final ak(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 7
|
|
|
|
.param p2 # Ljava/lang/String;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
|
|
|
const-string v2, " !\"#$&\'(),/:;<=>?@[]\\^`{|}~"
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v6}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object p1, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const-string v1, " !\"#$&\'(),/:;<=>?@[]\\^`{|}~"
|
|
|
|
|
|
|
|
move-object v0, p2
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v5}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p1, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
|
|
|
|
const-string p2, "name == null"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final al(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 7
|
|
|
|
.param p2 # Ljava/lang/String;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
|
|
|
const-string v2, " \"\'<>#&="
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v6}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object p1, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const-string v1, " \"\'<>#&="
|
|
|
|
|
|
|
|
move-object v0, p2
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v5}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p1, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
|
|
|
|
const-string p2, "encodedName == null"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final b(Lokhttp3/s;Ljava/lang/String;)Lokhttp3/s$a;
|
|
|
|
.locals 21
|
|
|
|
.param p1 # Lokhttp3/s;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
|
|
|
|
move-object/from16 v10, p2
|
|
|
|
|
|
|
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
invoke-static {v10, v8, v2}, Lokhttp3/internal/c;->k(Ljava/lang/String;II)I
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-static {v10, v9, v2}, Lokhttp3/internal/c;->l(Ljava/lang/String;II)I
|
|
|
|
|
|
|
|
move-result v11
|
|
|
|
|
|
|
|
invoke-static {v10, v9, v11}, Lokhttp3/s$a;->f(Ljava/lang/String;II)I
|
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
|
|
|
const/4 v13, -0x1
|
|
|
|
|
|
|
|
if-eq v12, v13, :cond_2
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x6
|
|
|
|
|
|
|
|
const-string v5, "https:"
|
|
|
|
|
|
|
|
move-object/from16 v2, p2
|
|
|
|
|
|
|
|
move v4, v9
|
|
|
|
|
|
|
|
invoke-virtual/range {v2 .. v7}, Ljava/lang/String;->regionMatches(ZILjava/lang/String;II)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
|
|
|
|
const-string v2, "https"
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v2, v0, Lokhttp3/s$a;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-int/lit8 v9, v9, 0x6
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x5
|
|
|
|
|
|
|
|
const-string v5, "http:"
|
|
|
|
|
|
|
|
move-object/from16 v2, p2
|
|
|
|
|
|
|
|
move v4, v9
|
|
|
|
|
|
|
|
invoke-virtual/range {v2 .. v7}, Ljava/lang/String;->regionMatches(ZILjava/lang/String;II)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
|
|
|
|
const-string v2, "http"
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v2, v0, Lokhttp3/s$a;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-int/lit8 v9, v9, 0x5
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, "Expected URL scheme \'http\' or \'https\' but was \'"
|
|
|
|
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v10, v8, v12}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, "\'"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eqz v1, :cond_12
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v2, v1, Lokhttp3/s;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v2, v0, Lokhttp3/s$a;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-static {v10, v9, v11}, Lokhttp3/s$a;->g(Ljava/lang/String;II)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
const/16 v12, 0x3f
|
|
|
|
|
|
|
|
const/16 v14, 0x23
|
|
|
|
|
|
|
|
if-ge v2, v3, :cond_5
|
|
|
|
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v3, v1, Lokhttp3/s;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/s$a;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-nez v3, :cond_3
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lokhttp3/s;->Fs()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v2, v0, Lokhttp3/s$a;->brk:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lokhttp3/s;->Ft()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v2, v0, Lokhttp3/s$a;->brl:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v2, v1, Lokhttp3/s;->brg:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v2, v0, Lokhttp3/s$a;->brg:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v2, v1, Lokhttp3/s;->port:I
|
|
|
|
|
|
|
|
iput v2, v0, Lokhttp3/s$a;->port:I
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v2, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v2}, Ljava/util/List;->clear()V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v2, v0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lokhttp3/s;->Fv()Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
|
|
|
|
|
|
|
|
if-eq v9, v11, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {v10, v9}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-ne v2, v14, :cond_e
|
|
|
|
|
|
|
|
:cond_4
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lokhttp3/s;->Fw()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/s$a;->dF(Ljava/lang/String;)Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto/16 :goto_6
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_1
|
|
|
|
add-int/2addr v9, v2
|
|
|
|
|
|
|
|
move v2, v9
|
|
|
|
|
|
|
|
const/16 v16, 0x0
|
|
|
|
|
|
|
|
const/16 v17, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
const-string v1, "@/\\?#"
|
|
|
|
|
|
|
|
invoke-static {v10, v2, v11, v1}, Lokhttp3/internal/c;->a(Ljava/lang/String;IILjava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v9
|
|
|
|
|
|
|
|
if-eq v9, v11, :cond_6
|
|
|
|
|
|
|
|
invoke-virtual {v10, v9}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
const/4 v1, -0x1
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-eq v1, v13, :cond_b
|
|
|
|
|
|
|
|
if-eq v1, v14, :cond_b
|
|
|
|
|
|
|
|
const/16 v3, 0x2f
|
|
|
|
|
|
|
|
if-eq v1, v3, :cond_b
|
|
|
|
|
|
|
|
const/16 v3, 0x5c
|
|
|
|
|
|
|
|
if-eq v1, v3, :cond_b
|
|
|
|
|
|
|
|
if-eq v1, v12, :cond_b
|
|
|
|
|
|
|
|
const/16 v3, 0x40
|
|
|
|
|
|
|
|
if-eq v1, v3, :cond_7
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
const-string v8, "%40"
|
|
|
|
|
|
|
|
if-nez v16, :cond_a
|
|
|
|
|
|
|
|
const/16 v1, 0x3a
|
|
|
|
|
|
|
|
invoke-static {v10, v2, v9, v1}, Lokhttp3/internal/c;->a(Ljava/lang/String;IIC)I
|
|
|
|
|
|
|
|
move-result v7
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/16 v18, 0x0
|
|
|
|
|
|
|
|
const/16 v19, 0x1
|
|
|
|
|
|
|
|
const/16 v20, 0x0
|
|
|
|
|
|
|
|
const-string v4, " \"\':;<=>@[]^`{}|/\\?#"
|
|
|
|
|
|
|
|
move-object/from16 v1, p2
|
|
|
|
|
|
|
|
move v3, v7
|
|
|
|
|
|
|
|
move v15, v7
|
|
|
|
|
|
|
|
move/from16 v7, v18
|
|
|
|
|
|
|
|
move-object v14, v8
|
|
|
|
|
|
|
|
move/from16 v8, v19
|
|
|
|
|
|
|
|
move v12, v9
|
|
|
|
|
|
|
|
move-object/from16 v9, v20
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v9}, Lokhttp3/s;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v17, :cond_8
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v3, v0, Lokhttp3/s$a;->brk:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:cond_8
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->brk:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eq v15, v12, :cond_9
|
|
|
|
|
|
|
|
add-int/lit8 v2, v15, 0x1
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
const-string v4, " \"\':;<=>@[]^`{}|/\\?#"
|
|
|
|
|
|
|
|
move-object/from16 v1, p2
|
|
|
|
|
|
|
|
move v3, v12
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v9}, Lokhttp3/s;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->brl:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v16, 0x1
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
const/16 v17, 0x1
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
move-object v14, v8
|
|
|
|
|
|
|
|
move v12, v9
|
|
|
|
|
|
|
|
new-instance v15, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v15}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, v0, Lokhttp3/s$a;->brl:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v15, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v15, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
const-string v4, " \"\':;<=>@[]^`{}|/\\?#"
|
|
|
|
|
|
|
|
move-object/from16 v1, p2
|
|
|
|
|
|
|
|
move v3, v12
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v9}, Lokhttp3/s;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v15, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v15}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->brl:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_4
|
|
|
|
add-int/lit8 v2, v12, 0x1
|
|
|
|
|
|
|
|
const/16 v12, 0x3f
|
|
|
|
|
|
|
|
const/16 v14, 0x23
|
|
|
|
|
|
|
|
goto/16 :goto_2
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
move v12, v9
|
|
|
|
|
|
|
|
invoke-static {v10, v2, v12}, Lokhttp3/s$a;->h(Ljava/lang/String;II)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
add-int/lit8 v3, v1, 0x1
|
|
|
|
|
|
|
|
const/16 v4, 0x22
|
|
|
|
|
|
|
|
if-ge v3, v12, :cond_d
|
|
|
|
|
|
|
|
invoke-static {v10, v2, v1}, Lokhttp3/s$a;->i(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v5, v0, Lokhttp3/s$a;->brg:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v10, v3, v12}, Lokhttp3/s$a;->j(Ljava/lang/String;II)I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
iput v5, v0, Lokhttp3/s$a;->port:I
|
|
|
|
|
|
|
|
iget v5, v0, Lokhttp3/s$a;->port:I
|
|
|
|
|
|
|
|
if-eq v5, v13, :cond_c
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v5, "Invalid URL port: \""
|
|
|
|
|
|
|
|
invoke-direct {v2, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v10, v3, v12}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
invoke-static {v10, v2, v1}, Lokhttp3/s$a;->i(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v3, v0, Lokhttp3/s$a;->brg:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v3, v0, Lokhttp3/s$a;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-static {v3}, Lokhttp3/s;->dz(Ljava/lang/String;)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
iput v3, v0, Lokhttp3/s$a;->port:I
|
|
|
|
|
|
|
|
:goto_5
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v3, v0, Lokhttp3/s$a;->brg:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_11
|
|
|
|
|
|
|
|
move v9, v12
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
:goto_6
|
|
|
|
const-string v1, "?#"
|
|
|
|
|
|
|
|
invoke-static {v10, v9, v11, v1}, Lokhttp3/internal/c;->a(Ljava/lang/String;IILjava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v10, v9, v1}, Lokhttp3/s$a;->e(Ljava/lang/String;II)V
|
|
|
|
|
|
|
|
if-ge v1, v11, :cond_f
|
|
|
|
|
|
|
|
invoke-virtual {v10, v1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/16 v3, 0x3f
|
|
|
|
|
|
|
|
if-ne v2, v3, :cond_f
|
|
|
|
|
|
|
|
const/16 v2, 0x23
|
|
|
|
|
|
|
|
invoke-static {v10, v1, v11, v2}, Lokhttp3/internal/c;->a(Ljava/lang/String;IIC)I
|
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x1
|
|
|
|
|
|
|
|
const/4 v8, 0x1
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
const-string v4, " \"\'<>#"
|
|
|
|
|
|
|
|
move-object/from16 v1, p2
|
|
|
|
|
|
|
|
move v3, v12
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v9}, Lokhttp3/s;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-static {v1}, Lokhttp3/s;->dA(Ljava/lang/String;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move v1, v12
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
if-ge v1, v11, :cond_10
|
|
|
|
|
|
|
|
invoke-virtual {v10, v1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/16 v3, 0x23
|
|
|
|
|
|
|
|
if-ne v2, v3, :cond_10
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
add-int/2addr v2, v1
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
const-string v4, ""
|
|
|
|
|
|
|
|
move-object/from16 v1, p2
|
|
|
|
|
|
|
|
move v3, v11
|
|
|
|
|
|
|
|
invoke-static/range {v1 .. v9}, Lokhttp3/s;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object v1, v0, Lokhttp3/s$a;->bro:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_10
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
new-instance v3, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v6, "Invalid URL host: \""
|
|
|
|
|
|
|
|
invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v10, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v3, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v3
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string v2, "Expected URL scheme \'http\' or \'https\' but no colon was found"
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final dF(Ljava/lang/String;)Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 6
|
|
|
|
.param p1 # Ljava/lang/String;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
const-string v1, " \"\'<>#"
|
|
|
|
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v5}, Lokhttp3/s;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-static {p1}, Lokhttp3/s;->dA(Ljava/lang/String;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
2019-11-20 22:09:14 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "://"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string v1, "//"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
:goto_0
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brk:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/16 v2, 0x3a
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brl:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
|
|
|
|
:cond_1
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brk:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brl:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brl:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/16 v1, 0x40
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
:cond_3
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brg:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v3, -0x1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eq v1, v3, :cond_4
|
|
|
|
|
|
|
|
const/16 v1, 0x5b
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brg:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 v1, 0x5d
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_4
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brg:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_1
|
|
|
|
iget v1, p0, Lokhttp3/s$a;->port:I
|
|
|
|
|
|
|
|
if-ne v1, v3, :cond_6
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
|
|
|
|
:cond_6
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/s$a;->Fy()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v3, p0, Lokhttp3/s$a;->brf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_7
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-static {v3}, Lokhttp3/s;->dz(Ljava/lang/String;)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eq v1, v3, :cond_8
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
:cond_8
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brm:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lokhttp3/s;->a(Ljava/lang/StringBuilder;Ljava/util/List;)V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
|
|
|
|
const/16 v1, 0x3f
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->brn:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lokhttp3/s;->b(Ljava/lang/StringBuilder;Ljava/util/List;)V
|
|
|
|
|
|
|
|
:cond_9
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->bro:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_a
|
|
|
|
|
|
|
|
const/16 v1, 0x23
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/s$a;->bro:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|