2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lokhttp3/Response;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Response.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/io/Closeable;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/Response$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-11-15 02:21:15 +00:00
|
|
|
.field public final brJ:Lokhttp3/Headers;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.field public final bsC:Lokhttp3/w;
|
|
|
|
|
|
|
|
.field final bsD:Lokhttp3/u;
|
|
|
|
|
|
|
|
.field public final bsE:Lokhttp3/r;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.field public final bsF:Lokhttp3/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.field final bsG:Lokhttp3/Response;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.field final bsH:Lokhttp3/Response;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.field public final bsI:Lokhttp3/Response;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.field public final bsJ:J
|
|
|
|
|
|
|
|
.field public final bsK:J
|
|
|
|
|
|
|
|
.field private volatile bsu:Lokhttp3/d;
|
2019-10-19 01:51:17 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-10-11 21:55:41 +00:00
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.field public final code:I
|
|
|
|
|
|
|
|
.field public final message:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lokhttp3/Response$a;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->bsC:Lokhttp3/w;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->bsC:Lokhttp3/w;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->bsD:Lokhttp3/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->bsD:Lokhttp3/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v0, p1, Lokhttp3/Response$a;->code:I
|
|
|
|
|
|
|
|
iput v0, p0, Lokhttp3/Response;->code:I
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->message:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object v0, p0, Lokhttp3/Response;->message:Ljava/lang/String;
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->bsE:Lokhttp3/r;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->bsE:Lokhttp3/r;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->bsv:Lokhttp3/Headers$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/Headers$a;->Fp()Lokhttp3/Headers;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->brJ:Lokhttp3/Headers;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->bsF:Lokhttp3/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->bsF:Lokhttp3/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->bsG:Lokhttp3/Response;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->bsG:Lokhttp3/Response;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->bsH:Lokhttp3/Response;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->bsH:Lokhttp3/Response;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->bsI:Lokhttp3/Response;
|
2019-08-30 20:04:20 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->bsI:Lokhttp3/Response;
|
2019-08-30 20:04:20 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-wide v0, p1, Lokhttp3/Response$a;->bsJ:J
|
2019-10-25 01:57:51 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-wide v0, p0, Lokhttp3/Response;->bsJ:J
|
2019-10-25 01:57:51 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-wide v0, p1, Lokhttp3/Response$a;->bsK:J
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-wide v0, p0, Lokhttp3/Response;->bsK:J
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final FA()Lokhttp3/w;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/Response;->bsC:Lokhttp3/w;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final FP()Lokhttp3/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response;->bsu:Lokhttp3/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response;->brJ:Lokhttp3/Headers;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lokhttp3/d;->a(Lokhttp3/Headers;)Lokhttp3/d;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->bsu:Lokhttp3/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final FR()Lokhttp3/Response$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/Response$a;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lokhttp3/Response$a;-><init>(Lokhttp3/Response;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final close()V
|
|
|
|
.locals 2
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response;->bsF:Lokhttp3/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokhttp3/x;->close()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "response is not eligible for a body and must not be closed"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final dL(Ljava/lang/String;)Ljava/lang/String;
|
2019-10-01 14:15:45 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response;->brJ:Lokhttp3/Headers;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {v0, p1}, Lokhttp3/Headers;->dw(Ljava/lang/String;)Ljava/lang/String;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
move-result-object p1
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
return-object p1
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-10-01 14:15:45 +00:00
|
|
|
const/4 p1, 0x0
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
return-object p1
|
2019-08-17 08:22:04 +00:00
|
|
|
.end method
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final dl(Ljava/lang/String;)Ljava/lang/String;
|
2019-10-07 23:23:22 +00:00
|
|
|
.locals 0
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
invoke-virtual {p0, p1}, Lokhttp3/Response;->dL(Ljava/lang/String;)Ljava/lang/String;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.method public final toString()Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "Response{protocol="
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/Response;->bsD:Lokhttp3/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", code="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget v1, p0, Lokhttp3/Response;->code:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", message="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/Response;->message:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", url="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/Response;->bsC:Lokhttp3/w;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/w;->bnm:Lokhttp3/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 v1, 0x7d
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-11-15 02:21:15 +00:00
|
|
|
.method public final zi()Z
|
2019-10-07 23:23:22 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget v0, p0, Lokhttp3/Response;->code:I
|
|
|
|
|
|
|
|
const/16 v1, 0xc8
|
|
|
|
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/16 v1, 0x12c
|
|
|
|
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|