1324 lines
30 KiB
Smali
1324 lines
30 KiB
Smali
.class public final Lokhttp3/a/a;
|
|
.super Ljava/lang/Object;
|
|
.source "HttpLoggingInterceptor.java"
|
|
|
|
# interfaces
|
|
.implements Lokhttp3/Interceptor;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/a/a$b;,
|
|
Lokhttp3/a/a$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final byh:Ljava/nio/charset/Charset;
|
|
|
|
|
|
# instance fields
|
|
.field private final byi:Lokhttp3/a/a$b;
|
|
|
|
.field private volatile byj:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public volatile byk:I
|
|
|
|
|
|
# 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
|
|
|
|
sput-object v0, Lokhttp3/a/a;->byh:Ljava/nio/charset/Charset;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
sget-object v0, Lokhttp3/a/a$b;->byq:Lokhttp3/a/a$b;
|
|
|
|
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
|
|
|
|
invoke-static {}, Ljava/util/Collections;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lokhttp3/a/a;->byj:Ljava/util/Set;
|
|
|
|
sget v0, Lokhttp3/a/a$a;->byl:I
|
|
|
|
iput v0, p0, Lokhttp3/a/a;->byk:I
|
|
|
|
iput-object p1, p0, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Lokhttp3/Headers;I)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lokhttp3/a/a;->byj:Ljava/util/Set;
|
|
|
|
invoke-virtual {p1, p2}, Lokhttp3/Headers;->de(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v0, "\u2588\u2588"
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p1, p2}, Lokhttp3/Headers;->df(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
iget-object v1, p0, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1, p2}, Lokhttp3/Headers;->de(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, ": "
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {v1, p1}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
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
|
|
|
|
invoke-virtual {v7}, Lokio/c;->Hg()Z
|
|
|
|
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
|
|
|
|
invoke-virtual {v7, v5, v6}, Lokio/c;->av(J)B
|
|
|
|
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
|
|
|
|
invoke-virtual {v7, v9, v10}, Lokio/c;->av(J)B
|
|
|
|
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
|
|
invoke-virtual {v7, v9, v10}, Lokio/c;->aB(J)V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
invoke-virtual {v7, v11, v12}, Lokio/c;->aB(J)V
|
|
|
|
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
|
|
|
|
invoke-virtual {v7, v1, v2}, Lokio/c;->aB(J)V
|
|
|
|
: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;->dA(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
|
|
.method public final intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
|
|
.locals 20
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
move-object/from16 v0, p1
|
|
|
|
iget v2, v1, Lokhttp3/a/a;->byk:I
|
|
|
|
invoke-interface/range {p1 .. p1}, Lokhttp3/Interceptor$Chain;->Fv()Lokhttp3/w;
|
|
|
|
move-result-object v3
|
|
|
|
sget v4, Lokhttp3/a/a$a;->byl:I
|
|
|
|
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
|
|
sget v4, Lokhttp3/a/a$a;->byo:I
|
|
|
|
const/4 v5, 0x1
|
|
|
|
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
|
|
|
|
sget v7, Lokhttp3/a/a$a;->byn:I
|
|
|
|
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
|
|
iget-object v7, v3, Lokhttp3/w;->bry:Lokhttp3/RequestBody;
|
|
|
|
if-eqz v7, :cond_4
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
const/4 v5, 0x0
|
|
|
|
:goto_3
|
|
invoke-interface/range {p1 .. p1}, Lokhttp3/Interceptor$Chain;->Fw()Lokhttp3/i;
|
|
|
|
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;->bsg: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;
|
|
|
|
iget-object v11, v3, Lokhttp3/w;->bna:Lokhttp3/s;
|
|
|
|
invoke-virtual {v9, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v11, " "
|
|
|
|
const-string v12, ""
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
new-instance v13, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v13, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-interface {v8}, Lokhttp3/i;->Fc()Lokhttp3/u;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v13, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
move-object v8, v12
|
|
|
|
: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
|
|
|
|
const-string v9, "-byte body)"
|
|
|
|
const-string v13, " ("
|
|
|
|
if-nez v2, :cond_6
|
|
|
|
if-eqz v5, :cond_6
|
|
|
|
new-instance v14, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v14}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v14, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v14, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-object/from16 v16, v11
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
move-result-wide v10
|
|
|
|
invoke-virtual {v14, v10, v11}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v14, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v14}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
goto :goto_5
|
|
|
|
:cond_6
|
|
move-object/from16 v16, v11
|
|
|
|
:goto_5
|
|
iget-object v10, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
invoke-interface {v10, v8}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
const-string v8, "-byte body omitted)"
|
|
|
|
const-wide/16 v10, -0x1
|
|
|
|
if-eqz v2, :cond_10
|
|
|
|
if-eqz v5, :cond_8
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentType()Lokhttp3/MediaType;
|
|
|
|
move-result-object v14
|
|
|
|
if-eqz v14, :cond_7
|
|
|
|
iget-object v14, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
new-instance v6, Ljava/lang/StringBuilder;
|
|
|
|
const-string v15, "Content-Type: "
|
|
|
|
invoke-direct {v6, v15}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentType()Lokhttp3/MediaType;
|
|
|
|
move-result-object v15
|
|
|
|
invoke-virtual {v6, v15}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-interface {v14, v6}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
:cond_7
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
move-result-wide v14
|
|
|
|
cmp-long v6, v14, v10
|
|
|
|
if-eqz v6, :cond_8
|
|
|
|
iget-object v6, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
new-instance v14, Ljava/lang/StringBuilder;
|
|
|
|
const-string v15, "Content-Length: "
|
|
|
|
invoke-direct {v14, v15}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
move-result-wide v10
|
|
|
|
invoke-virtual {v14, v10, v11}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v14}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
invoke-interface {v6, v10}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
:cond_8
|
|
iget-object v6, v3, Lokhttp3/w;->brx:Lokhttp3/Headers;
|
|
|
|
iget-object v10, v6, Lokhttp3/Headers;->bqS:[Ljava/lang/String;
|
|
|
|
array-length v10, v10
|
|
|
|
div-int/lit8 v10, v10, 0x2
|
|
|
|
const/4 v11, 0x0
|
|
|
|
:goto_6
|
|
if-ge v11, v10, :cond_a
|
|
|
|
invoke-virtual {v6, v11}, Lokhttp3/Headers;->de(I)Ljava/lang/String;
|
|
|
|
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 v14
|
|
|
|
if-nez v14, :cond_9
|
|
|
|
invoke-direct {v1, v6, v11}, Lokhttp3/a/a;->a(Lokhttp3/Headers;I)V
|
|
|
|
:cond_9
|
|
add-int/lit8 v11, v11, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_a
|
|
const-string v6, "--> END "
|
|
|
|
if-eqz v4, :cond_f
|
|
|
|
if-nez v5, :cond_b
|
|
|
|
goto/16 :goto_7
|
|
|
|
:cond_b
|
|
iget-object v5, v3, Lokhttp3/w;->brx:Lokhttp3/Headers;
|
|
|
|
invoke-static {v5}, Lokhttp3/a/a;->d(Lokhttp3/Headers;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_c
|
|
|
|
iget-object v5, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
new-instance v7, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v7, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v6, v3, Lokhttp3/w;->bsg:Ljava/lang/String;
|
|
|
|
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v6, " (encoded body omitted)"
|
|
|
|
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v7}, 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_8
|
|
|
|
:cond_c
|
|
new-instance v5, Lokio/c;
|
|
|
|
invoke-direct {v5}, Lokio/c;-><init>()V
|
|
|
|
invoke-virtual {v7, v5}, Lokhttp3/RequestBody;->writeTo(Lokio/BufferedSink;)V
|
|
|
|
sget-object v10, Lokhttp3/a/a;->byh:Ljava/nio/charset/Charset;
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentType()Lokhttp3/MediaType;
|
|
|
|
move-result-object v11
|
|
|
|
if-eqz v11, :cond_d
|
|
|
|
sget-object v10, Lokhttp3/a/a;->byh:Ljava/nio/charset/Charset;
|
|
|
|
invoke-virtual {v11, v10}, Lokhttp3/MediaType;->b(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v10
|
|
|
|
:cond_d
|
|
iget-object v11, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
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
|
|
|
|
iget-object v11, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
invoke-virtual {v5, v10}, 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
|
|
|
|
iget-object v5, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
new-instance v10, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v10, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v6, v3, Lokhttp3/w;->bsg:Ljava/lang/String;
|
|
|
|
invoke-virtual {v10, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v10, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
move-result-wide v6
|
|
|
|
invoke-virtual {v10, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v10, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v10}, 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 :goto_8
|
|
|
|
:cond_e
|
|
iget-object v5, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
new-instance v10, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v10, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v6, v3, Lokhttp3/w;->bsg:Ljava/lang/String;
|
|
|
|
invoke-virtual {v10, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v6, " (binary "
|
|
|
|
invoke-virtual {v10, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v7}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
move-result-wide v6
|
|
|
|
invoke-virtual {v10, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v10}, 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 :goto_8
|
|
|
|
:cond_f
|
|
:goto_7
|
|
iget-object v5, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
new-instance v7, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v7, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v6, v3, Lokhttp3/w;->bsg:Ljava/lang/String;
|
|
|
|
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v7}, 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
|
|
:goto_8
|
|
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 v10
|
|
|
|
sub-long/2addr v10, v5
|
|
|
|
invoke-virtual {v3, v10, v11}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
|
|
|
move-result-wide v5
|
|
|
|
iget-object v3, v0, Lokhttp3/Response;->bst:Lokhttp3/x;
|
|
|
|
invoke-virtual {v3}, Lokhttp3/x;->contentLength()J
|
|
|
|
move-result-wide v10
|
|
|
|
const-wide/16 v14, -0x1
|
|
|
|
cmp-long v7, v10, v14
|
|
|
|
if-eqz v7, :cond_11
|
|
|
|
new-instance v7, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v7, v10, v11}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v14, "-byte"
|
|
|
|
invoke-virtual {v7, v14}, 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_9
|
|
|
|
:cond_11
|
|
const-string v7, "unknown-length"
|
|
|
|
:goto_9
|
|
iget-object v14, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
new-instance v15, Ljava/lang/StringBuilder;
|
|
|
|
move-object/from16 v17, v9
|
|
|
|
const-string v9, "<-- "
|
|
|
|
invoke-direct {v15, v9}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget v9, v0, Lokhttp3/Response;->code:I
|
|
|
|
invoke-virtual {v15, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v9, v0, Lokhttp3/Response;->message:Ljava/lang/String;
|
|
|
|
invoke-virtual {v9}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result v9
|
|
|
|
if-eqz v9, :cond_12
|
|
|
|
move-wide/from16 v18, v10
|
|
|
|
move-object v9, v12
|
|
|
|
goto :goto_a
|
|
|
|
:cond_12
|
|
new-instance v9, Ljava/lang/StringBuilder;
|
|
|
|
move-wide/from16 v18, v10
|
|
|
|
move-object/from16 v10, v16
|
|
|
|
invoke-direct {v9, v10}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v10, v0, Lokhttp3/Response;->message:Ljava/lang/String;
|
|
|
|
invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
:goto_a
|
|
invoke-virtual {v15, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v9, 0x20
|
|
|
|
invoke-virtual {v15, v9}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v9, v0, Lokhttp3/Response;->bsq:Lokhttp3/w;
|
|
|
|
iget-object v9, v9, Lokhttp3/w;->bna:Lokhttp3/s;
|
|
|
|
invoke-virtual {v15, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v15, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v15, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v5, "ms"
|
|
|
|
invoke-virtual {v15, 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_b
|
|
|
|
:cond_13
|
|
move-object v5, v12
|
|
|
|
:goto_b
|
|
invoke-virtual {v15, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v5, 0x29
|
|
|
|
invoke-virtual {v15, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v15}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-interface {v14, v5}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
if-eqz v2, :cond_1e
|
|
|
|
iget-object v2, v0, Lokhttp3/Response;->brx:Lokhttp3/Headers;
|
|
|
|
iget-object v5, v2, Lokhttp3/Headers;->bqS:[Ljava/lang/String;
|
|
|
|
array-length v5, v5
|
|
|
|
div-int/lit8 v5, v5, 0x2
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:goto_c
|
|
if-ge v6, v5, :cond_14
|
|
|
|
invoke-direct {v1, v2, v6}, Lokhttp3/a/a;->a(Lokhttp3/Headers;I)V
|
|
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_c
|
|
|
|
:cond_14
|
|
if-eqz v4, :cond_1d
|
|
|
|
invoke-static {v0}, Lokhttp3/internal/c/e;->g(Lokhttp3/Response;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_15
|
|
|
|
goto/16 :goto_f
|
|
|
|
:cond_15
|
|
iget-object v4, v0, Lokhttp3/Response;->brx:Lokhttp3/Headers;
|
|
|
|
invoke-static {v4}, Lokhttp3/a/a;->d(Lokhttp3/Headers;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_16
|
|
|
|
iget-object v2, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
const-string v3, "<-- END HTTP (encoded body omitted)"
|
|
|
|
invoke-interface {v2, v3}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
goto/16 :goto_10
|
|
|
|
:cond_16
|
|
invoke-virtual {v3}, Lokhttp3/x;->FO()Lokio/d;
|
|
|
|
move-result-object v4
|
|
|
|
const-wide v5, 0x7fffffffffffffffL
|
|
|
|
invoke-interface {v4, v5, v6}, Lokio/d;->request(J)Z
|
|
|
|
invoke-interface {v4}, Lokio/d;->Hd()Lokio/c;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "Content-Encoding"
|
|
|
|
invoke-virtual {v2, v5}, Lokhttp3/Headers;->dA(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v5, "gzip"
|
|
|
|
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;
|
|
|
|
invoke-virtual {v4}, Lokio/c;->Hp()Lokio/c;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-direct {v6, v4}, Lokio/h;-><init>(Lokio/r;)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/r;)J
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
invoke-virtual {v6}, Lokio/h;->close()V
|
|
|
|
goto :goto_e
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
move-object v5, v6
|
|
|
|
goto :goto_d
|
|
|
|
:catchall_1
|
|
move-exception v0
|
|
|
|
:goto_d
|
|
if-eqz v5, :cond_17
|
|
|
|
invoke-virtual {v5}, Lokio/h;->close()V
|
|
|
|
:cond_17
|
|
throw v0
|
|
|
|
:cond_18
|
|
move-object v2, v5
|
|
|
|
:goto_e
|
|
sget-object v5, Lokhttp3/a/a;->byh:Ljava/nio/charset/Charset;
|
|
|
|
invoke-virtual {v3}, Lokhttp3/x;->contentType()Lokhttp3/MediaType;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_19
|
|
|
|
sget-object v5, Lokhttp3/a/a;->byh:Ljava/nio/charset/Charset;
|
|
|
|
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
|
|
|
|
iget-object v2, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
invoke-interface {v2, v12}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
iget-object v2, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
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;
|
|
|
|
invoke-virtual {v3, v8}, 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, v18, v6
|
|
|
|
if-eqz v3, :cond_1b
|
|
|
|
iget-object v3, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
invoke-interface {v3, v12}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
iget-object v3, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
invoke-virtual {v4}, Lokio/c;->Hp()Lokio/c;
|
|
|
|
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
|
|
const-string v3, "<-- END HTTP ("
|
|
|
|
if-eqz v2, :cond_1c
|
|
|
|
iget-object v5, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
new-instance v6, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v6, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-wide v3, v4, Lokio/c;->size:J
|
|
|
|
invoke-virtual {v6, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "-byte, "
|
|
|
|
invoke-virtual {v6, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v6, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "-gzipped-byte body)"
|
|
|
|
invoke-virtual {v6, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v5, v2}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
goto :goto_10
|
|
|
|
:cond_1c
|
|
iget-object v2, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v5, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-wide v3, v4, Lokio/c;->size:J
|
|
|
|
invoke-virtual {v5, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
move-object/from16 v3, v17
|
|
|
|
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v2, v3}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
goto :goto_10
|
|
|
|
:cond_1d
|
|
:goto_f
|
|
iget-object v2, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
const-string v3, "<-- END HTTP"
|
|
|
|
invoke-interface {v2, v3}, Lokhttp3/a/a$b;->log(Ljava/lang/String;)V
|
|
|
|
:cond_1e
|
|
:goto_10
|
|
return-object v0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
move-object v2, v0
|
|
|
|
iget-object v0, v1, Lokhttp3/a/a;->byi:Lokhttp3/a/a$b;
|
|
|
|
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
|
|
|
|
goto :goto_12
|
|
|
|
:goto_11
|
|
throw v2
|
|
|
|
:goto_12
|
|
goto :goto_11
|
|
.end method
|