2020-10-05 23:18:16 +00:00
|
|
|
.class public final Lg0/i0/a;
|
2020-09-16 23:45:23 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "HttpLoggingInterceptor.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lokhttp3/Interceptor;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2020-10-05 23:18:16 +00:00
|
|
|
Lg0/i0/a$a;,
|
|
|
|
Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public volatile b:Ljava/util/Set;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Set<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
.field public volatile c:Lg0/i0/a$a;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
.field public final d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-10-05 23:18:16 +00:00
|
|
|
.method public constructor <init>(Lg0/i0/a$b;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "logger"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput-object p1, p0, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object p1, Lc0/i/n;->d:Lc0/i/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput-object p1, p0, Lg0/i0/a;->b:Ljava/util/Set;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object p1, Lg0/i0/a$a;->d:Lg0/i0/a$a;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput-object p1, p0, Lg0/i0/a;->c:Lg0/i0/a$a;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(Lokhttp3/Headers;)Z
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-string v0, "Content-Encoding"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lokhttp3/Headers;->c(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
const-string v1, "identity"
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {p1, v1, v2}, Lc0/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
|
|
|
const-string v1, "gzip"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {p1, v1, v2}, Lc0/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final b(Lokhttp3/Headers;I)V
|
|
|
|
.locals 3
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Lg0/i0/a;->b:Ljava/util/Set;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
iget-object v1, p1, Lokhttp3/Headers;->d:[Ljava/lang/String;
|
|
|
|
|
|
|
|
mul-int/lit8 p2, p2, 0x2
|
|
|
|
|
|
|
|
aget-object v1, v1, p2
|
|
|
|
|
|
|
|
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
|
|
|
|
iget-object v0, p1, Lokhttp3/Headers;->d:[Ljava/lang/String;
|
|
|
|
|
|
|
|
add-int/lit8 v1, p2, 0x1
|
|
|
|
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
|
|
|
|
:goto_0
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v1, p0, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
iget-object p1, p1, Lokhttp3/Headers;->d:[Ljava/lang/String;
|
|
|
|
|
|
|
|
aget-object p1, p1, p2
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v1, p1}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
|
|
|
|
.locals 21
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
|
|
|
|
move-object/from16 v0, p1
|
|
|
|
|
|
|
|
const-string v2, "chain"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v0, v2}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v2, v1, Lg0/i0/a;->c:Lg0/i0/a$a;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface/range {p1 .. p1}, Lokhttp3/Interceptor$Chain;->g()Lg0/b0;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v4, Lg0/i0/a$a;->d:Lg0/i0/a$a;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-ne v2, v4, :cond_0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v0, v3}, Lokhttp3/Interceptor$Chain;->a(Lg0/b0;)Lokhttp3/Response;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v4, Lg0/i0/a$a;->g:Lg0/i0/a$a;
|
2020-09-16 23:45:23 +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
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v5, Lg0/i0/a$a;->f:Lg0/i0/a$a;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-ne v2, v5, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
:goto_2
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v5, v3, Lg0/b0;->e:Lokhttp3/RequestBody;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface/range {p1 .. p1}, Lokhttp3/Interceptor$Chain;->b()Lg0/l;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
const-string v7, "--> "
|
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v7}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v8, v3, Lg0/b0;->c:Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 v8, 0x20
|
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v8, v3, Lg0/b0;->b:Lg0/y;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v8, ""
|
|
|
|
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
|
|
|
|
const-string v9, " "
|
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v9}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v6}, Lg0/l;->a()Lg0/a0;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-virtual {v9, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move-object v6, v8
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
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
|
|
|
|
|
|
|
|
const-string v7, "-byte body)"
|
|
|
|
|
|
|
|
const-string v9, " ("
|
|
|
|
|
|
|
|
if-nez v2, :cond_5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_5
|
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v6, v9}, Lf/e/c/a/a;->H(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v10
|
|
|
|
|
|
|
|
invoke-virtual {v6, v10, v11}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
:cond_5
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v10, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v10, v6}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v6, "-byte body omitted)"
|
|
|
|
|
|
|
|
const-string v10, "UTF_8"
|
|
|
|
|
|
|
|
if-eqz v2, :cond_10
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v11, v3, Lg0/b0;->d:Lokhttp3/Headers;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v5, :cond_7
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Lokhttp3/RequestBody;->contentType()Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
|
|
|
if-eqz v12, :cond_6
|
|
|
|
|
|
|
|
const-string v13, "Content-Type"
|
|
|
|
|
|
|
|
invoke-virtual {v11, v13}, Lokhttp3/Headers;->c(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
|
|
|
if-nez v13, :cond_6
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v13, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
new-instance v14, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v14}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v15, "Content-Type: "
|
|
|
|
|
|
|
|
invoke-virtual {v14, v15}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v14, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v14}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v13, v12}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:cond_6
|
|
|
|
invoke-virtual {v5}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v12
|
|
|
|
|
|
|
|
const-wide/16 v14, -0x1
|
|
|
|
|
|
|
|
cmp-long v16, v12, v14
|
|
|
|
|
|
|
|
if-eqz v16, :cond_7
|
|
|
|
|
|
|
|
const-string v12, "Content-Length"
|
|
|
|
|
|
|
|
invoke-virtual {v11, v12}, Lokhttp3/Headers;->c(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
|
|
|
if-nez v12, :cond_7
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v12, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v13, "Content-Length: "
|
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v13}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v14
|
|
|
|
|
|
|
|
invoke-virtual {v13, v14, v15}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v12, v13}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-virtual {v11}, Lokhttp3/Headers;->size()I
|
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
|
|
|
const/4 v13, 0x0
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
if-ge v13, v12, :cond_8
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1, v11, v13}, Lg0/i0/a;->b(Lokhttp3/Headers;I)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
add-int/lit8 v13, v13, 0x1
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
const-string v11, "--> END "
|
|
|
|
|
|
|
|
if-eqz v4, :cond_f
|
|
|
|
|
|
|
|
if-nez v5, :cond_9
|
|
|
|
|
|
|
|
goto/16 :goto_6
|
|
|
|
|
|
|
|
:cond_9
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v12, v3, Lg0/b0;->d:Lokhttp3/Headers;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1, v12}, Lg0/i0/a;->a(Lokhttp3/Headers;)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
|
|
|
if-eqz v12, :cond_a
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v5, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v11}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v12, v3, Lg0/b0;->c:Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v12, " (encoded body omitted)"
|
|
|
|
|
|
|
|
invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v5, v11}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto/16 :goto_7
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
invoke-virtual {v5}, Lokhttp3/RequestBody;->isDuplex()Z
|
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
|
|
|
if-eqz v12, :cond_b
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v5, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v11}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v12, v3, Lg0/b0;->c:Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v12, " (duplex request body omitted)"
|
|
|
|
|
|
|
|
invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v5, v11}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto/16 :goto_7
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
invoke-virtual {v5}, Lokhttp3/RequestBody;->isOneShot()Z
|
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
|
|
|
if-eqz v12, :cond_c
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v5, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v11}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v12, v3, Lg0/b0;->c:Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v12, " (one-shot body omitted)"
|
|
|
|
|
|
|
|
invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v5, v11}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto/16 :goto_7
|
|
|
|
|
|
|
|
:cond_c
|
2020-10-05 23:18:16 +00:00
|
|
|
new-instance v12, Lh0/e;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {v12}, Lh0/e;-><init>()V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v5, v12}, Lokhttp3/RequestBody;->writeTo(Lokio/BufferedSink;)V
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Lokhttp3/RequestBody;->contentType()Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
|
|
|
if-eqz v13, :cond_d
|
|
|
|
|
|
|
|
sget-object v14, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
invoke-virtual {v13, v14}, Lokhttp3/MediaType;->a(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
move-result-object v13
|
|
|
|
|
|
|
|
if-eqz v13, :cond_d
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
sget-object v13, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v13, v10}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:goto_5
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v14, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v14, v8}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v12}, Lc0/j/a;->A(Lh0/e;)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v14
|
|
|
|
|
|
|
|
if-eqz v14, :cond_e
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v14, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v12, v13}, Lh0/e;->e0(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v14, v12}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v12, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v11}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v13, v3, Lg0/b0;->c:Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v11, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v11, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v13
|
|
|
|
|
|
|
|
invoke-virtual {v11, v13, v14}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v11, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v12, v5}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_e
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v12, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v11}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v13, v3, Lg0/b0;->c:Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v11, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v13, " (binary "
|
|
|
|
|
|
|
|
invoke-virtual {v11, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Lokhttp3/RequestBody;->contentLength()J
|
|
|
|
|
|
|
|
move-result-wide v13
|
|
|
|
|
|
|
|
invoke-virtual {v11, v13, v14}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v11, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v12, v5}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
:goto_6
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v5, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v11}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v12, v3, Lg0/b0;->c:Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v5, v11}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:cond_10
|
|
|
|
:goto_7
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
|
|
|
|
move-result-wide v11
|
|
|
|
|
|
|
|
:try_start_0
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v0, v3}, Lokhttp3/Interceptor$Chain;->a(Lg0/b0;)Lokhttp3/Response;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
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 v13
|
|
|
|
|
|
|
|
sub-long/2addr v13, v11
|
|
|
|
|
|
|
|
invoke-virtual {v3, v13, v14}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
|
|
|
|
|
|
|
move-result-wide v11
|
|
|
|
|
|
|
|
iget-object v3, v0, Lokhttp3/Response;->j:Lokhttp3/ResponseBody;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1f
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Lokhttp3/ResponseBody;->a()J
|
|
|
|
|
|
|
|
move-result-wide v13
|
|
|
|
|
|
|
|
const-wide/16 v15, -0x1
|
|
|
|
|
|
|
|
cmp-long v5, v13, v15
|
|
|
|
|
|
|
|
if-eqz v5, :cond_11
|
|
|
|
|
|
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v5, v13, v14}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v15, "-byte"
|
|
|
|
|
|
|
|
invoke-virtual {v5, v15}, 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_8
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
const-string v5, "unknown-length"
|
|
|
|
|
|
|
|
:goto_8
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v15, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v16, "<-- "
|
|
|
|
|
|
|
|
move-object/from16 v17, v7
|
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static/range {v16 .. v16}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
move-wide/from16 v18, v13
|
|
|
|
|
|
|
|
iget v13, v0, Lokhttp3/Response;->g:I
|
|
|
|
|
|
|
|
invoke-virtual {v7, v13}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-object v13, v0, Lokhttp3/Response;->f:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v13}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
if-nez v13, :cond_12
|
|
|
|
|
|
|
|
const/4 v13, 0x1
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
const/4 v13, 0x0
|
|
|
|
|
|
|
|
:goto_9
|
|
|
|
if-eqz v13, :cond_13
|
|
|
|
|
|
|
|
move-object/from16 v20, v6
|
|
|
|
|
|
|
|
move-object v6, v8
|
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
:cond_13
|
|
|
|
iget-object v13, v0, Lokhttp3/Response;->f:Ljava/lang/String;
|
|
|
|
|
|
|
|
new-instance v14, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v14}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const/16 v16, 0x20
|
|
|
|
|
|
|
|
move-object/from16 v20, v6
|
|
|
|
|
|
|
|
invoke-static/range {v16 .. v16}, Ljava/lang/String;->valueOf(C)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-virtual {v14, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v14, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v14}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
:goto_a
|
|
|
|
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 v6, 0x20
|
|
|
|
|
|
|
|
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v6, v0, Lokhttp3/Response;->d:Lg0/b0;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v6, v6, Lg0/b0;->b:Lg0/y;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7, v11, v12}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v6, "ms"
|
|
|
|
|
|
|
|
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
if-nez v2, :cond_14
|
|
|
|
|
|
|
|
const-string v6, ", "
|
|
|
|
|
|
|
|
const-string v9, " body"
|
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
invoke-static {v6, v5, v9}, Lf/e/c/a/a;->r(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
goto :goto_b
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
move-object v5, v8
|
|
|
|
|
|
|
|
:goto_b
|
|
|
|
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 v5, 0x29
|
|
|
|
|
|
|
|
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v15, v5}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_1e
|
|
|
|
|
|
|
|
iget-object v2, v0, Lokhttp3/Response;->i:Lokhttp3/Headers;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Lokhttp3/Headers;->size()I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
:goto_c
|
|
|
|
if-ge v6, v5, :cond_15
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1, v2, v6}, Lg0/i0/a;->b(Lokhttp3/Headers;I)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
|
|
|
|
goto :goto_c
|
|
|
|
|
|
|
|
:cond_15
|
|
|
|
if-eqz v4, :cond_1d
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v0}, Lg0/h0/h/e;->b(Lokhttp3/Response;)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-nez v4, :cond_16
|
|
|
|
|
|
|
|
goto/16 :goto_f
|
|
|
|
|
|
|
|
:cond_16
|
|
|
|
iget-object v4, v0, Lokhttp3/Response;->i:Lokhttp3/Headers;
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v1, v4}, Lg0/i0/a;->a(Lokhttp3/Headers;)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_17
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v2, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v3, "<-- END HTTP (encoded body omitted)"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v2, v3}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto/16 :goto_10
|
|
|
|
|
|
|
|
:cond_17
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v3}, Lokhttp3/ResponseBody;->c()Lh0/g;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-wide v5, 0x7fffffffffffffffL
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v4, v5, v6}, Lh0/g;->n(J)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v4}, Lh0/g;->i()Lh0/e;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
const-string v5, "Content-Encoding"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v5}, Lokhttp3/Headers;->c(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v5, "gzip"
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v5, v2, v6}, Lc0/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_18
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v5, v4, Lh0/e;->e:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
new-instance v5, Lh0/l;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v4}, Lh0/e;->b()Lh0/e;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {v5, v4}, Lh0/l;-><init>(Lh0/x;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:try_start_1
|
2020-10-05 23:18:16 +00:00
|
|
|
new-instance v4, Lh0/e;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {v4}, Lh0/e;-><init>()V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v4, v5}, Lh0/e;->n0(Lh0/x;)J
|
2020-09-16 23:45:23 +00:00
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v5, v6}, Lc0/j/a;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_d
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v2, v0
|
|
|
|
|
|
|
|
:try_start_2
|
|
|
|
throw v2
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v5, v2}, Lc0/j/a;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
throw v3
|
|
|
|
|
|
|
|
:cond_18
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_d
|
|
|
|
invoke-virtual {v3}, Lokhttp3/ResponseBody;->b()Lokhttp3/MediaType;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_19
|
|
|
|
|
|
|
|
sget-object v5, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v5}, Lokhttp3/MediaType;->a(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_19
|
|
|
|
|
|
|
|
goto :goto_e
|
|
|
|
|
|
|
|
:cond_19
|
|
|
|
sget-object v3, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v3, v10}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:goto_e
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v4}, Lc0/j/a;->A(Lh0/e;)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-nez v5, :cond_1a
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v2, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v2, v8}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v2, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v3, "<-- END HTTP (binary "
|
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v3}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v4, v4, Lh0/e;->e:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-object/from16 v4, v20
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v2, v3}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_1a
|
|
|
|
const-wide/16 v5, 0x0
|
|
|
|
|
|
|
|
cmp-long v7, v18, v5
|
|
|
|
|
|
|
|
if-eqz v7, :cond_1b
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v5, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v5, v8}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v5, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v4}, Lh0/e;->b()Lh0/e;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v6, v3}, Lh0/e;->e0(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v5, v3}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:cond_1b
|
|
|
|
const-string v3, "<-- END HTTP ("
|
|
|
|
|
|
|
|
if-eqz v2, :cond_1c
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v5, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v3}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v6, v4, Lh0/e;->e:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v4, "-byte, "
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v2, "-gzipped-byte body)"
|
|
|
|
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v5, v2}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_10
|
|
|
|
|
|
|
|
:cond_1c
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v2, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-27 04:20:34 +00:00
|
|
|
invoke-static {v3}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v4, v4, Lh0/e;->e:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-object/from16 v4, v17
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v2, v3}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_10
|
|
|
|
|
|
|
|
:cond_1d
|
|
|
|
:goto_f
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v2, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v3, "<-- END HTTP"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v2, v3}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:cond_1e
|
|
|
|
:goto_10
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_1f
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {}, Lc0/n/c/j;->throwNpe()V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v2, v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, v1, Lg0/i0/a;->d:Lg0/i0/a$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v4, "<-- HTTP FAILED: "
|
|
|
|
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {v0, v3}, Lg0/i0/a$b;->log(Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
throw v2
|
|
|
|
.end method
|