2019-02-04 20:05:16 +00:00
|
|
|
.class public final Lokhttp3/Response;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "Response.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/io/Closeable;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2019-02-04 20:08:30 +00:00
|
|
|
Lokhttp3/Response$a;
|
2019-02-04 20:05:16 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-03-26 19:13:28 +00:00
|
|
|
.field public final bnJ:Lokhttp3/Headers;
|
2019-02-21 02:16:48 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field public final boC:Lokhttp3/w;
|
2019-03-16 01:04:31 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field final boD:Lokhttp3/u;
|
2019-03-16 01:04:31 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field public final boE:Lokhttp3/r;
|
2019-02-17 02:24:41 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field public final boF:Lokhttp3/x;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field final boG:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field final boH:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field public final boI:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field public final boJ:J
|
2019-03-16 01:04:31 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field public final boK:J
|
2019-03-16 01:04:31 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field private volatile bou:Lokhttp3/d;
|
2019-02-06 20:30:57 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2019-02-04 20:20:43 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.field public final code:I
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.field public final message:Ljava/lang/String;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lokhttp3/Response$a;)V
|
|
|
|
.locals 2
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->boC:Lokhttp3/w;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->boC:Lokhttp3/w;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->boD:Lokhttp3/u;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->boD:Lokhttp3/u;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iget v0, p1, Lokhttp3/Response$a;->code:I
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
iput v0, p0, Lokhttp3/Response;->code:I
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->message:Ljava/lang/String;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
iput-object v0, p0, Lokhttp3/Response;->message:Ljava/lang/String;
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->boE:Lokhttp3/r;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->boE:Lokhttp3/r;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->bov:Lokhttp3/Headers$a;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/Headers$a;->Af()Lokhttp3/Headers;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->bnJ:Lokhttp3/Headers;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->boF:Lokhttp3/x;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->boF:Lokhttp3/x;
|
|
|
|
|
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->boG:Lokhttp3/Response;
|
|
|
|
|
|
|
|
iput-object v0, p0, Lokhttp3/Response;->boG:Lokhttp3/Response;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->boH:Lokhttp3/Response;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->boH:Lokhttp3/Response;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/Response$a;->boI:Lokhttp3/Response;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->boI:Lokhttp3/Response;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-wide v0, p1, Lokhttp3/Response$a;->boJ:J
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-wide v0, p0, Lokhttp3/Response;->boJ:J
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iget-wide v0, p1, Lokhttp3/Response$a;->boK:J
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iput-wide v0, p0, Lokhttp3/Response;->boK:J
|
2019-02-22 00:19:04 +00:00
|
|
|
|
2019-02-04 20:05:16 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-03-22 22:04:12 +00:00
|
|
|
.method public final AE()Lokhttp3/d;
|
2019-02-27 00:16:35 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response;->bou:Lokhttp3/d;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-06 20:30:57 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
2019-02-06 20:30:57 +00:00
|
|
|
:cond_0
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response;->bnJ:Lokhttp3/Headers;
|
2019-02-06 20:30:57 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lokhttp3/d;->a(Lokhttp3/Headers;)Lokhttp3/d;
|
|
|
|
|
|
|
|
move-result-object v0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/Response;->bou:Lokhttp3/d;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
.method public final AG()Lokhttp3/Response$a;
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
new-instance v0, Lokhttp3/Response$a;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lokhttp3/Response$a;-><init>(Lokhttp3/Response;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-object v0
|
2019-02-06 20:30:57 +00:00
|
|
|
.end method
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
.method public final Aq()Lokhttp3/w;
|
2019-02-06 20:30:57 +00:00
|
|
|
.locals 1
|
2019-02-04 20:32:01 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response;->boC:Lokhttp3/w;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public final close()V
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response;->boF:Lokhttp3/x;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/x;->close()V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-void
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-02-04 20:08:30 +00:00
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
const-string v1, "response is not eligible for a body and must not be closed"
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
throw v0
|
2019-02-04 20:05:16 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
.method public final dl(Ljava/lang/String;)Ljava/lang/String;
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 1
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
2019-02-04 20:05:16 +00:00
|
|
|
.end annotation
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/Response;->bnJ:Lokhttp3/Headers;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v0, p1}, Lokhttp3/Headers;->get(Ljava/lang/String;)Ljava/lang/String;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
move-result-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 p1, 0x0
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
return-object p1
|
2019-02-04 20:05:16 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
.method public final toString()Ljava/lang/String;
|
2019-02-04 20:05:16 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "Response{protocol="
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/Response;->boD:Lokhttp3/u;
|
2019-02-04 20:05:16 +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-03-26 19:13:28 +00:00
|
|
|
iget-object v1, p0, Lokhttp3/Response;->boC:Lokhttp3/w;
|
2019-02-04 20:05:16 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v1, v1, Lokhttp3/w;->bjp:Lokhttp3/s;
|
2019-02-04 20:05:16 +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-03-08 06:19:26 +00:00
|
|
|
|
2019-03-22 22:04:12 +00:00
|
|
|
.method public final ub()Z
|
2019-03-08 06:19:26 +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
|