2019-07-24 11:27:29 +00:00
|
|
|
.class final Lb/l;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "RequestBuilder.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lb/l$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-08-30 20:04:20 +00:00
|
|
|
.field private static final btH:[C
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-08-30 20:04:20 +00:00
|
|
|
.field private final bHe:Lokhttp3/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
.field bHf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
.field private bHg:Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
.field private final bHh:Lokhttp3/w$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
.field private final bHi:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
.field bHj:Lokhttp3/MultipartBody$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
.field private bHk:Lokhttp3/q$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
.field private bug:Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
.field buk:Lokhttp3/RequestBody;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private final method:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/16 v0, 0x10
|
|
|
|
|
|
|
|
new-array v0, v0, [C
|
|
|
|
|
|
|
|
fill-array-data v0, :array_0
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
sput-object v0, Lb/l;->btH:[C
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:array_0
|
|
|
|
.array-data 2
|
|
|
|
0x30s
|
|
|
|
0x31s
|
|
|
|
0x32s
|
|
|
|
0x33s
|
|
|
|
0x34s
|
|
|
|
0x35s
|
|
|
|
0x36s
|
|
|
|
0x37s
|
|
|
|
0x38s
|
|
|
|
0x39s
|
|
|
|
0x41s
|
|
|
|
0x42s
|
|
|
|
0x43s
|
|
|
|
0x44s
|
|
|
|
0x45s
|
|
|
|
0x46s
|
|
|
|
.end array-data
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method constructor <init>(Ljava/lang/String;Lokhttp3/s;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/MediaType;ZZZ)V
|
|
|
|
.locals 0
|
|
|
|
.param p3 # Ljava/lang/String;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.param p4 # Lokhttp3/Headers;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.param p5 # Lokhttp3/MediaType;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-object p1, p0, Lb/l;->method:Ljava/lang/String;
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-object p2, p0, Lb/l;->bHe:Lokhttp3/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-object p3, p0, Lb/l;->bHf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Lokhttp3/w$a;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lokhttp3/w$a;-><init>()V
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-object p1, p0, Lb/l;->bHh:Lokhttp3/w$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-object p5, p0, Lb/l;->bug:Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-boolean p6, p0, Lb/l;->bHi:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object p1, p0, Lb/l;->bHh:Lokhttp3/w$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p4}, Lokhttp3/w$a;->b(Lokhttp3/Headers;)Lokhttp3/w$a;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-eqz p7, :cond_1
|
|
|
|
|
|
|
|
new-instance p1, Lokhttp3/q$a;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lokhttp3/q$a;-><init>()V
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-object p1, p0, Lb/l;->bHk:Lokhttp3/q$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-eqz p8, :cond_4
|
|
|
|
|
|
|
|
new-instance p1, Lokhttp3/MultipartBody$a;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lokhttp3/MultipartBody$a;-><init>()V
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-object p1, p0, Lb/l;->bHj:Lokhttp3/MultipartBody$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object p1, p0, Lb/l;->bHj:Lokhttp3/MultipartBody$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
sget-object p2, Lokhttp3/MultipartBody;->bua:Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
iget-object p3, p2, Lokhttp3/MediaType;->type:Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string p4, "multipart"
|
|
|
|
|
|
|
|
invoke-virtual {p3, p4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
if-eqz p3, :cond_2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-object p2, p1, Lokhttp3/MultipartBody$a;->bui:Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-static {p2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-string p3, "multipart != "
|
|
|
|
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
|
|
|
|
const-string p2, "type == null"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static k(Ljava/lang/String;Z)Ljava/lang/String;
|
|
|
|
.locals 14
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v2, v0, :cond_8
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const/16 v4, 0x2f
|
|
|
|
|
|
|
|
const/4 v5, -0x1
|
|
|
|
|
|
|
|
const-string v6, " \"<>^`{}|\\?#"
|
|
|
|
|
|
|
|
const/16 v7, 0x7f
|
|
|
|
|
|
|
|
const/16 v8, 0x20
|
|
|
|
|
|
|
|
const/16 v9, 0x25
|
|
|
|
|
|
|
|
if-lt v3, v8, :cond_1
|
|
|
|
|
|
|
|
if-ge v3, v7, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {v6, v3}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
if-ne v10, v5, :cond_1
|
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
if-eq v3, v4, :cond_1
|
|
|
|
|
|
|
|
if-ne v3, v9, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-static {v3}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_1
|
|
|
|
new-instance v3, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Lokio/c;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v3, p0, v1, v2}, Lokio/c;->o(Ljava/lang/String;II)Lokio/c;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-ge v2, v0, :cond_7
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
const/16 v11, 0x9
|
|
|
|
|
|
|
|
if-eq v10, v11, :cond_6
|
|
|
|
|
|
|
|
const/16 v11, 0xa
|
|
|
|
|
|
|
|
if-eq v10, v11, :cond_6
|
|
|
|
|
|
|
|
const/16 v11, 0xc
|
|
|
|
|
|
|
|
if-eq v10, v11, :cond_6
|
|
|
|
|
|
|
|
const/16 v11, 0xd
|
|
|
|
|
|
|
|
if-eq v10, v11, :cond_6
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-lt v10, v8, :cond_4
|
|
|
|
|
|
|
|
if-ge v10, v7, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {v6, v10}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
|
|
|
|
move-result v11
|
|
|
|
|
|
|
|
if-ne v11, v5, :cond_4
|
|
|
|
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
|
|
|
|
if-eq v10, v4, :cond_4
|
|
|
|
|
|
|
|
if-ne v10, v9, :cond_3
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
2019-07-25 02:21:43 +00:00
|
|
|
invoke-virtual {v3, v10}, Lokio/c;->dP(I)Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_3
|
|
|
|
if-nez v1, :cond_5
|
|
|
|
|
|
|
|
new-instance v1, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Lokio/c;-><init>()V
|
|
|
|
|
|
|
|
:cond_5
|
2019-07-25 02:21:43 +00:00
|
|
|
invoke-virtual {v1, v10}, Lokio/c;->dP(I)Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_4
|
2019-08-22 18:54:10 +00:00
|
|
|
invoke-virtual {v1}, Lokio/c;->Iu()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v11
|
|
|
|
|
|
|
|
if-nez v11, :cond_6
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByte()B
|
|
|
|
|
|
|
|
move-result v11
|
|
|
|
|
|
|
|
and-int/lit16 v11, v11, 0xff
|
|
|
|
|
2019-07-25 02:21:43 +00:00
|
|
|
invoke-virtual {v3, v9}, Lokio/c;->dQ(I)Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
sget-object v12, Lb/l;->btH:[C
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
shr-int/lit8 v13, v11, 0x4
|
|
|
|
|
|
|
|
and-int/lit8 v13, v13, 0xf
|
|
|
|
|
|
|
|
aget-char v12, v12, v13
|
|
|
|
|
2019-07-25 02:21:43 +00:00
|
|
|
invoke-virtual {v3, v12}, Lokio/c;->dQ(I)Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
sget-object v12, Lb/l;->btH:[C
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
and-int/lit8 v11, v11, 0xf
|
|
|
|
|
|
|
|
aget-char v11, v12, v11
|
|
|
|
|
2019-07-25 02:21:43 +00:00
|
|
|
invoke-virtual {v3, v11}, Lokio/c;->dQ(I)Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
:goto_5
|
|
|
|
invoke-static {v10}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v10
|
|
|
|
|
|
|
|
add-int/2addr v2, v10
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_7
|
2019-08-22 18:54:10 +00:00
|
|
|
invoke-virtual {v3}, Lokio/c;->IA()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-08-22 18:54:10 +00:00
|
|
|
.method final Hc()Lokhttp3/w;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 5
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v0, p0, Lb/l;->bHg:Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-08-22 18:54:10 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/s$a;->GK()Lokhttp3/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v0, p0, Lb/l;->bHe:Lokhttp3/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v1, p0, Lb/l;->bHf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/s;->ei(Ljava/lang/String;)Lokhttp3/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
|
|
|
|
:goto_0
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v1, p0, Lb/l;->buk:Lokhttp3/RequestBody;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v2, p0, Lb/l;->bHk:Lokhttp3/q$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
|
|
|
|
new-instance v1, Lokhttp3/q;
|
|
|
|
|
|
|
|
iget-object v3, v2, Lokhttp3/q$a;->names:Ljava/util/List;
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v2, v2, Lokhttp3/q$a;->btz:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {v1, v3, v2}, Lokhttp3/q;-><init>(Ljava/util/List;Ljava/util/List;)V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v2, p0, Lb/l;->bHj:Lokhttp3/MultipartBody$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v1, v2, Lokhttp3/MultipartBody$a;->buh:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
|
|
|
|
new-instance v1, Lokhttp3/MultipartBody;
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v3, v2, Lokhttp3/MultipartBody$a;->bue:Lokio/ByteString;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v4, v2, Lokhttp3/MultipartBody$a;->bui:Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v2, v2, Lokhttp3/MultipartBody$a;->buh:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {v1, v3, v4, v2}, Lokhttp3/MultipartBody;-><init>(Lokio/ByteString;Lokhttp3/MediaType;Ljava/util/List;)V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "Multipart body must have at least one part."
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-boolean v2, p0, Lb/l;->bHi:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [B
|
|
|
|
|
|
|
|
invoke-static {v1, v2}, Lokhttp3/RequestBody;->create(Lokhttp3/MediaType;[B)Lokhttp3/RequestBody;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_1
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v2, p0, Lb/l;->bug:Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
|
|
|
|
new-instance v3, Lb/l$a;
|
|
|
|
|
|
|
|
invoke-direct {v3, v1, v2}, Lb/l$a;-><init>(Lokhttp3/RequestBody;Lokhttp3/MediaType;)V
|
|
|
|
|
|
|
|
move-object v1, v3
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_5
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v3, p0, Lb/l;->bHh:Lokhttp3/w$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v2}, Lokhttp3/MediaType;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v4, "Content-Type"
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4, v2}, Lokhttp3/w$a;->aq(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/w$a;
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
:goto_2
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v2, p0, Lb/l;->bHh:Lokhttp3/w$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v2, v0}, Lokhttp3/w$a;->b(Lokhttp3/s;)Lokhttp3/w$a;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v2, p0, Lb/l;->method:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2, v1}, Lokhttp3/w$a;->a(Ljava/lang/String;Lokhttp3/RequestBody;)Lokhttp3/w$a;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-08-22 18:54:10 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/w$a;->Hc()Lokhttp3/w;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, "Malformed URL. Base: "
|
|
|
|
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v2, p0, Lb/l;->bHe:Lokhttp3/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, ", Relative: "
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v2, p0, Lb/l;->bHf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final addHeader(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "Content-Type"
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
invoke-static {p2}, Lokhttp3/MediaType;->eo(Ljava/lang/String;)Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-object p1, p0, Lb/l;->bug:Lokhttp3/MediaType;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-static {p2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-string v0, "Malformed content type: "
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v0, p0, Lb/l;->bHh:Lokhttp3/w$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Lokhttp3/w$a;->aq(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/w$a;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final c(Lokhttp3/Headers;Lokhttp3/RequestBody;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v0, p0, Lb/l;->bHj:Lokhttp3/MultipartBody$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Lokhttp3/MultipartBody$a;->a(Lokhttp3/Headers;Lokhttp3/RequestBody;)Lokhttp3/MultipartBody$a;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final e(Ljava/lang/String;Ljava/lang/String;Z)V
|
|
|
|
.locals 2
|
|
|
|
.param p2 # Ljava/lang/String;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v0, p0, Lb/l;->bHf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v1, p0, Lb/l;->bHe:Lokhttp3/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
invoke-virtual {v1, v0}, Lokhttp3/s;->ej(Ljava/lang/String;)Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-object v0, p0, Lb/l;->bHg:Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object v0, p0, Lb/l;->bHg:Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iput-object v0, p0, Lb/l;->bHf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, "Malformed URL. Base: "
|
|
|
|
|
|
|
|
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object p3, p0, Lb/l;->bHe:Lokhttp3/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p3, ", Relative: "
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object p3, p0, Lb/l;->bHf:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
if-eqz p3, :cond_2
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object p3, p0, Lb/l;->bHg:Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p3, p1, p2}, Lokhttp3/s$a;->ao(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/s$a;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_2
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object p3, p0, Lb/l;->bHg:Lokhttp3/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p3, p1, p2}, Lokhttp3/s$a;->an(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/s$a;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final f(Ljava/lang/String;Ljava/lang/String;Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object p3, p0, Lb/l;->bHk:Lokhttp3/q$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p3, p1, p2}, Lokhttp3/q$a;->ai(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/q$a;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-08-30 20:04:20 +00:00
|
|
|
iget-object p3, p0, Lb/l;->bHk:Lokhttp3/q$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p3, p1, p2}, Lokhttp3/q$a;->ah(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/q$a;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|