ab.smali
.class public final Lcom/squareup/okhttp/ab;
.super Ljava/lang/Object;
.source "Response.java"
# instance fields
.field public final bxj:Lcom/squareup/okhttp/s;
.field private volatile bxn:Lcom/squareup/okhttp/d;
.field public final bxp:Lcom/squareup/okhttp/y;
.field final bxq:Lcom/squareup/okhttp/Protocol;
.field public final bxr:Lcom/squareup/okhttp/r;
.field public final bxs:Lcom/squareup/okhttp/ad;
.field bxt:Lcom/squareup/okhttp/ab;
.field bxu:Lcom/squareup/okhttp/ab;
.field final bxv:Lcom/squareup/okhttp/ab;
.field public final code:I
.field final message:Ljava/lang/String;
# direct methods
.method private constructor <init>(Lcom/squareup/okhttp/ac;)V
.registers 3
.prologue
.line 50
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 1221
iget-object v0, p1, Lcom/squareup/okhttp/ac;->bxp:Lcom/squareup/okhttp/y;
.line 51
iput-object v0, p0, Lcom/squareup/okhttp/ab;->bxp:Lcom/squareup/okhttp/y;
.line 2221
iget-object v0, p1, Lcom/squareup/okhttp/ac;->bxq:Lcom/squareup/okhttp/Protocol;
.line 52
iput-object v0, p0, Lcom/squareup/okhttp/ab;->bxq:Lcom/squareup/okhttp/Protocol;
.line 3221
iget v0, p1, Lcom/squareup/okhttp/ac;->code:I
.line 53
iput v0, p0, Lcom/squareup/okhttp/ab;->code:I
.line 4221
iget-object v0, p1, Lcom/squareup/okhttp/ac;->message:Ljava/lang/String;
.line 54
iput-object v0, p0, Lcom/squareup/okhttp/ab;->message:Ljava/lang/String;
.line 5221
iget-object v0, p1, Lcom/squareup/okhttp/ac;->bxr:Lcom/squareup/okhttp/r;
.line 55
iput-object v0, p0, Lcom/squareup/okhttp/ab;->bxr:Lcom/squareup/okhttp/r;
.line 6221
iget-object v0, p1, Lcom/squareup/okhttp/ac;->bxo:Lcom/squareup/okhttp/t;
.line 56
invoke-virtual {v0}, Lcom/squareup/okhttp/t;->GM()Lcom/squareup/okhttp/s;
move-result-object v0
iput-object v0, p0, Lcom/squareup/okhttp/ab;->bxj:Lcom/squareup/okhttp/s;
.line 7221
iget-object v0, p1, Lcom/squareup/okhttp/ac;->bxs:Lcom/squareup/okhttp/ad;
.line 57
iput-object v0, p0, Lcom/squareup/okhttp/ab;->bxs:Lcom/squareup/okhttp/ad;
.line 8221
iget-object v0, p1, Lcom/squareup/okhttp/ac;->bxt:Lcom/squareup/okhttp/ab;
.line 58
iput-object v0, p0, Lcom/squareup/okhttp/ab;->bxt:Lcom/squareup/okhttp/ab;
.line 9221
iget-object v0, p1, Lcom/squareup/okhttp/ac;->bxu:Lcom/squareup/okhttp/ab;
.line 59
iput-object v0, p0, Lcom/squareup/okhttp/ab;->bxu:Lcom/squareup/okhttp/ab;
.line 10221
iget-object v0, p1, Lcom/squareup/okhttp/ac;->bxv:Lcom/squareup/okhttp/ab;
.line 60
iput-object v0, p0, Lcom/squareup/okhttp/ab;->bxv:Lcom/squareup/okhttp/ab;
.line 61
return-void
.end method
.method synthetic constructor <init>(Lcom/squareup/okhttp/ac;B)V
.registers 3
.prologue
.line 36
invoke-direct {p0, p1}, Lcom/squareup/okhttp/ab;-><init>(Lcom/squareup/okhttp/ac;)V
return-void
.end method
# virtual methods
.method public final GY()Lcom/squareup/okhttp/d;
.registers 2
.prologue
.line 205
iget-object v0, p0, Lcom/squareup/okhttp/ab;->bxn:Lcom/squareup/okhttp/d;
.line 206
if-eqz v0, :cond_5
:goto_4
return-object v0
:cond_5
iget-object v0, p0, Lcom/squareup/okhttp/ab;->bxj:Lcom/squareup/okhttp/s;
invoke-static {v0}, Lcom/squareup/okhttp/d;->a(Lcom/squareup/okhttp/s;)Lcom/squareup/okhttp/d;
move-result-object v0
iput-object v0, p0, Lcom/squareup/okhttp/ab;->bxn:Lcom/squareup/okhttp/d;
goto :goto_4
.end method
.method public final Hc()Lcom/squareup/okhttp/ad;
.registers 2
.prologue
.line 130
iget-object v0, p0, Lcom/squareup/okhttp/ab;->bxs:Lcom/squareup/okhttp/ad;
return-object v0
.end method
.method public final Hd()Lcom/squareup/okhttp/ac;
.registers 3
.prologue
.line 134
new-instance v0, Lcom/squareup/okhttp/ac;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/squareup/okhttp/ac;-><init>(Lcom/squareup/okhttp/ab;B)V
return-object v0
.end method
.method public final He()Ljava/util/List;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List",
"<",
"Lcom/squareup/okhttp/j;",
">;"
}
.end annotation
.prologue
.line 190
iget v0, p0, Lcom/squareup/okhttp/ab;->code:I
const/16 v1, 0x191
if-ne v0, v1, :cond_f
.line 191
const-string v0, "WWW-Authenticate"
.line 11126
:goto_8
iget-object v1, p0, Lcom/squareup/okhttp/ab;->bxj:Lcom/squareup/okhttp/s;
.line 197
invoke-static {v1, v0}, Lcom/squareup/okhttp/internal/http/t;->b(Lcom/squareup/okhttp/s;Ljava/lang/String;)Ljava/util/List;
move-result-object v0
:goto_e
return-object v0
.line 192
:cond_f
iget v0, p0, Lcom/squareup/okhttp/ab;->code:I
const/16 v1, 0x197
if-ne v0, v1, :cond_18
.line 193
const-string v0, "Proxy-Authenticate"
goto :goto_8
.line 195
:cond_18
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object v0
goto :goto_e
.end method
.method public final code()I
.registers 2
.prologue
.line 88
iget v0, p0, Lcom/squareup/okhttp/ab;->code:I
return v0
.end method
.method public final gd(Ljava/lang/String;)Ljava/lang/String;
.registers 3
.prologue
.line 117
.line 11121
iget-object v0, p0, Lcom/squareup/okhttp/ab;->bxj:Lcom/squareup/okhttp/s;
invoke-virtual {v0, p1}, Lcom/squareup/okhttp/s;->get(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
.line 11122
if-eqz v0, :cond_9
:goto_8
return-object v0
:cond_9
const/4 v0, 0x0
.line 117
goto :goto_8
.end method
.method public final isSuccessful()Z
.registers 3
.prologue
.line 96
iget v0, p0, Lcom/squareup/okhttp/ab;->code:I
const/16 v1, 0xc8
if-lt v0, v1, :cond_e
iget v0, p0, Lcom/squareup/okhttp/ab;->code:I
const/16 v1, 0x12c
if-ge v0, v1, :cond_e
const/4 v0, 0x1
:goto_d
return v0
:cond_e
const/4 v0, 0x0
goto :goto_d
.end method
.method public final message()Ljava/lang/String;
.registers 2
.prologue
.line 101
iget-object v0, p0, Lcom/squareup/okhttp/ab;->message:Ljava/lang/String;
return-object v0
.end method
.method public final toString()Ljava/lang/String;
.registers 3
.prologue
.line 210
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Response{protocol="
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Lcom/squareup/okhttp/ab;->bxq:Lcom/squareup/okhttp/Protocol;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ", code="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget v1, p0, Lcom/squareup/okhttp/ab;->code:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ", message="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lcom/squareup/okhttp/ab;->message:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ", url="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lcom/squareup/okhttp/ab;->bxp:Lcom/squareup/okhttp/y;
.line 12066
iget-object v1, v1, Lcom/squareup/okhttp/y;->bvL:Lcom/squareup/okhttp/HttpUrl;
invoke-virtual {v1}, Lcom/squareup/okhttp/HttpUrl;->toString()Ljava/lang/String;
move-result-object v1
.line 217
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const/16 v1, 0x7d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method