2019-02-04 20:08:30 +00:00
|
|
|
.class public final Lokhttp3/a/a;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "HttpLoggingInterceptor.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lokhttp3/Interceptor;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/a/a$b;,
|
|
|
|
Lokhttp3/a/a$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-02-17 02:24:41 +00:00
|
|
|
.field private static final bsU:Ljava/nio/charset/Charset;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-02-17 02:24:41 +00:00
|
|
|
.field private final bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
.field private volatile bsW:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "UTF-8"
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
sput-object v0, Lokhttp3/a/a;->bsU:Ljava/nio/charset/Charset;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
sget-object v0, Lokhttp3/a/a$b;->btc:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Lokhttp3/a/a;-><init>(Lokhttp3/a/a$b;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Lokhttp3/a/a$b;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
sget v0, Lokhttp3/a/a$a;->bsX:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iput v0, p0, Lokhttp3/a/a;->bsW:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static a(Lokio/c;)Z
|
|
|
|
.locals 14
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
new-instance v7, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v7}, Lokio/c;-><init>()V
|
|
|
|
|
|
|
|
iget-wide v1, p0, Lokio/c;->size:J
|
|
|
|
|
|
|
|
const-wide/16 v3, 0x40
|
|
|
|
|
|
|
|
cmp-long v5, v1, v3
|
|
|
|
|
|
|
|
if-gez v5, :cond_0
|
|
|
|
|
|
|
|
iget-wide v1, p0, Lokio/c;->size:J
|
|
|
|
|
|
|
|
move-wide v5, v1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-wide v5, v3
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
|
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
move-object v2, v7
|
|
|
|
|
|
|
|
invoke-virtual/range {v1 .. v6}, Lokio/c;->a(Lokio/c;JJ)Lokio/c;
|
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
const/16 v1, 0x10
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-ge p0, v1, :cond_d
|
|
|
|
|
2019-02-06 20:30:57 +00:00
|
|
|
invoke-virtual {v7}, Lokio/c;->BT()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_d
|
|
|
|
|
|
|
|
iget-wide v3, v7, Lokio/c;->size:J
|
|
|
|
|
|
|
|
const-wide/16 v5, 0x0
|
|
|
|
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
|
|
|
|
if-eqz v1, :cond_c
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v7, v5, v6}, Lokio/c;->ao(J)B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
and-int/lit16 v3, v1, 0x80
|
|
|
|
|
|
|
|
const/16 v4, 0x80
|
|
|
|
|
|
|
|
const v5, 0xfffd
|
|
|
|
|
|
|
|
if-nez v3, :cond_1
|
|
|
|
|
|
|
|
and-int/lit8 v3, v1, 0x7f
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
and-int/lit16 v3, v1, 0xe0
|
|
|
|
|
|
|
|
const/16 v6, 0xc0
|
|
|
|
|
|
|
|
if-ne v3, v6, :cond_2
|
|
|
|
|
|
|
|
and-int/lit8 v3, v1, 0x1f
|
|
|
|
|
|
|
|
const/4 v6, 0x2
|
|
|
|
|
|
|
|
const/16 v8, 0x80
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
and-int/lit16 v3, v1, 0xf0
|
|
|
|
|
|
|
|
const/16 v6, 0xe0
|
|
|
|
|
|
|
|
if-ne v3, v6, :cond_3
|
|
|
|
|
|
|
|
and-int/lit8 v3, v1, 0xf
|
|
|
|
|
|
|
|
const/4 v6, 0x3
|
|
|
|
|
|
|
|
const/16 v8, 0x800
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
and-int/lit16 v3, v1, 0xf8
|
|
|
|
|
|
|
|
const/16 v6, 0xf0
|
|
|
|
|
|
|
|
if-ne v3, v6, :cond_a
|
|
|
|
|
|
|
|
and-int/lit8 v3, v1, 0x7
|
|
|
|
|
|
|
|
const/4 v6, 0x4
|
|
|
|
|
|
|
|
const/high16 v8, 0x10000
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
iget-wide v9, v7, Lokio/c;->size:J
|
|
|
|
|
|
|
|
int-to-long v11, v6
|
|
|
|
|
|
|
|
cmp-long v13, v9, v11
|
|
|
|
|
|
|
|
if-ltz v13, :cond_9
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-ge v2, v6, :cond_5
|
|
|
|
|
|
|
|
int-to-long v9, v2
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v7, v9, v10}, Lokio/c;->ao(J)B
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
and-int/lit16 v13, v1, 0xc0
|
|
|
|
|
|
|
|
if-ne v13, v4, :cond_4
|
|
|
|
|
|
|
|
shl-int/lit8 v3, v3, 0x6
|
|
|
|
|
|
|
|
and-int/lit8 v1, v1, 0x3f
|
|
|
|
|
|
|
|
or-int/2addr v3, v1
|
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_4
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v7, v9, v10}, Lokio/c;->au(J)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_5
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v7, v11, v12}, Lokio/c;->au(J)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const v1, 0x10ffff
|
|
|
|
|
|
|
|
if-le v3, v1, :cond_6
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
const v1, 0xd800
|
|
|
|
|
|
|
|
if-lt v3, v1, :cond_7
|
|
|
|
|
|
|
|
const v1, 0xdfff
|
|
|
|
|
|
|
|
if-gt v3, v1, :cond_7
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
if-ge v3, v8, :cond_8
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
move v5, v3
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
new-instance p0, Ljava/io/EOFException;
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, "size < "
|
|
|
|
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v2, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, ": "
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-wide v3, v7, Lokio/c;->size:J
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, " (to read code point prefixed 0x"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ")"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-direct {p0, v1}, Ljava/io/EOFException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
const-wide/16 v1, 0x1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v7, v1, v2}, Lokio/c;->au(J)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_4
|
|
|
|
invoke-static {v5}, Ljava/lang/Character;->isISOControl(I)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_b
|
|
|
|
|
|
|
|
invoke-static {v5}, Ljava/lang/Character;->isWhitespace(I)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_b
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
new-instance p0, Ljava/io/EOFException;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/io/EOFException;-><init>()V
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/io/EOFException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static d(Lokhttp3/Headers;)Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "Content-Encoding"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lokhttp3/Headers;->get(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const-string v0, "identity"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const-string v0, "gzip"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-04 20:32:01 +00:00
|
|
|
.method public final dg(I)Lokhttp3/a/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iput p1, p0, Lokhttp3/a/a;->bsW:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
|
|
|
|
const-string v0, "level == null. Use Level.NONE instead."
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
|
|
|
|
.locals 16
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
|
|
|
|
move-object/from16 v0, p1
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget v2, v1, Lokhttp3/a/a;->bsW:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-06 20:30:57 +00:00
|
|
|
invoke-interface/range {p1 .. p1}, Lokhttp3/Interceptor$Chain;->An()Lokhttp3/w;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
sget v4, Lokhttp3/a/a$a;->bsX:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-ne v2, v4, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {v0, v3}, Lokhttp3/Interceptor$Chain;->b(Lokhttp3/w;)Lokhttp3/Response;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
2019-02-17 02:24:41 +00:00
|
|
|
sget v4, Lokhttp3/a/a$a;->bta:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const/4 v5, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-ne v2, v4, :cond_1
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
sget v7, Lokhttp3/a/a$a;->bsZ:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-ne v2, v7, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
:goto_2
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v7, v3, Lokhttp3/w;->bmj:Lokhttp3/RequestBody;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v7, :cond_4
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_4
|
2019-02-04 20:29:01 +00:00
|
|
|
const/4 v5, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_3
|
2019-02-06 20:30:57 +00:00
|
|
|
invoke-interface/range {p1 .. p1}, Lokhttp3/Interceptor$Chain;->Ao()Lokhttp3/i;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
new-instance v9, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v10, "--> "
|
|
|
|
|
|
|
|
invoke-direct {v9, v10}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-object v10, v3, Lokhttp3/w;->method:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 v10, 0x20
|
|
|
|
|
|
|
|
invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v11, v3, Lokhttp3/w;->bhP:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v9, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
|
|
|
|
new-instance v11, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v12, " "
|
|
|
|
|
|
|
|
invoke-direct {v11, v12}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2019-02-06 20:30:57 +00:00
|
|
|
invoke-interface {v8}, Lokhttp3/i;->zU()Lokhttp3/u;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
invoke-virtual {v11, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string v8, ""
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
invoke-virtual {v9, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
if-nez v2, :cond_6
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-eqz v5, :cond_6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v9, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v9, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v8, " ("
|
|
|
|
|
|
|
|
invoke-virtual {v9, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v11
|
|
|
|
|
|
|
|
invoke-virtual {v9, v11, v12}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v8, "-byte body)"
|
|
|
|
|
|
|
|
invoke-virtual {v9, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
:cond_6
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v9, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v9, v8}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-wide/16 v8, -0x1
|
|
|
|
|
|
|
|
if-eqz v2, :cond_10
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-eqz v5, :cond_8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentType()Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
|
|
|
if-eqz v11, :cond_7
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v11, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v12, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v13, "Content-Type: "
|
|
|
|
|
|
|
|
invoke-direct {v12, v13}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentType()Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
|
|
|
invoke-virtual {v12, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
|
|
|
invoke-interface {v11, v12}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v11
|
|
|
|
|
|
|
|
cmp-long v13, v11, v8
|
|
|
|
|
|
|
|
if-eqz v13, :cond_8
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v11, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v12, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v13, "Content-Length: "
|
|
|
|
|
|
|
|
invoke-direct {v12, v13}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v13
|
|
|
|
|
|
|
|
invoke-virtual {v12, v13, v14}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
|
|
|
invoke-interface {v11, v12}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_8
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v11, v3, Lokhttp3/w;->bmi:Lokhttp3/Headers;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v12, v11, Lokhttp3/Headers;->blF:[Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v12, v12
|
|
|
|
|
|
|
|
div-int/lit8 v12, v12, 0x2
|
|
|
|
|
|
|
|
const/4 v13, 0x0
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
if-ge v13, v12, :cond_a
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v11, v13}, Lokhttp3/Headers;->cR(I)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v14
|
|
|
|
|
|
|
|
const-string v15, "Content-Type"
|
|
|
|
|
|
|
|
invoke-virtual {v15, v14}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v15
|
|
|
|
|
|
|
|
if-nez v15, :cond_9
|
|
|
|
|
|
|
|
const-string v15, "Content-Length"
|
|
|
|
|
|
|
|
invoke-virtual {v15, v14}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v15
|
|
|
|
|
|
|
|
if-nez v15, :cond_9
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v15, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
new-instance v6, Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {v6, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v14, ": "
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {v6, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v11, v13}, Lokhttp3/Headers;->cS(I)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v14
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {v6, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-result-object v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-interface {v15, v6}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_9
|
|
|
|
add-int/lit8 v13, v13, 0x1
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
if-eqz v4, :cond_f
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-nez v5, :cond_b
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto/16 :goto_6
|
|
|
|
|
|
|
|
:cond_b
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v5, v3, Lokhttp3/w;->bmi:Lokhttp3/Headers;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v5}, Lokhttp3/a/a;->d(Lokhttp3/Headers;)Z
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_c
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v5, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v6, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v7, "--> END "
|
|
|
|
|
|
|
|
invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-object v7, v3, Lokhttp3/w;->method:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v7, " (encoded body omitted)"
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-interface {v5, v6}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
goto/16 :goto_7
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_c
|
|
|
|
new-instance v5, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v5}, Lokio/c;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v7, v5}, Lokhttp3/RequestBody;->writeTo(Lokio/BufferedSink;)V
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
sget-object v6, Lokhttp3/a/a;->bsU:Ljava/nio/charset/Charset;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentType()Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
|
|
|
if-eqz v11, :cond_d
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
sget-object v6, Lokhttp3/a/a;->bsU:Ljava/nio/charset/Charset;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v11, v6}, Lokhttp3/MediaType;->b(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
:cond_d
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v11, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v12, ""
|
|
|
|
|
|
|
|
invoke-interface {v11, v12}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {v5}, Lokhttp3/a/a;->a(Lokio/c;)Z
|
|
|
|
|
|
|
|
move-result v11
|
|
|
|
|
|
|
|
if-eqz v11, :cond_e
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v11, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v5, v6}, Lokio/c;->c(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-interface {v11, v5}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v5, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v6, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v11, "--> END "
|
|
|
|
|
|
|
|
invoke-direct {v6, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-object v11, v3, Lokhttp3/w;->method:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v6, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v11, " ("
|
|
|
|
|
|
|
|
invoke-virtual {v6, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v11
|
|
|
|
|
|
|
|
invoke-virtual {v6, v11, v12}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v7, "-byte body)"
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-interface {v5, v6}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_e
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v5, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v6, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v11, "--> END "
|
|
|
|
|
|
|
|
invoke-direct {v6, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-object v11, v3, Lokhttp3/w;->method:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v6, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v11, " (binary "
|
|
|
|
|
|
|
|
invoke-virtual {v6, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v11
|
|
|
|
|
|
|
|
invoke-virtual {v6, v11, v12}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v7, "-byte body omitted)"
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-interface {v5, v6}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
:goto_6
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v5, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v6, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v7, "--> END "
|
|
|
|
|
|
|
|
invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-object v7, v3, Lokhttp3/w;->method:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-interface {v5, v6}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_10
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_7
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
|
|
|
|
move-result-wide v5
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-interface {v0, v3}, Lokhttp3/Interceptor$Chain;->b(Lokhttp3/w;)Lokhttp3/Response;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
sget-object v3, Ljava/util/concurrent/TimeUnit;->NANOSECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
|
|
|
|
move-result-wide v11
|
|
|
|
|
|
|
|
sub-long/2addr v11, v5
|
|
|
|
|
|
|
|
invoke-virtual {v3, v11, v12}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
|
|
|
|
|
|
|
move-result-wide v5
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v3, v0, Lokhttp3/Response;->bnd:Lokhttp3/x;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3}, Lokhttp3/x;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v11
|
|
|
|
|
|
|
|
cmp-long v7, v11, v8
|
|
|
|
|
|
|
|
if-eqz v7, :cond_11
|
|
|
|
|
|
|
|
new-instance v7, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v7, v11, v12}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v8, "-byte"
|
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
const-string v7, "unknown-length"
|
|
|
|
|
|
|
|
:goto_8
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v8, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v9, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v13, "<-- "
|
|
|
|
|
|
|
|
invoke-direct {v9, v13}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget v13, v0, Lokhttp3/Response;->code:I
|
|
|
|
|
|
|
|
invoke-virtual {v9, v13}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-object v13, v0, Lokhttp3/Response;->message:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v13}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
if-eqz v13, :cond_12
|
|
|
|
|
|
|
|
const-string v13, ""
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
new-instance v13, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v14, " "
|
|
|
|
|
|
|
|
invoke-direct {v13, v14}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-object v14, v0, Lokhttp3/Response;->message:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
|
|
|
:goto_9
|
|
|
|
invoke-virtual {v9, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v10, v0, Lokhttp3/Response;->bna:Lokhttp3/w;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v10, v10, Lokhttp3/w;->bhP:Lokhttp3/s;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v10, " ("
|
|
|
|
|
|
|
|
invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v9, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v5, "ms"
|
|
|
|
|
|
|
|
invoke-virtual {v9, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
if-nez v2, :cond_13
|
|
|
|
|
|
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v6, ", "
|
|
|
|
|
|
|
|
invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v5, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v6, " body"
|
|
|
|
|
|
|
|
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
:cond_13
|
|
|
|
const-string v5, ""
|
|
|
|
|
|
|
|
:goto_a
|
|
|
|
invoke-virtual {v9, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 v5, 0x29
|
|
|
|
|
|
|
|
invoke-virtual {v9, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-interface {v8, v5}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
if-eqz v2, :cond_1e
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v2, v0, Lokhttp3/Response;->bmi:Lokhttp3/Headers;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v5, v2, Lokhttp3/Headers;->blF:[Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v5, v5
|
|
|
|
|
|
|
|
div-int/lit8 v5, v5, 0x2
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
:goto_b
|
|
|
|
if-ge v6, v5, :cond_14
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v7, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v8, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v2, v6}, Lokhttp3/Headers;->cR(I)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v9, ": "
|
|
|
|
|
|
|
|
invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v2, v6}, Lokhttp3/Headers;->cS(I)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
invoke-interface {v7, v8}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
|
|
|
|
goto :goto_b
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
if-eqz v4, :cond_1d
|
|
|
|
|
|
|
|
invoke-static {v0}, Lokhttp3/internal/c/e;->f(Lokhttp3/Response;)Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-nez v4, :cond_15
|
|
|
|
|
|
|
|
goto/16 :goto_e
|
|
|
|
|
|
|
|
:cond_15
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v4, v0, Lokhttp3/Response;->bmi:Lokhttp3/Headers;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v4}, Lokhttp3/a/a;->d(Lokhttp3/Headers;)Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_16
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v2, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v3, "<-- END HTTP (encoded body omitted)"
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-interface {v2, v3}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
goto/16 :goto_f
|
|
|
|
|
|
|
|
:cond_16
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-virtual {v3}, Lokhttp3/x;->AF()Lokio/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-wide v5, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
invoke-interface {v4, v5, v6}, Lokio/d;->request(J)Z
|
|
|
|
|
2019-02-06 20:30:57 +00:00
|
|
|
invoke-interface {v4}, Lokio/d;->BR()Lokio/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-string v5, "gzip"
|
|
|
|
|
|
|
|
const-string v6, "Content-Encoding"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v6}, Lokhttp3/Headers;->get(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
if-eqz v2, :cond_18
|
|
|
|
|
|
|
|
iget-wide v6, v4, Lokio/c;->size:J
|
|
|
|
|
|
|
|
invoke-static {v6, v7}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
new-instance v6, Lokio/h;
|
|
|
|
|
2019-02-06 20:30:57 +00:00
|
|
|
invoke-virtual {v4}, Lokio/c;->Cc()Lokio/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-direct {v6, v4}, Lokio/h;-><init>(Lokio/q;)V
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
|
|
|
|
:try_start_2
|
|
|
|
new-instance v4, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v4}, Lokio/c;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v4, v6}, Lokio/c;->a(Lokio/q;)J
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
|
|
|
|
invoke-virtual {v6}, Lokio/h;->close()V
|
|
|
|
|
|
|
|
goto :goto_d
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v5, v6
|
|
|
|
|
|
|
|
goto :goto_c
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
:goto_c
|
|
|
|
if-eqz v5, :cond_17
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Lokio/h;->close()V
|
|
|
|
|
|
|
|
:cond_17
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_18
|
|
|
|
move-object v2, v5
|
|
|
|
|
|
|
|
:goto_d
|
2019-02-17 02:24:41 +00:00
|
|
|
sget-object v5, Lokhttp3/a/a;->bsU:Ljava/nio/charset/Charset;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3}, Lokhttp3/x;->contentType()Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_19
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
sget-object v5, Lokhttp3/a/a;->bsU:Ljava/nio/charset/Charset;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, v5}, Lokhttp3/MediaType;->b(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
:cond_19
|
|
|
|
invoke-static {v4}, Lokhttp3/a/a;->a(Lokio/c;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-nez v3, :cond_1a
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v2, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v3, ""
|
|
|
|
|
|
|
|
invoke-interface {v2, v3}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v2, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v5, "<-- END HTTP (binary "
|
|
|
|
|
|
|
|
invoke-direct {v3, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-wide v4, v4, Lokio/c;->size:J
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v4, "-byte body omitted)"
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-interface {v2, v3}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_1a
|
|
|
|
const-wide/16 v6, 0x0
|
|
|
|
|
|
|
|
cmp-long v3, v11, v6
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1b
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v3, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v6, ""
|
|
|
|
|
|
|
|
invoke-interface {v3, v6}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v3, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-06 20:30:57 +00:00
|
|
|
invoke-virtual {v4}, Lokio/c;->Cc()Lokio/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-virtual {v6, v5}, Lokio/c;->c(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-interface {v3, v5}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_1b
|
|
|
|
if-eqz v2, :cond_1c
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v3, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v6, "<-- END HTTP ("
|
|
|
|
|
|
|
|
invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-wide v6, v4, Lokio/c;->size:J
|
|
|
|
|
|
|
|
invoke-virtual {v5, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v4, "-byte, "
|
|
|
|
|
|
|
|
invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, "-gzipped-byte body)"
|
|
|
|
|
|
|
|
invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-interface {v3, v2}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_f
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_1c
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v2, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v5, "<-- END HTTP ("
|
|
|
|
|
|
|
|
invoke-direct {v3, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-wide v4, v4, Lokio/c;->size:J
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v4, "-byte body)"
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-interface {v2, v3}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
goto :goto_f
|
|
|
|
|
|
|
|
:cond_1d
|
|
|
|
:goto_e
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v2, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v3, "<-- END HTTP"
|
|
|
|
|
|
|
|
invoke-interface {v2, v3}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_1e
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_f
|
2019-02-04 20:08:30 +00:00
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v2, v0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v0, v1, Lokhttp3/a/a;->bsV:Lokhttp3/a/a$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v4, "<-- HTTP FAILED: "
|
|
|
|
|
|
|
|
invoke-virtual {v4, v3}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-interface {v0, v3}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v2
|
2019-02-04 20:29:01 +00:00
|
|
|
|
|
|
|
return-void
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|