Rabbit-R1/original r1/smali/smali_classes3/okhttp3/Response$Builder.smali
2024-05-21 17:08:36 -04:00

1163 lines
32 KiB
Smali

.class public Lokhttp3/Response$Builder;
.super Ljava/lang/Object;
.source "Response.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/Response;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Builder"
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nResponse.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Response.kt\nokhttp3/Response$Builder\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,455:1\n1#2:456\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000l\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\t\n\u0002\u0010\u0008\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u000e\n\u0002\u0008\u000b\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\t\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u000c\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\u0008\u0016\u0018\u00002\u00020\u0001B\u0007\u0008\u0016\u00a2\u0006\u0002\u0010\u0002B\u000f\u0008\u0010\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0018\u0010I\u001a\u00020\u00002\u0006\u0010J\u001a\u00020)2\u0006\u0010K\u001a\u00020)H\u0016J\u0012\u0010\u0006\u001a\u00020\u00002\u0008\u0010\u0006\u001a\u0004\u0018\u00010\u0007H\u0016J\u0008\u0010L\u001a\u00020\u0004H\u0016J\u0012\u0010\u000c\u001a\u00020\u00002\u0008\u0010\u000c\u001a\u0004\u0018\u00010\u0004H\u0016J\u0012\u0010M\u001a\u00020N2\u0008\u0010\u0003\u001a\u0004\u0018\u00010\u0004H\u0002J\u001a\u0010O\u001a\u00020N2\u0006\u0010J\u001a\u00020)2\u0008\u0010\u0003\u001a\u0004\u0018\u00010\u0004H\u0002J\u0010\u0010\u0010\u001a\u00020\u00002\u0006\u0010\u0010\u001a\u00020\u0011H\u0016J\u0012\u0010\u001c\u001a\u00020\u00002\u0008\u0010\u001c\u001a\u0004\u0018\u00010\u001dH\u0016J\u0018\u0010P\u001a\u00020\u00002\u0006\u0010J\u001a\u00020)2\u0006\u0010K\u001a\u00020)H\u0016J\u0010\u0010\"\u001a\u00020\u00002\u0006\u0010\"\u001a\u00020QH\u0016J\u0015\u0010R\u001a\u00020N2\u0006\u0010S\u001a\u00020\u0017H\u0000\u00a2\u0006\u0002\u0008TJ\u0010\u0010(\u001a\u00020\u00002\u0006\u0010(\u001a\u00020)H\u0016J\u0012\u0010.\u001a\u00020\u00002\u0008\u0010.\u001a\u0004\u0018\u00010\u0004H\u0016J\u0012\u00101\u001a\u00020\u00002\u0008\u00101\u001a\u0004\u0018\u00010\u0004H\u0016J\u0010\u00104\u001a\u00020\u00002\u0006\u00104\u001a\u000205H\u0016J\u0010\u0010:\u001a\u00020\u00002\u0006\u0010:\u001a\u00020;H\u0016J\u0010\u0010U\u001a\u00020\u00002\u0006\u0010J\u001a\u00020)H\u0016J\u0010\u0010@\u001a\u00020\u00002\u0006\u0010@\u001a\u00020AH\u0016J\u0010\u0010F\u001a\u00020\u00002\u0006\u0010F\u001a\u00020;H\u0016R\u001c\u0010\u0006\u001a\u0004\u0018\u00010\u0007X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u0008\u0010\t\"\u0004\u0008\n\u0010\u000bR\u001c\u0010\u000c\u001a\u0004\u0018\u00010\u0004X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\r\u0010\u000e\"\u0004\u0008\u000f\u0010\u0005R\u001a\u0010\u0010\u001a\u00020\u0011X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u0012\u0010\u0013\"\u0004\u0008\u0014\u0010\u0015R\u001c\u0010\u0016\u001a\u0004\u0018\u00010\u0017X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u0018\u0010\u0019\"\u0004\u0008\u001a\u0010\u001bR\u001c\u0010\u001c\u001a\u0004\u0018\u00010\u001dX\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u001e\u0010\u001f\"\u0004\u0008 \u0010!R\u001a\u0010\"\u001a\u00020#X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008$\u0010%\"\u0004\u0008&\u0010\'R\u001c\u0010(\u001a\u0004\u0018\u00010)X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008*\u0010+\"\u0004\u0008,\u0010-R\u001c\u0010.\u001a\u0004\u0018\u00010\u0004X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008/\u0010\u000e\"\u0004\u00080\u0010\u0005R\u001c\u00101\u001a\u0004\u0018\u00010\u0004X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u00082\u0010\u000e\"\u0004\u00083\u0010\u0005R\u001c\u00104\u001a\u0004\u0018\u000105X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u00086\u00107\"\u0004\u00088\u00109R\u001a\u0010:\u001a\u00020;X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008<\u0010=\"\u0004\u0008>\u0010?R\u001c\u0010@\u001a\u0004\u0018\u00010AX\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008B\u0010C\"\u0004\u0008D\u0010ER\u001a\u0010F\u001a\u00020;X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008G\u0010=\"\u0004\u0008H\u0010?\u00a8\u0006V"
}
d2 = {
"Lokhttp3/Response$Builder;",
"",
"()V",
"response",
"Lokhttp3/Response;",
"(Lokhttp3/Response;)V",
"body",
"Lokhttp3/ResponseBody;",
"getBody$okhttp",
"()Lokhttp3/ResponseBody;",
"setBody$okhttp",
"(Lokhttp3/ResponseBody;)V",
"cacheResponse",
"getCacheResponse$okhttp",
"()Lokhttp3/Response;",
"setCacheResponse$okhttp",
"code",
"",
"getCode$okhttp",
"()I",
"setCode$okhttp",
"(I)V",
"exchange",
"Lokhttp3/internal/connection/Exchange;",
"getExchange$okhttp",
"()Lokhttp3/internal/connection/Exchange;",
"setExchange$okhttp",
"(Lokhttp3/internal/connection/Exchange;)V",
"handshake",
"Lokhttp3/Handshake;",
"getHandshake$okhttp",
"()Lokhttp3/Handshake;",
"setHandshake$okhttp",
"(Lokhttp3/Handshake;)V",
"headers",
"Lokhttp3/Headers$Builder;",
"getHeaders$okhttp",
"()Lokhttp3/Headers$Builder;",
"setHeaders$okhttp",
"(Lokhttp3/Headers$Builder;)V",
"message",
"",
"getMessage$okhttp",
"()Ljava/lang/String;",
"setMessage$okhttp",
"(Ljava/lang/String;)V",
"networkResponse",
"getNetworkResponse$okhttp",
"setNetworkResponse$okhttp",
"priorResponse",
"getPriorResponse$okhttp",
"setPriorResponse$okhttp",
"protocol",
"Lokhttp3/Protocol;",
"getProtocol$okhttp",
"()Lokhttp3/Protocol;",
"setProtocol$okhttp",
"(Lokhttp3/Protocol;)V",
"receivedResponseAtMillis",
"",
"getReceivedResponseAtMillis$okhttp",
"()J",
"setReceivedResponseAtMillis$okhttp",
"(J)V",
"request",
"Lokhttp3/Request;",
"getRequest$okhttp",
"()Lokhttp3/Request;",
"setRequest$okhttp",
"(Lokhttp3/Request;)V",
"sentRequestAtMillis",
"getSentRequestAtMillis$okhttp",
"setSentRequestAtMillis$okhttp",
"addHeader",
"name",
"value",
"build",
"checkPriorResponse",
"",
"checkSupportResponse",
"header",
"Lokhttp3/Headers;",
"initExchange",
"deferredTrailers",
"initExchange$okhttp",
"removeHeader",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private body:Lokhttp3/ResponseBody;
.field private cacheResponse:Lokhttp3/Response;
.field private code:I
.field private exchange:Lokhttp3/internal/connection/Exchange;
.field private handshake:Lokhttp3/Handshake;
.field private headers:Lokhttp3/Headers$Builder;
.field private message:Ljava/lang/String;
.field private networkResponse:Lokhttp3/Response;
.field private priorResponse:Lokhttp3/Response;
.field private protocol:Lokhttp3/Protocol;
.field private receivedResponseAtMillis:J
.field private request:Lokhttp3/Request;
.field private sentRequestAtMillis:J
# direct methods
.method public constructor <init>()V
.locals 1
.line 324
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
iput v0, p0, Lokhttp3/Response$Builder;->code:I
new-instance v0, Lokhttp3/Headers$Builder;
invoke-direct {v0}, Lokhttp3/Headers$Builder;-><init>()V
iput-object v0, p0, Lokhttp3/Response$Builder;->headers:Lokhttp3/Headers$Builder;
return-void
.end method
.method public constructor <init>(Lokhttp3/Response;)V
.locals 2
const-string v0, "response"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 328
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
iput v0, p0, Lokhttp3/Response$Builder;->code:I
invoke-virtual {p1}, Lokhttp3/Response;->request()Lokhttp3/Request;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$Builder;->request:Lokhttp3/Request;
.line 329
invoke-virtual {p1}, Lokhttp3/Response;->protocol()Lokhttp3/Protocol;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$Builder;->protocol:Lokhttp3/Protocol;
.line 330
invoke-virtual {p1}, Lokhttp3/Response;->code()I
move-result v0
iput v0, p0, Lokhttp3/Response$Builder;->code:I
.line 331
invoke-virtual {p1}, Lokhttp3/Response;->message()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$Builder;->message:Ljava/lang/String;
.line 332
invoke-virtual {p1}, Lokhttp3/Response;->handshake()Lokhttp3/Handshake;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$Builder;->handshake:Lokhttp3/Handshake;
.line 333
invoke-virtual {p1}, Lokhttp3/Response;->headers()Lokhttp3/Headers;
move-result-object v0
invoke-virtual {v0}, Lokhttp3/Headers;->newBuilder()Lokhttp3/Headers$Builder;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$Builder;->headers:Lokhttp3/Headers$Builder;
.line 334
invoke-virtual {p1}, Lokhttp3/Response;->body()Lokhttp3/ResponseBody;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$Builder;->body:Lokhttp3/ResponseBody;
.line 335
invoke-virtual {p1}, Lokhttp3/Response;->networkResponse()Lokhttp3/Response;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$Builder;->networkResponse:Lokhttp3/Response;
.line 336
invoke-virtual {p1}, Lokhttp3/Response;->cacheResponse()Lokhttp3/Response;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$Builder;->cacheResponse:Lokhttp3/Response;
.line 337
invoke-virtual {p1}, Lokhttp3/Response;->priorResponse()Lokhttp3/Response;
move-result-object v0
iput-object v0, p0, Lokhttp3/Response$Builder;->priorResponse:Lokhttp3/Response;
.line 338
invoke-virtual {p1}, Lokhttp3/Response;->sentRequestAtMillis()J
move-result-wide v0
iput-wide v0, p0, Lokhttp3/Response$Builder;->sentRequestAtMillis:J
.line 339
invoke-virtual {p1}, Lokhttp3/Response;->receivedResponseAtMillis()J
move-result-wide v0
iput-wide v0, p0, Lokhttp3/Response$Builder;->receivedResponseAtMillis:J
.line 340
invoke-virtual {p1}, Lokhttp3/Response;->exchange()Lokhttp3/internal/connection/Exchange;
move-result-object p1
iput-object p1, p0, Lokhttp3/Response$Builder;->exchange:Lokhttp3/internal/connection/Exchange;
return-void
.end method
.method private final checkPriorResponse(Lokhttp3/Response;)V
.locals 0
if-eqz p1, :cond_2
.line 419
invoke-virtual {p1}, Lokhttp3/Response;->body()Lokhttp3/ResponseBody;
move-result-object p0
if-nez p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
if-eqz p0, :cond_1
goto :goto_1
:cond_1
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "priorResponse.body != null"
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
:cond_2
:goto_1
return-void
.end method
.method private final checkSupportResponse(Ljava/lang/String;Lokhttp3/Response;)V
.locals 2
if-eqz p2, :cond_8
.line 405
invoke-virtual {p2}, Lokhttp3/Response;->body()Lokhttp3/ResponseBody;
move-result-object p0
const/4 v0, 0x1
const/4 v1, 0x0
if-nez p0, :cond_0
move p0, v0
goto :goto_0
:cond_0
move p0, v1
:goto_0
if-eqz p0, :cond_7
.line 406
invoke-virtual {p2}, Lokhttp3/Response;->networkResponse()Lokhttp3/Response;
move-result-object p0
if-nez p0, :cond_1
move p0, v0
goto :goto_1
:cond_1
move p0, v1
:goto_1
if-eqz p0, :cond_6
.line 407
invoke-virtual {p2}, Lokhttp3/Response;->cacheResponse()Lokhttp3/Response;
move-result-object p0
if-nez p0, :cond_2
move p0, v0
goto :goto_2
:cond_2
move p0, v1
:goto_2
if-eqz p0, :cond_5
.line 408
invoke-virtual {p2}, Lokhttp3/Response;->priorResponse()Lokhttp3/Response;
move-result-object p0
if-nez p0, :cond_3
goto :goto_3
:cond_3
move v0, v1
:goto_3
if-eqz v0, :cond_4
goto :goto_4
:cond_4
new-instance p0, Ljava/lang/StringBuilder;
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
const-string p1, ".priorResponse != null"
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
.line 407
:cond_5
new-instance p0, Ljava/lang/StringBuilder;
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
const-string p1, ".cacheResponse != null"
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
.line 406
:cond_6
new-instance p0, Ljava/lang/StringBuilder;
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
const-string p1, ".networkResponse != null"
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
.line 405
:cond_7
new-instance p0, Ljava/lang/StringBuilder;
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
const-string p1, ".body != null"
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
:cond_8
:goto_4
return-void
.end method
# virtual methods
.method public addHeader(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Response$Builder;
.locals 1
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "value"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 375
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iget-object v0, p0, Lokhttp3/Response$Builder;->headers:Lokhttp3/Headers$Builder;
.line 376
invoke-virtual {v0, p1, p2}, Lokhttp3/Headers$Builder;->add(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$Builder;
return-object p0
.end method
.method public body(Lokhttp3/ResponseBody;)Lokhttp3/Response$Builder;
.locals 1
.line 389
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iput-object p1, p0, Lokhttp3/Response$Builder;->body:Lokhttp3/ResponseBody;
return-object p0
.end method
.method public build()Lokhttp3/Response;
.locals 17
move-object/from16 v0, p0
iget v4, v0, Lokhttp3/Response$Builder;->code:I
if-ltz v4, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_4
iget-object v1, v0, Lokhttp3/Response$Builder;->request:Lokhttp3/Request;
if-eqz v1, :cond_3
iget-object v2, v0, Lokhttp3/Response$Builder;->protocol:Lokhttp3/Protocol;
if-eqz v2, :cond_2
iget-object v3, v0, Lokhttp3/Response$Builder;->message:Ljava/lang/String;
if-eqz v3, :cond_1
iget-object v5, v0, Lokhttp3/Response$Builder;->handshake:Lokhttp3/Handshake;
iget-object v6, v0, Lokhttp3/Response$Builder;->headers:Lokhttp3/Headers$Builder;
.line 443
invoke-virtual {v6}, Lokhttp3/Headers$Builder;->build()Lokhttp3/Headers;
move-result-object v6
iget-object v7, v0, Lokhttp3/Response$Builder;->body:Lokhttp3/ResponseBody;
iget-object v8, v0, Lokhttp3/Response$Builder;->networkResponse:Lokhttp3/Response;
iget-object v9, v0, Lokhttp3/Response$Builder;->cacheResponse:Lokhttp3/Response;
iget-object v10, v0, Lokhttp3/Response$Builder;->priorResponse:Lokhttp3/Response;
iget-wide v11, v0, Lokhttp3/Response$Builder;->sentRequestAtMillis:J
iget-wide v13, v0, Lokhttp3/Response$Builder;->receivedResponseAtMillis:J
iget-object v15, v0, Lokhttp3/Response$Builder;->exchange:Lokhttp3/internal/connection/Exchange;
.line 437
new-instance v16, Lokhttp3/Response;
move-object/from16 v0, v16
invoke-direct/range {v0 .. v15}, Lokhttp3/Response;-><init>(Lokhttp3/Request;Lokhttp3/Protocol;Ljava/lang/String;ILokhttp3/Handshake;Lokhttp3/Headers;Lokhttp3/ResponseBody;Lokhttp3/Response;Lokhttp3/Response;Lokhttp3/Response;JJLokhttp3/internal/connection/Exchange;)V
return-object v16
.line 440
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "message == null"
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
.line 439
:cond_2
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "protocol == null"
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
.line 438
:cond_3
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "request == null"
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
.line 436
:cond_4
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "code < 0: "
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget v0, v0, Lokhttp3/Response$Builder;->code:I
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
new-instance v1, Ljava/lang/IllegalStateException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
check-cast v1, Ljava/lang/Throwable;
throw v1
.end method
.method public cacheResponse(Lokhttp3/Response;)Lokhttp3/Response$Builder;
.locals 1
.line 398
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
const-string v0, "cacheResponse"
.line 399
invoke-direct {p0, v0, p1}, Lokhttp3/Response$Builder;->checkSupportResponse(Ljava/lang/String;Lokhttp3/Response;)V
iput-object p1, p0, Lokhttp3/Response$Builder;->cacheResponse:Lokhttp3/Response;
return-object p0
.end method
.method public code(I)Lokhttp3/Response$Builder;
.locals 1
.line 351
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iput p1, p0, Lokhttp3/Response$Builder;->code:I
return-object p0
.end method
.method public final getBody$okhttp()Lokhttp3/ResponseBody;
.locals 0
iget-object p0, p0, Lokhttp3/Response$Builder;->body:Lokhttp3/ResponseBody;
return-object p0
.end method
.method public final getCacheResponse$okhttp()Lokhttp3/Response;
.locals 0
iget-object p0, p0, Lokhttp3/Response$Builder;->cacheResponse:Lokhttp3/Response;
return-object p0
.end method
.method public final getCode$okhttp()I
.locals 0
iget p0, p0, Lokhttp3/Response$Builder;->code:I
return p0
.end method
.method public final getExchange$okhttp()Lokhttp3/internal/connection/Exchange;
.locals 0
iget-object p0, p0, Lokhttp3/Response$Builder;->exchange:Lokhttp3/internal/connection/Exchange;
return-object p0
.end method
.method public final getHandshake$okhttp()Lokhttp3/Handshake;
.locals 0
iget-object p0, p0, Lokhttp3/Response$Builder;->handshake:Lokhttp3/Handshake;
return-object p0
.end method
.method public final getHeaders$okhttp()Lokhttp3/Headers$Builder;
.locals 0
iget-object p0, p0, Lokhttp3/Response$Builder;->headers:Lokhttp3/Headers$Builder;
return-object p0
.end method
.method public final getMessage$okhttp()Ljava/lang/String;
.locals 0
iget-object p0, p0, Lokhttp3/Response$Builder;->message:Ljava/lang/String;
return-object p0
.end method
.method public final getNetworkResponse$okhttp()Lokhttp3/Response;
.locals 0
iget-object p0, p0, Lokhttp3/Response$Builder;->networkResponse:Lokhttp3/Response;
return-object p0
.end method
.method public final getPriorResponse$okhttp()Lokhttp3/Response;
.locals 0
iget-object p0, p0, Lokhttp3/Response$Builder;->priorResponse:Lokhttp3/Response;
return-object p0
.end method
.method public final getProtocol$okhttp()Lokhttp3/Protocol;
.locals 0
iget-object p0, p0, Lokhttp3/Response$Builder;->protocol:Lokhttp3/Protocol;
return-object p0
.end method
.method public final getReceivedResponseAtMillis$okhttp()J
.locals 2
iget-wide v0, p0, Lokhttp3/Response$Builder;->receivedResponseAtMillis:J
return-wide v0
.end method
.method public final getRequest$okhttp()Lokhttp3/Request;
.locals 0
iget-object p0, p0, Lokhttp3/Response$Builder;->request:Lokhttp3/Request;
return-object p0
.end method
.method public final getSentRequestAtMillis$okhttp()J
.locals 2
iget-wide v0, p0, Lokhttp3/Response$Builder;->sentRequestAtMillis:J
return-wide v0
.end method
.method public handshake(Lokhttp3/Handshake;)Lokhttp3/Response$Builder;
.locals 1
.line 359
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iput-object p1, p0, Lokhttp3/Response$Builder;->handshake:Lokhttp3/Handshake;
return-object p0
.end method
.method public header(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Response$Builder;
.locals 1
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "value"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 367
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iget-object v0, p0, Lokhttp3/Response$Builder;->headers:Lokhttp3/Headers$Builder;
.line 368
invoke-virtual {v0, p1, p2}, Lokhttp3/Headers$Builder;->set(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$Builder;
return-object p0
.end method
.method public headers(Lokhttp3/Headers;)Lokhttp3/Response$Builder;
.locals 1
const-string v0, "headers"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 385
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
.line 386
invoke-virtual {p1}, Lokhttp3/Headers;->newBuilder()Lokhttp3/Headers$Builder;
move-result-object p1
iput-object p1, p0, Lokhttp3/Response$Builder;->headers:Lokhttp3/Headers$Builder;
return-object p0
.end method
.method public final initExchange$okhttp(Lokhttp3/internal/connection/Exchange;)V
.locals 1
const-string v0, "deferredTrailers"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p1, p0, Lokhttp3/Response$Builder;->exchange:Lokhttp3/internal/connection/Exchange;
return-void
.end method
.method public message(Ljava/lang/String;)Lokhttp3/Response$Builder;
.locals 1
const-string v0, "message"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 355
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iput-object p1, p0, Lokhttp3/Response$Builder;->message:Ljava/lang/String;
return-object p0
.end method
.method public networkResponse(Lokhttp3/Response;)Lokhttp3/Response$Builder;
.locals 1
.line 393
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
const-string v0, "networkResponse"
.line 394
invoke-direct {p0, v0, p1}, Lokhttp3/Response$Builder;->checkSupportResponse(Ljava/lang/String;Lokhttp3/Response;)V
iput-object p1, p0, Lokhttp3/Response$Builder;->networkResponse:Lokhttp3/Response;
return-object p0
.end method
.method public priorResponse(Lokhttp3/Response;)Lokhttp3/Response$Builder;
.locals 1
.line 412
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
.line 413
invoke-direct {p0, p1}, Lokhttp3/Response$Builder;->checkPriorResponse(Lokhttp3/Response;)V
iput-object p1, p0, Lokhttp3/Response$Builder;->priorResponse:Lokhttp3/Response;
return-object p0
.end method
.method public protocol(Lokhttp3/Protocol;)Lokhttp3/Response$Builder;
.locals 1
const-string v0, "protocol"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 347
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iput-object p1, p0, Lokhttp3/Response$Builder;->protocol:Lokhttp3/Protocol;
return-object p0
.end method
.method public receivedResponseAtMillis(J)Lokhttp3/Response$Builder;
.locals 1
.line 427
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iput-wide p1, p0, Lokhttp3/Response$Builder;->receivedResponseAtMillis:J
return-object p0
.end method
.method public removeHeader(Ljava/lang/String;)Lokhttp3/Response$Builder;
.locals 1
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 380
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iget-object v0, p0, Lokhttp3/Response$Builder;->headers:Lokhttp3/Headers$Builder;
.line 381
invoke-virtual {v0, p1}, Lokhttp3/Headers$Builder;->removeAll(Ljava/lang/String;)Lokhttp3/Headers$Builder;
return-object p0
.end method
.method public request(Lokhttp3/Request;)Lokhttp3/Response$Builder;
.locals 1
const-string v0, "request"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 343
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iput-object p1, p0, Lokhttp3/Response$Builder;->request:Lokhttp3/Request;
return-object p0
.end method
.method public sentRequestAtMillis(J)Lokhttp3/Response$Builder;
.locals 1
.line 423
move-object v0, p0
check-cast v0, Lokhttp3/Response$Builder;
iput-wide p1, p0, Lokhttp3/Response$Builder;->sentRequestAtMillis:J
return-object p0
.end method
.method public final setBody$okhttp(Lokhttp3/ResponseBody;)V
.locals 0
iput-object p1, p0, Lokhttp3/Response$Builder;->body:Lokhttp3/ResponseBody;
return-void
.end method
.method public final setCacheResponse$okhttp(Lokhttp3/Response;)V
.locals 0
iput-object p1, p0, Lokhttp3/Response$Builder;->cacheResponse:Lokhttp3/Response;
return-void
.end method
.method public final setCode$okhttp(I)V
.locals 0
iput p1, p0, Lokhttp3/Response$Builder;->code:I
return-void
.end method
.method public final setExchange$okhttp(Lokhttp3/internal/connection/Exchange;)V
.locals 0
iput-object p1, p0, Lokhttp3/Response$Builder;->exchange:Lokhttp3/internal/connection/Exchange;
return-void
.end method
.method public final setHandshake$okhttp(Lokhttp3/Handshake;)V
.locals 0
iput-object p1, p0, Lokhttp3/Response$Builder;->handshake:Lokhttp3/Handshake;
return-void
.end method
.method public final setHeaders$okhttp(Lokhttp3/Headers$Builder;)V
.locals 1
const-string v0, "<set-?>"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p1, p0, Lokhttp3/Response$Builder;->headers:Lokhttp3/Headers$Builder;
return-void
.end method
.method public final setMessage$okhttp(Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lokhttp3/Response$Builder;->message:Ljava/lang/String;
return-void
.end method
.method public final setNetworkResponse$okhttp(Lokhttp3/Response;)V
.locals 0
iput-object p1, p0, Lokhttp3/Response$Builder;->networkResponse:Lokhttp3/Response;
return-void
.end method
.method public final setPriorResponse$okhttp(Lokhttp3/Response;)V
.locals 0
iput-object p1, p0, Lokhttp3/Response$Builder;->priorResponse:Lokhttp3/Response;
return-void
.end method
.method public final setProtocol$okhttp(Lokhttp3/Protocol;)V
.locals 0
iput-object p1, p0, Lokhttp3/Response$Builder;->protocol:Lokhttp3/Protocol;
return-void
.end method
.method public final setReceivedResponseAtMillis$okhttp(J)V
.locals 0
iput-wide p1, p0, Lokhttp3/Response$Builder;->receivedResponseAtMillis:J
return-void
.end method
.method public final setRequest$okhttp(Lokhttp3/Request;)V
.locals 0
iput-object p1, p0, Lokhttp3/Response$Builder;->request:Lokhttp3/Request;
return-void
.end method
.method public final setSentRequestAtMillis$okhttp(J)V
.locals 0
iput-wide p1, p0, Lokhttp3/Response$Builder;->sentRequestAtMillis:J
return-void
.end method