tmap/smali_classes5/okhttp3/Response.smali
2022-06-10 21:38:30 +09:00

1248 lines
36 KiB
Smali

.class public final Lokhttp3/Response;
.super Ljava/lang/Object;
.source "Response.kt"
# interfaces
.implements Ljava/io/Closeable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/Response$Builder;
}
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nResponse.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Response.kt\nokhttp3/Response\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 = {}
d1 = {
"\u0000|\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0010\u000e\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010 \n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0008\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0008\n\u0002\u0018\u0002\n\u0002\u0008\r\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u000b\n\u0002\u0008\u0007\u0018\u00002\u00020\u0001:\u0001RB}\u0008\u0000\u0012\u0006\u0010\u0005\u001a\u00020\u0002\u0012\u0006\u0010\t\u001a\u00020\u0006\u0012\u0006\u0010\u0011\u001a\u00020\u000e\u0012\u0006\u0010\r\u001a\u00020\n\u0012\u0008\u0010\u0015\u001a\u0004\u0018\u00010\u0012\u0012\u0006\u0010\u0018\u001a\u00020\u001b\u0012\u0008\u0010%\u001a\u0004\u0018\u00010!\u0012\u0008\u0010*\u001a\u0004\u0018\u00010\u0000\u0012\u0008\u0010,\u001a\u0004\u0018\u00010\u0000\u0012\u0008\u0010.\u001a\u0004\u0018\u00010\u0000\u0012\u0006\u00107\u001a\u00020\u001f\u0012\u0006\u00109\u001a\u00020\u001f\u0012\u0008\u0010I\u001a\u0004\u0018\u00010H\u00a2\u0006\u0004\u0008P\u0010QJ\u000f\u0010\u0005\u001a\u00020\u0002H\u0007\u00a2\u0006\u0004\u0008\u0003\u0010\u0004J\u000f\u0010\t\u001a\u00020\u0006H\u0007\u00a2\u0006\u0004\u0008\u0007\u0010\u0008J\u000f\u0010\r\u001a\u00020\nH\u0007\u00a2\u0006\u0004\u0008\u000b\u0010\u000cJ\u000f\u0010\u0011\u001a\u00020\u000eH\u0007\u00a2\u0006\u0004\u0008\u000f\u0010\u0010J\u0011\u0010\u0015\u001a\u0004\u0018\u00010\u0012H\u0007\u00a2\u0006\u0004\u0008\u0013\u0010\u0014J\u0014\u0010\u0018\u001a\u0008\u0012\u0004\u0012\u00020\u000e0\u00172\u0006\u0010\u0016\u001a\u00020\u000eJ\u001e\u0010\u001a\u001a\u0004\u0018\u00010\u000e2\u0006\u0010\u0016\u001a\u00020\u000e2\n\u0008\u0002\u0010\u0019\u001a\u0004\u0018\u00010\u000eH\u0007J\u000f\u0010\u0018\u001a\u00020\u001bH\u0007\u00a2\u0006\u0004\u0008\u001c\u0010\u001dJ\u0006\u0010\u001e\u001a\u00020\u001bJ\u000e\u0010\"\u001a\u00020!2\u0006\u0010 \u001a\u00020\u001fJ\u0011\u0010%\u001a\u0004\u0018\u00010!H\u0007\u00a2\u0006\u0004\u0008#\u0010$J\u0006\u0010\'\u001a\u00020&J\u0011\u0010*\u001a\u0004\u0018\u00010\u0000H\u0007\u00a2\u0006\u0004\u0008(\u0010)J\u0011\u0010,\u001a\u0004\u0018\u00010\u0000H\u0007\u00a2\u0006\u0004\u0008+\u0010)J\u0011\u0010.\u001a\u0004\u0018\u00010\u0000H\u0007\u00a2\u0006\u0004\u0008-\u0010)J\u000c\u00100\u001a\u0008\u0012\u0004\u0012\u00020/0\u0017J\u000f\u00104\u001a\u000201H\u0007\u00a2\u0006\u0004\u00082\u00103J\u000f\u00107\u001a\u00020\u001fH\u0007\u00a2\u0006\u0004\u00085\u00106J\u000f\u00109\u001a\u00020\u001fH\u0007\u00a2\u0006\u0004\u00088\u00106J\u0008\u0010;\u001a\u00020:H\u0016J\u0008\u0010<\u001a\u00020\u000eH\u0016R\u0018\u0010=\u001a\u0004\u0018\u0001018\u0002@\u0002X\u0082\u000e\u00a2\u0006\u0006\n\u0004\u0008=\u0010>R\u0017\u0010\u0005\u001a\u00020\u00028\u0007\u00a2\u0006\u000c\n\u0004\u0008\u0005\u0010?\u001a\u0004\u0008\u0005\u0010\u0004R\u0017\u0010\t\u001a\u00020\u00068\u0007\u00a2\u0006\u000c\n\u0004\u0008\t\u0010@\u001a\u0004\u0008\t\u0010\u0008R\u0017\u0010\u0011\u001a\u00020\u000e8\u0007\u00a2\u0006\u000c\n\u0004\u0008\u0011\u0010A\u001a\u0004\u0008\u0011\u0010\u0010R\u0017\u0010\r\u001a\u00020\n8\u0007\u00a2\u0006\u000c\n\u0004\u0008\r\u0010B\u001a\u0004\u0008\r\u0010\u000cR\u0019\u0010\u0015\u001a\u0004\u0018\u00010\u00128\u0007\u00a2\u0006\u000c\n\u0004\u0008\u0015\u0010C\u001a\u0004\u0008\u0015\u0010\u0014R\u0017\u0010\u0018\u001a\u00020\u001b8\u0007\u00a2\u0006\u000c\n\u0004\u0008\u0018\u0010D\u001a\u0004\u0008\u0018\u0010\u001dR\u0019\u0010%\u001a\u0004\u0018\u00010!8\u0007\u00a2\u0006\u000c\n\u0004\u0008%\u0010E\u001a\u0004\u0008%\u0010$R\u0019\u0010*\u001a\u0004\u0018\u00010\u00008\u0007\u00a2\u0006\u000c\n\u0004\u0008*\u0010F\u001a\u0004\u0008*\u0010)R\u0019\u0010,\u001a\u0004\u0018\u00010\u00008\u0007\u00a2\u0006\u000c\n\u0004\u0008,\u0010F\u001a\u0004\u0008,\u0010)R\u0019\u0010.\u001a\u0004\u0018\u00010\u00008\u0007\u00a2\u0006\u000c\n\u0004\u0008.\u0010F\u001a\u0004\u0008.\u0010)R\u0017\u00107\u001a\u00020\u001f8\u0007\u00a2\u0006\u000c\n\u0004\u00087\u0010G\u001a\u0004\u00087\u00106R\u0017\u00109\u001a\u00020\u001f8\u0007\u00a2\u0006\u000c\n\u0004\u00089\u0010G\u001a\u0004\u00089\u00106R\u001c\u0010I\u001a\u0004\u0018\u00010H8\u0001X\u0080\u0004\u00a2\u0006\u000c\n\u0004\u0008I\u0010J\u001a\u0004\u0008I\u0010KR\u0011\u0010M\u001a\u00020L8F\u00a2\u0006\u0006\u001a\u0004\u0008M\u0010NR\u0011\u0010O\u001a\u00020L8F\u00a2\u0006\u0006\u001a\u0004\u0008O\u0010NR\u0011\u00104\u001a\u0002018G\u00a2\u0006\u0006\u001a\u0004\u00084\u00103\u00a8\u0006S"
}
d2 = {
"Lokhttp3/Response;",
"Ljava/io/Closeable;",
"Lokhttp3/Request;",
"-deprecated_request",
"()Lokhttp3/Request;",
"request",
"Lokhttp3/Protocol;",
"-deprecated_protocol",
"()Lokhttp3/Protocol;",
"protocol",
"",
"-deprecated_code",
"()I",
"code",
"",
"-deprecated_message",
"()Ljava/lang/String;",
"message",
"Lokhttp3/Handshake;",
"-deprecated_handshake",
"()Lokhttp3/Handshake;",
"handshake",
"name",
"",
"headers",
"defaultValue",
"header",
"Lokhttp3/Headers;",
"-deprecated_headers",
"()Lokhttp3/Headers;",
"trailers",
"",
"byteCount",
"Lokhttp3/ResponseBody;",
"peekBody",
"-deprecated_body",
"()Lokhttp3/ResponseBody;",
"body",
"Lokhttp3/Response$Builder;",
"newBuilder",
"-deprecated_networkResponse",
"()Lokhttp3/Response;",
"networkResponse",
"-deprecated_cacheResponse",
"cacheResponse",
"-deprecated_priorResponse",
"priorResponse",
"Lokhttp3/Challenge;",
"challenges",
"Lokhttp3/CacheControl;",
"-deprecated_cacheControl",
"()Lokhttp3/CacheControl;",
"cacheControl",
"-deprecated_sentRequestAtMillis",
"()J",
"sentRequestAtMillis",
"-deprecated_receivedResponseAtMillis",
"receivedResponseAtMillis",
"Lkotlin/d1;",
"close",
"toString",
"lazyCacheControl",
"Lokhttp3/CacheControl;",
"Lokhttp3/Request;",
"Lokhttp3/Protocol;",
"Ljava/lang/String;",
"I",
"Lokhttp3/Handshake;",
"Lokhttp3/Headers;",
"Lokhttp3/ResponseBody;",
"Lokhttp3/Response;",
"J",
"Lokhttp3/internal/connection/Exchange;",
"exchange",
"Lokhttp3/internal/connection/Exchange;",
"()Lokhttp3/internal/connection/Exchange;",
"",
"isSuccessful",
"()Z",
"isRedirect",
"<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",
"Builder",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private final body:Lokhttp3/ResponseBody;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
.field private final cacheResponse:Lokhttp3/Response;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
.field private final code:I
.field private final exchange:Lokhttp3/internal/connection/Exchange;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
.field private final handshake:Lokhttp3/Handshake;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
.field private final headers:Lokhttp3/Headers;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private lazyCacheControl:Lokhttp3/CacheControl;
.field private final message:Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private final networkResponse:Lokhttp3/Response;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
.field private final priorResponse:Lokhttp3/Response;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
.field private final protocol:Lokhttp3/Protocol;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private final receivedResponseAtMillis:J
.field private final request:Lokhttp3/Request;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private final sentRequestAtMillis:J
# direct methods
.method public constructor <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
.locals 6
.param p1 # Lokhttp3/Request;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Lokhttp3/Protocol;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p3 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p5 # Lokhttp3/Handshake;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
.param p6 # Lokhttp3/Headers;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p7 # Lokhttp3/ResponseBody;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
.param p8 # Lokhttp3/Response;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
.param p9 # Lokhttp3/Response;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
.param p10 # Lokhttp3/Response;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
.param p15 # Lokhttp3/internal/connection/Exchange;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
move-object v0, p0
move-object v1, p1
move-object v2, p2
move-object v3, p3
move-object v4, p6
const-string v5, "request"
invoke-static {p1, v5}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v5, "protocol"
invoke-static {p2, v5}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v5, "message"
invoke-static {p3, v5}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
const-string v5, "headers"
invoke-static {p6, v5}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object v1, v0, Lokhttp3/Response;->request:Lokhttp3/Request;
iput-object v2, v0, Lokhttp3/Response;->protocol:Lokhttp3/Protocol;
iput-object v3, v0, Lokhttp3/Response;->message:Ljava/lang/String;
move v1, p4
iput v1, v0, Lokhttp3/Response;->code:I
move-object v1, p5
iput-object v1, v0, Lokhttp3/Response;->handshake:Lokhttp3/Handshake;
iput-object v4, v0, Lokhttp3/Response;->headers:Lokhttp3/Headers;
move-object v1, p7
iput-object v1, v0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody;
move-object v1, p8
iput-object v1, v0, Lokhttp3/Response;->networkResponse:Lokhttp3/Response;
move-object v1, p9
iput-object v1, v0, Lokhttp3/Response;->cacheResponse:Lokhttp3/Response;
move-object/from16 v1, p10
iput-object v1, v0, Lokhttp3/Response;->priorResponse:Lokhttp3/Response;
move-wide/from16 v1, p11
iput-wide v1, v0, Lokhttp3/Response;->sentRequestAtMillis:J
move-wide/from16 v1, p13
iput-wide v1, v0, Lokhttp3/Response;->receivedResponseAtMillis:J
move-object/from16 v1, p15
iput-object v1, v0, Lokhttp3/Response;->exchange:Lokhttp3/internal/connection/Exchange;
return-void
.end method
.method public static synthetic header$default(Lokhttp3/Response;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
.locals 0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_0
const/4 p2, 0x0
.line 1
:cond_0
invoke-virtual {p0, p1, p2}, Lokhttp3/Response;->header(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final -deprecated_body()Lokhttp3/ResponseBody;
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "body"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_body"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody;
return-object v0
.end method
.method public final -deprecated_cacheControl()Lokhttp3/CacheControl;
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "cacheControl"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_cacheControl"
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
invoke-virtual {p0}, Lokhttp3/Response;->cacheControl()Lokhttp3/CacheControl;
move-result-object v0
return-object v0
.end method
.method public final -deprecated_cacheResponse()Lokhttp3/Response;
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "cacheResponse"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_cacheResponse"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->cacheResponse:Lokhttp3/Response;
return-object v0
.end method
.method public final -deprecated_code()I
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "code"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_code"
.end annotation
.line 1
iget v0, p0, Lokhttp3/Response;->code:I
return v0
.end method
.method public final -deprecated_handshake()Lokhttp3/Handshake;
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "handshake"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_handshake"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->handshake:Lokhttp3/Handshake;
return-object v0
.end method
.method public final -deprecated_headers()Lokhttp3/Headers;
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "headers"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_headers"
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers;
return-object v0
.end method
.method public final -deprecated_message()Ljava/lang/String;
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "message"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_message"
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->message:Ljava/lang/String;
return-object v0
.end method
.method public final -deprecated_networkResponse()Lokhttp3/Response;
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "networkResponse"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_networkResponse"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->networkResponse:Lokhttp3/Response;
return-object v0
.end method
.method public final -deprecated_priorResponse()Lokhttp3/Response;
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "priorResponse"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_priorResponse"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->priorResponse:Lokhttp3/Response;
return-object v0
.end method
.method public final -deprecated_protocol()Lokhttp3/Protocol;
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "protocol"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_protocol"
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->protocol:Lokhttp3/Protocol;
return-object v0
.end method
.method public final -deprecated_receivedResponseAtMillis()J
.locals 2
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "receivedResponseAtMillis"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_receivedResponseAtMillis"
.end annotation
.line 1
iget-wide v0, p0, Lokhttp3/Response;->receivedResponseAtMillis:J
return-wide v0
.end method
.method public final -deprecated_request()Lokhttp3/Request;
.locals 1
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "request"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_request"
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->request:Lokhttp3/Request;
return-object v0
.end method
.method public final -deprecated_sentRequestAtMillis()J
.locals 2
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "sentRequestAtMillis"
imports = {}
.end subannotation
.end annotation
.annotation build Lkotlin/jvm/JvmName;
name = "-deprecated_sentRequestAtMillis"
.end annotation
.line 1
iget-wide v0, p0, Lokhttp3/Response;->sentRequestAtMillis:J
return-wide v0
.end method
.method public final body()Lokhttp3/ResponseBody;
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "body"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody;
return-object v0
.end method
.method public final cacheControl()Lokhttp3/CacheControl;
.locals 2
.annotation build Lkotlin/jvm/JvmName;
name = "cacheControl"
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->lazyCacheControl:Lokhttp3/CacheControl;
if-nez v0, :cond_0
.line 2
sget-object v0, Lokhttp3/CacheControl;->Companion:Lokhttp3/CacheControl$Companion;
iget-object v1, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers;
invoke-virtual {v0, v1}, Lokhttp3/CacheControl$Companion;->parse(Lokhttp3/Headers;)Lokhttp3/CacheControl;
move-result-object v0
.line 3
iput-object v0, p0, Lokhttp3/Response;->lazyCacheControl:Lokhttp3/CacheControl;
:cond_0
return-object v0
.end method
.method public final cacheResponse()Lokhttp3/Response;
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "cacheResponse"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->cacheResponse:Lokhttp3/Response;
return-object v0
.end method
.method public final challenges()Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lokhttp3/Challenge;",
">;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers;
.line 2
iget v1, p0, Lokhttp3/Response;->code:I
const/16 v2, 0x191
if-eq v1, v2, :cond_1
const/16 v2, 0x197
if-eq v1, v2, :cond_0
.line 3
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsKt;->E()Ljava/util/List;
move-result-object v0
return-object v0
:cond_0
const-string v1, "Proxy-Authenticate"
goto :goto_0
:cond_1
const-string v1, "WWW-Authenticate"
.line 4
:goto_0
invoke-static {v0, v1}, Lokhttp3/internal/http/HttpHeaders;->parseChallenges(Lokhttp3/Headers;Ljava/lang/String;)Ljava/util/List;
move-result-object v0
return-object v0
.end method
.method public close()V
.locals 2
.line 1
iget-object v0, p0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lokhttp3/ResponseBody;->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-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
throw v0
.end method
.method public final code()I
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "code"
.end annotation
.line 1
iget v0, p0, Lokhttp3/Response;->code:I
return v0
.end method
.method public final exchange()Lokhttp3/internal/connection/Exchange;
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "exchange"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->exchange:Lokhttp3/internal/connection/Exchange;
return-object v0
.end method
.method public final handshake()Lokhttp3/Handshake;
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "handshake"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->handshake:Lokhttp3/Handshake;
return-object v0
.end method
.method public final header(Ljava/lang/String;)Ljava/lang/String;
.locals 2
.param p1 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation build Lkotlin/jvm/JvmOverloads;
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
const/4 v0, 0x0
const/4 v1, 0x2
invoke-static {p0, p1, v0, v1, v0}, Lokhttp3/Response;->header$default(Lokhttp3/Response;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public final header(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 1
.param p1 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end param
.annotation build Lkotlin/jvm/JvmOverloads;
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
iget-object v0, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers;
invoke-virtual {v0, p1}, Lokhttp3/Headers;->get(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
if-eqz p1, :cond_0
move-object p2, p1
:cond_0
return-object p2
.end method
.method public final headers(Ljava/lang/String;)Ljava/util/List;
.locals 1
.param p1 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
.line 2
iget-object v0, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers;
invoke-virtual {v0, p1}, Lokhttp3/Headers;->values(Ljava/lang/String;)Ljava/util/List;
move-result-object p1
return-object p1
.end method
.method public final headers()Lokhttp3/Headers;
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "headers"
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers;
return-object v0
.end method
.method public final isRedirect()Z
.locals 2
.line 1
iget v0, p0, Lokhttp3/Response;->code:I
const/16 v1, 0x133
if-eq v0, v1, :cond_0
const/16 v1, 0x134
if-eq v0, v1, :cond_0
packed-switch v0, :pswitch_data_0
const/4 v0, 0x0
goto :goto_0
:cond_0
:pswitch_0
const/4 v0, 0x1
:goto_0
return v0
nop
:pswitch_data_0
.packed-switch 0x12c
:pswitch_0
:pswitch_0
:pswitch_0
:pswitch_0
.end packed-switch
.end method
.method public final isSuccessful()Z
.locals 2
.line 1
iget v0, p0, Lokhttp3/Response;->code:I
const/16 v1, 0xc8
if-le v1, v0, :cond_0
goto :goto_0
:cond_0
const/16 v1, 0x12b
if-lt v1, v0, :cond_1
const/4 v0, 0x1
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x0
:goto_1
return v0
.end method
.method public final message()Ljava/lang/String;
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "message"
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->message:Ljava/lang/String;
return-object v0
.end method
.method public final networkResponse()Lokhttp3/Response;
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "networkResponse"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->networkResponse:Lokhttp3/Response;
return-object v0
.end method
.method public final newBuilder()Lokhttp3/Response$Builder;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
new-instance v0, Lokhttp3/Response$Builder;
invoke-direct {v0, p0}, Lokhttp3/Response$Builder;-><init>(Lokhttp3/Response;)V
return-object v0
.end method
.method public final peekBody(J)Lokhttp3/ResponseBody;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody;
invoke-static {v0}, Lkotlin/jvm/internal/f0;->m(Ljava/lang/Object;)V
invoke-virtual {v0}, Lokhttp3/ResponseBody;->source()Lzj/o;
move-result-object v0
invoke-interface {v0}, Lzj/o;->peek()Lzj/o;
move-result-object v0
.line 2
new-instance v1, Lzj/m;
invoke-direct {v1}, Lzj/m;-><init>()V
.line 3
invoke-interface {v0, p1, p2}, Lzj/o;->request(J)Z
.line 4
invoke-interface {v0}, Lzj/o;->getBuffer()Lzj/m;
move-result-object v2
invoke-virtual {v2}, Lzj/m;->size()J
move-result-wide v2
invoke-static {p1, p2, v2, v3}, Ljava/lang/Math;->min(JJ)J
move-result-wide p1
invoke-virtual {v1, v0, p1, p2}, Lzj/m;->W1(Lzj/m0;J)Lzj/m;
.line 5
sget-object p1, Lokhttp3/ResponseBody;->Companion:Lokhttp3/ResponseBody$Companion;
iget-object p2, p0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody;
invoke-virtual {p2}, Lokhttp3/ResponseBody;->contentType()Lokhttp3/MediaType;
move-result-object p2
invoke-virtual {v1}, Lzj/m;->size()J
move-result-wide v2
invoke-virtual {p1, v1, p2, v2, v3}, Lokhttp3/ResponseBody$Companion;->create(Lzj/o;Lokhttp3/MediaType;J)Lokhttp3/ResponseBody;
move-result-object p1
return-object p1
.end method
.method public final priorResponse()Lokhttp3/Response;
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "priorResponse"
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->priorResponse:Lokhttp3/Response;
return-object v0
.end method
.method public final protocol()Lokhttp3/Protocol;
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "protocol"
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->protocol:Lokhttp3/Protocol;
return-object v0
.end method
.method public final receivedResponseAtMillis()J
.locals 2
.annotation build Lkotlin/jvm/JvmName;
name = "receivedResponseAtMillis"
.end annotation
.line 1
iget-wide v0, p0, Lokhttp3/Response;->receivedResponseAtMillis:J
return-wide v0
.end method
.method public final request()Lokhttp3/Request;
.locals 1
.annotation build Lkotlin/jvm/JvmName;
name = "request"
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->request:Lokhttp3/Request;
return-object v0
.end method
.method public final sentRequestAtMillis()J
.locals 2
.annotation build Lkotlin/jvm/JvmName;
name = "sentRequestAtMillis"
.end annotation
.line 1
iget-wide v0, p0, Lokhttp3/Response;->sentRequestAtMillis:J
return-wide v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "Response{protocol="
.line 1
invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lokhttp3/Response;->protocol:Lokhttp3/Protocol;
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;
iget-object v1, p0, Lokhttp3/Response;->request:Lokhttp3/Request;
invoke-virtual {v1}, Lokhttp3/Request;->url()Lokhttp3/HttpUrl;
move-result-object v1
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
.method public final trailers()Lokhttp3/Headers;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Response;->exchange:Lokhttp3/internal/connection/Exchange;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lokhttp3/internal/connection/Exchange;->trailers()Lokhttp3/Headers;
move-result-object v0
return-object v0
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "trailers not available"
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
throw v0
.end method