mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
2105 lines
56 KiB
Smali
2105 lines
56 KiB
Smali
.class public final Lokhttp3/HttpUrl;
|
|
.super Ljava/lang/Object;
|
|
.source "HttpUrl.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/HttpUrl$Builder;,
|
|
Lokhttp3/HttpUrl$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {
|
|
0x1,
|
|
0x0,
|
|
0x3
|
|
}
|
|
d1 = {
|
|
"\u0000H\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0004\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010 \n\u0002\u0008\r\n\u0002\u0010\u000b\n\u0002\u0008\u0005\n\u0002\u0010\"\n\u0002\u0008\u000e\n\u0002\u0018\u0002\n\u0002\u0008\u0013\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0007\u0018\u0000 J2\u00020\u0001:\u0002IJBa\u0008\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0008\u0012\u000c\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00030\n\u0012\u0010\u0010\u000b\u001a\u000c\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u00010\n\u0012\u0008\u0010\u000c\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\r\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u000eJ\u000f\u0010\u000f\u001a\u0004\u0018\u00010\u0003H\u0007\u00a2\u0006\u0002\u0008!J\r\u0010\u0011\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008\"J\r\u0010\u0012\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008#J\u0013\u0010\u0013\u001a\u0008\u0012\u0004\u0012\u00020\u00030\nH\u0007\u00a2\u0006\u0002\u0008$J\u000f\u0010\u0015\u001a\u0004\u0018\u00010\u0003H\u0007\u00a2\u0006\u0002\u0008%J\r\u0010\u0016\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008&J\u0013\u0010\'\u001a\u00020\u00182\u0008\u0010(\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\u000f\u0010\u000c\u001a\u0004\u0018\u00010\u0003H\u0007\u00a2\u0006\u0002\u0008)J\u0008\u0010*\u001a\u00020\u0008H\u0016J\r\u0010\u0006\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008+J\u0006\u0010,\u001a\u00020-J\u0010\u0010,\u001a\u0004\u0018\u00010-2\u0006\u0010.\u001a\u00020\u0003J\r\u0010\u0005\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008/J\u0013\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00030\nH\u0007\u00a2\u0006\u0002\u00080J\r\u0010\u001a\u001a\u00020\u0008H\u0007\u00a2\u0006\u0002\u00081J\r\u0010\u0007\u001a\u00020\u0008H\u0007\u00a2\u0006\u0002\u00082J\u000f\u0010\u001c\u001a\u0004\u0018\u00010\u0003H\u0007\u00a2\u0006\u0002\u00083J\u0010\u00104\u001a\u0004\u0018\u00010\u00032\u0006\u00105\u001a\u00020\u0003J\u000e\u00106\u001a\u00020\u00032\u0006\u00107\u001a\u00020\u0008J\u0013\u0010\u001d\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u001eH\u0007\u00a2\u0006\u0002\u00088J\u0010\u00109\u001a\u0004\u0018\u00010\u00032\u0006\u00107\u001a\u00020\u0008J\u0016\u0010:\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00030\n2\u0006\u00105\u001a\u00020\u0003J\r\u0010 \u001a\u00020\u0008H\u0007\u00a2\u0006\u0002\u0008;J\u0006\u0010<\u001a\u00020\u0003J\u0010\u0010=\u001a\u0004\u0018\u00010\u00002\u0006\u0010.\u001a\u00020\u0003J\r\u0010\u0002\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008>J\u0008\u0010?\u001a\u00020\u0003H\u0016J\r\u0010@\u001a\u00020AH\u0007\u00a2\u0006\u0002\u0008BJ\r\u0010C\u001a\u00020DH\u0007\u00a2\u0006\u0002\u0008\rJ\u0008\u0010E\u001a\u0004\u0018\u00010\u0003J\r\u0010B\u001a\u00020AH\u0007\u00a2\u0006\u0002\u0008FJ\r\u0010\r\u001a\u00020DH\u0007\u00a2\u0006\u0002\u0008GJ\r\u0010\u0004\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008HR\u0013\u0010\u000f\u001a\u0004\u0018\u00010\u00038G\u00a2\u0006\u0006\u001a\u0004\u0008\u000f\u0010\u0010R\u0011\u0010\u0011\u001a\u00020\u00038G\u00a2\u0006\u0006\u001a\u0004\u0008\u0011\u0010\u0010R\u0011\u0010\u0012\u001a\u00020\u00038G\u00a2\u0006\u0006\u001a\u0004\u0008\u0012\u0010\u0010R\u0017\u0010\u0013\u001a\u0008\u0012\u0004\u0012\u00020\u00030\n8G\u00a2\u0006\u0006\u001a\u0004\u0008\u0013\u0010\u0014R\u0013\u0010\u0015\u001a\u0004\u0018\u00010\u00038G\u00a2\u0006\u0006\u001a\u0004\u0008\u0015\u0010\u0010R\u0011\u0010\u0016\u001a\u00020\u00038G\u00a2\u0006\u0006\u001a\u0004\u0008\u0016\u0010\u0010R\u0015\u0010\u000c\u001a\u0004\u0018\u00010\u00038\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000c\u0010\u0010R\u0013\u0010\u0006\u001a\u00020\u00038\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0006\u0010\u0010R\u0011\u0010\u0017\u001a\u00020\u0018\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0017\u0010\u0019R\u0013\u0010\u0005\u001a\u00020\u00038\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0005\u0010\u0010R\u0019\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00030\n8\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\t\u0010\u0014R\u0011\u0010\u001a\u001a\u00020\u00088G\u00a2\u0006\u0006\u001a\u0004\u0008\u001a\u0010\u001bR\u0013\u0010\u0007\u001a\u00020\u00088\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0007\u0010\u001bR\u0013\u0010\u001c\u001a\u0004\u0018\u00010\u00038G\u00a2\u0006\u0006\u001a\u0004\u0008\u001c\u0010\u0010R\u0018\u0010\u000b\u001a\u000c\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u00010\nX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0017\u0010\u001d\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u001e8G\u00a2\u0006\u0006\u001a\u0004\u0008\u001d\u0010\u001fR\u0011\u0010 \u001a\u00020\u00088G\u00a2\u0006\u0006\u001a\u0004\u0008 \u0010\u001bR\u0013\u0010\u0002\u001a\u00020\u00038\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0002\u0010\u0010R\u000e\u0010\r\u001a\u00020\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0013\u0010\u0004\u001a\u00020\u00038\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0004\u0010\u0010\u00a8\u0006K"
|
|
}
|
|
d2 = {
|
|
"Lokhttp3/HttpUrl;",
|
|
"",
|
|
"scheme",
|
|
"",
|
|
"username",
|
|
"password",
|
|
"host",
|
|
"port",
|
|
"",
|
|
"pathSegments",
|
|
"",
|
|
"queryNamesAndValues",
|
|
"fragment",
|
|
"url",
|
|
"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V",
|
|
"encodedFragment",
|
|
"()Ljava/lang/String;",
|
|
"encodedPassword",
|
|
"encodedPath",
|
|
"encodedPathSegments",
|
|
"()Ljava/util/List;",
|
|
"encodedQuery",
|
|
"encodedUsername",
|
|
"isHttps",
|
|
"",
|
|
"()Z",
|
|
"pathSize",
|
|
"()I",
|
|
"query",
|
|
"queryParameterNames",
|
|
"",
|
|
"()Ljava/util/Set;",
|
|
"querySize",
|
|
"-deprecated_encodedFragment",
|
|
"-deprecated_encodedPassword",
|
|
"-deprecated_encodedPath",
|
|
"-deprecated_encodedPathSegments",
|
|
"-deprecated_encodedQuery",
|
|
"-deprecated_encodedUsername",
|
|
"equals",
|
|
"other",
|
|
"-deprecated_fragment",
|
|
"hashCode",
|
|
"-deprecated_host",
|
|
"newBuilder",
|
|
"Lokhttp3/HttpUrl$Builder;",
|
|
"link",
|
|
"-deprecated_password",
|
|
"-deprecated_pathSegments",
|
|
"-deprecated_pathSize",
|
|
"-deprecated_port",
|
|
"-deprecated_query",
|
|
"queryParameter",
|
|
"name",
|
|
"queryParameterName",
|
|
"index",
|
|
"-deprecated_queryParameterNames",
|
|
"queryParameterValue",
|
|
"queryParameterValues",
|
|
"-deprecated_querySize",
|
|
"redact",
|
|
"resolve",
|
|
"-deprecated_scheme",
|
|
"toString",
|
|
"toUri",
|
|
"Ljava/net/URI;",
|
|
"uri",
|
|
"toUrl",
|
|
"Ljava/net/URL;",
|
|
"topPrivateDomain",
|
|
"-deprecated_uri",
|
|
"-deprecated_url",
|
|
"-deprecated_username",
|
|
"Builder",
|
|
"Companion",
|
|
"okhttp"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final Companion:Lokhttp3/HttpUrl$Companion;
|
|
|
|
.field public static final FORM_ENCODE_SET:Ljava/lang/String; = " \"\':;<=>@[]^`{}|/\\?#&!$(),~"
|
|
|
|
.field public static final FRAGMENT_ENCODE_SET:Ljava/lang/String; = ""
|
|
|
|
.field public static final FRAGMENT_ENCODE_SET_URI:Ljava/lang/String; = " \"#<>\\^`{|}"
|
|
|
|
.field private static final HEX_DIGITS:[C
|
|
|
|
.field public static final PASSWORD_ENCODE_SET:Ljava/lang/String; = " \"\':;<=>@[]^`{}|/\\?#"
|
|
|
|
.field public static final PATH_SEGMENT_ENCODE_SET:Ljava/lang/String; = " \"<>^`{}|/\\?#"
|
|
|
|
.field public static final PATH_SEGMENT_ENCODE_SET_URI:Ljava/lang/String; = "[]"
|
|
|
|
.field public static final QUERY_COMPONENT_ENCODE_SET:Ljava/lang/String; = " !\"#$&\'(),/:;<=>?@[]\\^`{|}~"
|
|
|
|
.field public static final QUERY_COMPONENT_ENCODE_SET_URI:Ljava/lang/String; = "\\^`{|}"
|
|
|
|
.field public static final QUERY_COMPONENT_REENCODE_SET:Ljava/lang/String; = " \"\'<>#&="
|
|
|
|
.field public static final QUERY_ENCODE_SET:Ljava/lang/String; = " \"\'<>#"
|
|
|
|
.field public static final USERNAME_ENCODE_SET:Ljava/lang/String; = " \"\':;<=>@[]^`{}|/\\?#"
|
|
|
|
|
|
# instance fields
|
|
.field private final fragment:Ljava/lang/String;
|
|
|
|
.field private final host:Ljava/lang/String;
|
|
|
|
.field private final isHttps:Z
|
|
|
|
.field private final password:Ljava/lang/String;
|
|
|
|
.field private final pathSegments:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final port:I
|
|
|
|
.field private final queryNamesAndValues:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final scheme:Ljava/lang/String;
|
|
|
|
.field private final url:Ljava/lang/String;
|
|
|
|
.field private final username:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lokhttp3/HttpUrl$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lokhttp3/HttpUrl$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lokhttp3/HttpUrl;->Companion:Lokhttp3/HttpUrl$Companion;
|
|
|
|
const/16 v0, 0x10
|
|
|
|
new-array v0, v0, [C
|
|
|
|
fill-array-data v0, :array_0
|
|
|
|
sput-object v0, Lokhttp3/HttpUrl;->HEX_DIGITS:[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 public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
"I",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "scheme"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "username"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "password"
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "host"
|
|
|
|
invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "pathSegments"
|
|
|
|
invoke-static {p6, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "url"
|
|
|
|
invoke-static {p9, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 288
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lokhttp3/HttpUrl;->scheme:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lokhttp3/HttpUrl;->username:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lokhttp3/HttpUrl;->password:Ljava/lang/String;
|
|
|
|
iput-object p4, p0, Lokhttp3/HttpUrl;->host:Ljava/lang/String;
|
|
|
|
iput p5, p0, Lokhttp3/HttpUrl;->port:I
|
|
|
|
iput-object p6, p0, Lokhttp3/HttpUrl;->pathSegments:Ljava/util/List;
|
|
|
|
iput-object p7, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
iput-object p8, p0, Lokhttp3/HttpUrl;->fragment:Ljava/lang/String;
|
|
|
|
iput-object p9, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
const-string p2, "https"
|
|
|
|
.line 384
|
|
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
iput-boolean p1, p0, Lokhttp3/HttpUrl;->isHttps:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getHEX_DIGITS$cp()[C
|
|
.locals 1
|
|
|
|
sget-object v0, Lokhttp3/HttpUrl;->HEX_DIGITS:[C
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final defaultPort(Ljava/lang/String;)I
|
|
.locals 1
|
|
.annotation runtime Lkotlin/jvm/JvmStatic;
|
|
.end annotation
|
|
|
|
sget-object v0, Lokhttp3/HttpUrl;->Companion:Lokhttp3/HttpUrl$Companion;
|
|
|
|
invoke-virtual {v0, p0}, Lokhttp3/HttpUrl$Companion;->defaultPort(Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final get(Ljava/lang/String;)Lokhttp3/HttpUrl;
|
|
.locals 1
|
|
.annotation runtime Lkotlin/jvm/JvmStatic;
|
|
.end annotation
|
|
|
|
sget-object v0, Lokhttp3/HttpUrl;->Companion:Lokhttp3/HttpUrl$Companion;
|
|
|
|
invoke-virtual {v0, p0}, Lokhttp3/HttpUrl$Companion;->get(Ljava/lang/String;)Lokhttp3/HttpUrl;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final get(Ljava/net/URI;)Lokhttp3/HttpUrl;
|
|
.locals 1
|
|
.annotation runtime Lkotlin/jvm/JvmStatic;
|
|
.end annotation
|
|
|
|
sget-object v0, Lokhttp3/HttpUrl;->Companion:Lokhttp3/HttpUrl$Companion;
|
|
|
|
invoke-virtual {v0, p0}, Lokhttp3/HttpUrl$Companion;->get(Ljava/net/URI;)Lokhttp3/HttpUrl;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final get(Ljava/net/URL;)Lokhttp3/HttpUrl;
|
|
.locals 1
|
|
.annotation runtime Lkotlin/jvm/JvmStatic;
|
|
.end annotation
|
|
|
|
sget-object v0, Lokhttp3/HttpUrl;->Companion:Lokhttp3/HttpUrl$Companion;
|
|
|
|
invoke-virtual {v0, p0}, Lokhttp3/HttpUrl$Companion;->get(Ljava/net/URL;)Lokhttp3/HttpUrl;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final parse(Ljava/lang/String;)Lokhttp3/HttpUrl;
|
|
.locals 1
|
|
.annotation runtime Lkotlin/jvm/JvmStatic;
|
|
.end annotation
|
|
|
|
sget-object v0, Lokhttp3/HttpUrl;->Companion:Lokhttp3/HttpUrl$Companion;
|
|
|
|
invoke-virtual {v0, p0}, Lokhttp3/HttpUrl$Companion;->parse(Ljava/lang/String;)Lokhttp3/HttpUrl;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final -deprecated_encodedFragment()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "encodedFragment"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 900
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedFragment()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_encodedPassword()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "encodedPassword"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 816
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedPassword()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_encodedPath()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "encodedPath"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 851
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedPath()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_encodedPathSegments()Ljava/util/List;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "encodedPathSegments"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 858
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedPathSegments()Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_encodedQuery()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "encodedQuery"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 872
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedQuery()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_encodedUsername()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "encodedUsername"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 802
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedUsername()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_fragment()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "fragment"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->fragment:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_host()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "host"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->host:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_password()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "password"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->password:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_pathSegments()Ljava/util/List;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "pathSegments"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->pathSegments:Ljava/util/List;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_pathSize()I
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "pathSize"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 844
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->pathSize()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final -deprecated_port()I
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "port"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
iget p0, p0, Lokhttp3/HttpUrl;->port:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final -deprecated_query()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "query"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 879
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->query()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_queryParameterNames()Ljava/util/Set;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "queryParameterNames"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 893
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->queryParameterNames()Ljava/util/Set;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_querySize()I
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "querySize"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 886
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->querySize()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final -deprecated_scheme()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "scheme"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->scheme:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_uri()Ljava/net/URI;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to toUri()"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "toUri()"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 788
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->uri()Ljava/net/URI;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_url()Ljava/net/URL;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to toUrl()"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "toUrl()"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.line 781
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->url()Ljava/net/URL;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final -deprecated_username()Ljava/lang/String;
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
|
|
message = "moved to val"
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "username"
|
|
imports = {}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->username:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final encodedFragment()Ljava/lang/String;
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->fragment:Ljava/lang/String;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
.line 690
|
|
move-object v1, v0
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
const/16 v2, 0x23
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x6
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 691
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "(this as java.lang.String).substring(startIndex)"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
const-string v0, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public final encodedPassword()Ljava/lang/String;
|
|
.locals 8
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->password:Ljava/lang/String;
|
|
|
|
.line 453
|
|
check-cast v0, Ljava/lang/CharSequence;
|
|
|
|
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string p0, ""
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
.line 454
|
|
move-object v1, v0
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
const/16 v2, 0x3a
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->scheme:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v3, v0, 0x3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x4
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
iget-object v1, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
.line 455
|
|
move-object v2, v1
|
|
|
|
check-cast v2, Ljava/lang/CharSequence;
|
|
|
|
const/16 v3, 0x40
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x6
|
|
|
|
const/4 v7, 0x0
|
|
|
|
invoke-static/range {v2 .. v7}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
|
|
|
move-result v1
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 456
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
const-string v0, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public final encodedPath()Ljava/lang/String;
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
.line 483
|
|
move-object v1, v0
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->scheme:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v3, v0, 0x3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x4
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
const-string v2, "?#"
|
|
|
|
.line 484
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v3
|
|
|
|
invoke-static {v1, v2, v0, v3}, Lokhttp3/internal/Util;->delimiterOffset(Ljava/lang/String;Ljava/lang/String;II)I
|
|
|
|
move-result v1
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 485
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
const-string v0, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public final encodedPathSegments()Ljava/util/List;
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
.line 500
|
|
move-object v1, v0
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->scheme:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v3, v0, 0x3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x4
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
const-string v2, "?#"
|
|
|
|
.line 501
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v3
|
|
|
|
invoke-static {v1, v2, v0, v3}, Lokhttp3/internal/Util;->delimiterOffset(Ljava/lang/String;Ljava/lang/String;II)I
|
|
|
|
move-result v1
|
|
|
|
.line 502
|
|
new-instance v2, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
check-cast v2, Ljava/util/List;
|
|
|
|
:goto_0
|
|
if-ge v0, v1, :cond_1
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
iget-object v3, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
const/16 v4, 0x2f
|
|
|
|
.line 506
|
|
invoke-static {v3, v4, v0, v1}, Lokhttp3/internal/Util;->delimiterOffset(Ljava/lang/String;CII)I
|
|
|
|
move-result v3
|
|
|
|
iget-object v4, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
.line 507
|
|
invoke-virtual {v4, v0, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v4, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {v0, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
move v0, v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
const-string v0, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_1
|
|
return-object v2
|
|
.end method
|
|
|
|
.method public final encodedQuery()Ljava/lang/String;
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
.line 528
|
|
move-object v1, v0
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
const/16 v2, 0x3f
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x6
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-static/range {v1 .. v6}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
iget-object v1, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
const/16 v2, 0x23
|
|
|
|
.line 529
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v3
|
|
|
|
invoke-static {v1, v2, v0, v3}, Lokhttp3/internal/Util;->delimiterOffset(Ljava/lang/String;CII)I
|
|
|
|
move-result v1
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 530
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
const-string v0, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public final encodedUsername()Ljava/lang/String;
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->username:Ljava/lang/String;
|
|
|
|
.line 435
|
|
check-cast v0, Ljava/lang/CharSequence;
|
|
|
|
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string p0, ""
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->scheme:Ljava/lang/String;
|
|
|
|
.line 436
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, 0x3
|
|
|
|
iget-object v1, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
const-string v2, ":@"
|
|
|
|
.line 437
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v3
|
|
|
|
invoke-static {v1, v2, v0, v3}, Lokhttp3/internal/Util;->delimiterOffset(Ljava/lang/String;Ljava/lang/String;II)I
|
|
|
|
move-result v1
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 438
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
const-string v0, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 1
|
|
|
|
.line 744
|
|
instance-of v0, p1, Lokhttp3/HttpUrl;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lokhttp3/HttpUrl;
|
|
|
|
iget-object p1, p1, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public final fragment()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->fragment:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
.line 747
|
|
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final host()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->host:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final isHttps()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Lokhttp3/HttpUrl;->isHttps:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final newBuilder()Lokhttp3/HttpUrl$Builder;
|
|
.locals 4
|
|
|
|
.line 717
|
|
new-instance v0, Lokhttp3/HttpUrl$Builder;
|
|
|
|
invoke-direct {v0}, Lokhttp3/HttpUrl$Builder;-><init>()V
|
|
|
|
iget-object v1, p0, Lokhttp3/HttpUrl;->scheme:Ljava/lang/String;
|
|
|
|
.line 718
|
|
invoke-virtual {v0, v1}, Lokhttp3/HttpUrl$Builder;->setScheme$okhttp(Ljava/lang/String;)V
|
|
|
|
.line 719
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedUsername()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/HttpUrl$Builder;->setEncodedUsername$okhttp(Ljava/lang/String;)V
|
|
|
|
.line 720
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedPassword()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/HttpUrl$Builder;->setEncodedPassword$okhttp(Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lokhttp3/HttpUrl;->host:Ljava/lang/String;
|
|
|
|
.line 721
|
|
invoke-virtual {v0, v1}, Lokhttp3/HttpUrl$Builder;->setHost$okhttp(Ljava/lang/String;)V
|
|
|
|
iget v1, p0, Lokhttp3/HttpUrl;->port:I
|
|
|
|
sget-object v2, Lokhttp3/HttpUrl;->Companion:Lokhttp3/HttpUrl$Companion;
|
|
|
|
iget-object v3, p0, Lokhttp3/HttpUrl;->scheme:Ljava/lang/String;
|
|
|
|
.line 723
|
|
invoke-virtual {v2, v3}, Lokhttp3/HttpUrl$Companion;->defaultPort(Ljava/lang/String;)I
|
|
|
|
move-result v2
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
iget v1, p0, Lokhttp3/HttpUrl;->port:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, -0x1
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, v1}, Lokhttp3/HttpUrl$Builder;->setPort$okhttp(I)V
|
|
|
|
.line 724
|
|
invoke-virtual {v0}, Lokhttp3/HttpUrl$Builder;->getEncodedPathSegments$okhttp()Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->clear()V
|
|
|
|
.line 725
|
|
invoke-virtual {v0}, Lokhttp3/HttpUrl$Builder;->getEncodedPathSegments$okhttp()Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedPathSegments()Ljava/util/List;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/util/Collection;
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
|
|
|
|
.line 726
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedQuery()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/HttpUrl$Builder;->encodedQuery(Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
|
|
|
|
.line 727
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->encodedFragment()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {v0, p0}, Lokhttp3/HttpUrl$Builder;->setEncodedFragment$okhttp(Ljava/lang/String;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final newBuilder(Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
|
|
.locals 1
|
|
|
|
const-string v0, "link"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 737
|
|
:try_start_0
|
|
new-instance v0, Lokhttp3/HttpUrl$Builder;
|
|
|
|
invoke-direct {v0}, Lokhttp3/HttpUrl$Builder;-><init>()V
|
|
|
|
invoke-virtual {v0, p0, p1}, Lokhttp3/HttpUrl$Builder;->parse$okhttp(Lokhttp3/HttpUrl;Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
|
|
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final password()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->password:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final pathSegments()Ljava/util/List;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->pathSegments:Ljava/util/List;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final pathSize()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->pathSegments:Ljava/util/List;
|
|
|
|
.line 469
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final port()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Lokhttp3/HttpUrl;->port:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final query()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 549
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
sget-object v1, Lokhttp3/HttpUrl;->Companion:Lokhttp3/HttpUrl$Companion;
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
.line 550
|
|
invoke-virtual {v1, p0, v0}, Lokhttp3/HttpUrl$Companion;->toQueryString$okhttp(Ljava/util/List;Ljava/lang/StringBuilder;)V
|
|
|
|
.line 551
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final queryParameter(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 5
|
|
|
|
const-string v0, "name"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
const/4 v2, 0x0
|
|
|
|
.line 586
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v2, v0}, Lkotlin/ranges/RangesKt;->until(II)Lkotlin/ranges/IntRange;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lkotlin/ranges/IntProgression;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
invoke-static {v0, v2}, Lkotlin/ranges/RangesKt;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lkotlin/ranges/IntProgression;->getFirst()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0}, Lkotlin/ranges/IntProgression;->getLast()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v0}, Lkotlin/ranges/IntProgression;->getStep()I
|
|
|
|
move-result v0
|
|
|
|
if-ltz v0, :cond_1
|
|
|
|
if-gt v2, v3, :cond_3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-lt v2, v3, :cond_3
|
|
|
|
:goto_0
|
|
iget-object v4, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
.line 587
|
|
invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Ljava/lang/String;
|
|
|
|
invoke-static {p1, v4}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 588
|
|
invoke-interface {p0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
|
|
return-object p0
|
|
|
|
:cond_2
|
|
if-eq v2, v3, :cond_3
|
|
|
|
add-int/2addr v2, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public final queryParameterName(I)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
mul-int/lit8 p1, p1, 0x2
|
|
|
|
.line 655
|
|
invoke-interface {p0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
|
|
return-object p0
|
|
|
|
.line 654
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IndexOutOfBoundsException;-><init>()V
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public final queryParameterNames()Ljava/util/Set;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 608
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 609
|
|
:cond_0
|
|
new-instance v0, Ljava/util/LinkedHashSet;
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
|
|
|
iget-object v1, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
.line 610
|
|
invoke-interface {v1}, Ljava/util/List;->size()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {v2, v1}, Lkotlin/ranges/RangesKt;->until(II)Lkotlin/ranges/IntRange;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lkotlin/ranges/IntProgression;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
invoke-static {v1, v2}, Lkotlin/ranges/RangesKt;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lkotlin/ranges/IntProgression;->getFirst()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v1}, Lkotlin/ranges/IntProgression;->getLast()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v1}, Lkotlin/ranges/IntProgression;->getStep()I
|
|
|
|
move-result v1
|
|
|
|
if-ltz v1, :cond_1
|
|
|
|
if-gt v2, v3, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-lt v2, v3, :cond_2
|
|
|
|
:goto_0
|
|
iget-object v4, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
.line 611
|
|
invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
invoke-virtual {v0, v4}, Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
if-eq v2, v3, :cond_2
|
|
|
|
add-int/2addr v2, v1
|
|
|
|
goto :goto_0
|
|
|
|
.line 613
|
|
:cond_2
|
|
check-cast v0, Ljava/util/Set;
|
|
|
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Collections.unmodifiableSet(result)"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final queryParameterValue(I)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
mul-int/lit8 p1, p1, 0x2
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
.line 673
|
|
invoke-interface {p0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
|
|
return-object p0
|
|
|
|
.line 672
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IndexOutOfBoundsException;-><init>()V
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public final queryParameterValues(Ljava/lang/String;)Ljava/util/List;
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "name"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 630
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 631
|
|
:cond_0
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
check-cast v0, Ljava/util/List;
|
|
|
|
iget-object v1, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
.line 632
|
|
invoke-interface {v1}, Ljava/util/List;->size()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {v2, v1}, Lkotlin/ranges/RangesKt;->until(II)Lkotlin/ranges/IntRange;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lkotlin/ranges/IntProgression;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
invoke-static {v1, v2}, Lkotlin/ranges/RangesKt;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lkotlin/ranges/IntProgression;->getFirst()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v1}, Lkotlin/ranges/IntProgression;->getLast()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v1}, Lkotlin/ranges/IntProgression;->getStep()I
|
|
|
|
move-result v1
|
|
|
|
if-ltz v1, :cond_1
|
|
|
|
if-gt v2, v3, :cond_3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-lt v2, v3, :cond_3
|
|
|
|
:goto_0
|
|
iget-object v4, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
.line 633
|
|
invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Ljava/lang/String;
|
|
|
|
invoke-static {p1, v4}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
iget-object v4, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
add-int/lit8 v5, v2, 0x1
|
|
|
|
.line 634
|
|
invoke-interface {v4, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_2
|
|
if-eq v2, v3, :cond_3
|
|
|
|
add-int/2addr v2, v1
|
|
|
|
goto :goto_0
|
|
|
|
.line 637
|
|
:cond_3
|
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "Collections.unmodifiableList(result)"
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final querySize()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->queryNamesAndValues:Ljava/util/List;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 569
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result p0
|
|
|
|
div-int/lit8 p0, p0, 0x2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public final redact()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "/..."
|
|
|
|
.line 700
|
|
invoke-virtual {p0, v0}, Lokhttp3/HttpUrl;->newBuilder(Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
const-string v0, ""
|
|
|
|
.line 701
|
|
invoke-virtual {p0, v0}, Lokhttp3/HttpUrl$Builder;->username(Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
|
|
|
|
move-result-object p0
|
|
|
|
.line 702
|
|
invoke-virtual {p0, v0}, Lokhttp3/HttpUrl$Builder;->password(Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
|
|
|
|
move-result-object p0
|
|
|
|
.line 703
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl$Builder;->build()Lokhttp3/HttpUrl;
|
|
|
|
move-result-object p0
|
|
|
|
.line 704
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final resolve(Ljava/lang/String;)Lokhttp3/HttpUrl;
|
|
.locals 1
|
|
|
|
const-string v0, "link"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 711
|
|
invoke-virtual {p0, p1}, Lokhttp3/HttpUrl;->newBuilder(Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl$Builder;->build()Lokhttp3/HttpUrl;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final scheme()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->scheme:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final topPrivateDomain()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->host:Ljava/lang/String;
|
|
|
|
.line 769
|
|
invoke-static {v0}, Lokhttp3/internal/Util;->canParseAsIpAddress(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 772
|
|
:cond_0
|
|
sget-object v0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->Companion:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$Companion;
|
|
|
|
invoke-virtual {v0}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$Companion;->get()Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->host:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, p0}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->getEffectiveTldPlusOne(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final uri()Ljava/net/URI;
|
|
.locals 3
|
|
|
|
.line 409
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->newBuilder()Lokhttp3/HttpUrl$Builder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl$Builder;->reencodeForUri$okhttp()Lokhttp3/HttpUrl$Builder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl$Builder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
.line 411
|
|
:try_start_0
|
|
new-instance v0, Ljava/net/URI;
|
|
|
|
invoke-direct {v0, p0}, Ljava/net/URI;-><init>(Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/net/URISyntaxException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 415
|
|
:try_start_1
|
|
check-cast p0, Ljava/lang/CharSequence;
|
|
|
|
new-instance v1, Lkotlin/text/Regex;
|
|
|
|
const-string v2, "[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]"
|
|
|
|
invoke-direct {v1, v2}, Lkotlin/text/Regex;-><init>(Ljava/lang/String;)V
|
|
|
|
const-string v2, ""
|
|
|
|
invoke-virtual {v1, p0, v2}, Lkotlin/text/Regex;->replace(Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
.line 416
|
|
invoke-static {p0}, 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
|
|
|
|
const-string p0, "try {\n val stripp\u2026e) // Unexpected!\n }"
|
|
|
|
.line 414
|
|
invoke-static {v0, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
return-object v0
|
|
|
|
.line 418
|
|
:catch_1
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public final url()Ljava/net/URL;
|
|
.locals 1
|
|
|
|
.line 389
|
|
:try_start_0
|
|
new-instance v0, Ljava/net/URL;
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->url:Ljava/lang/String;
|
|
|
|
invoke-direct {v0, p0}, 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 p0
|
|
|
|
.line 391
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final username()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->username:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|