.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 = { 0x1, 0x0, 0x3 } d1 = { "\u0000p\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\t\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0007\n\u0002\u0010\u000b\n\u0002\u0008\u000b\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\t\n\u0002\u0018\u0002\n\u0002\u0008\u000b\u0018\u00002\u00020\u0001:\u0001FB{\u0008\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\u0008\u001a\u00020\t\u0012\u0008\u0010\n\u001a\u0004\u0018\u00010\u000b\u0012\u0006\u0010\u000c\u001a\u00020\r\u0012\u0008\u0010\u000e\u001a\u0004\u0018\u00010\u000f\u0012\u0008\u0010\u0010\u001a\u0004\u0018\u00010\u0000\u0012\u0008\u0010\u0011\u001a\u0004\u0018\u00010\u0000\u0012\u0008\u0010\u0012\u001a\u0004\u0018\u00010\u0000\u0012\u0006\u0010\u0013\u001a\u00020\u0014\u0012\u0006\u0010\u0015\u001a\u00020\u0014\u0012\u0008\u0010\u0016\u001a\u0004\u0018\u00010\u0017\u00a2\u0006\u0002\u0010\u0018J\u000f\u0010\u000e\u001a\u0004\u0018\u00010\u000fH\u0007\u00a2\u0006\u0002\u0008+J\r\u0010\u001a\u001a\u00020\u001bH\u0007\u00a2\u0006\u0002\u0008,J\u000f\u0010\u0011\u001a\u0004\u0018\u00010\u0000H\u0007\u00a2\u0006\u0002\u0008-J\u000c\u0010.\u001a\u0008\u0012\u0004\u0012\u0002000/J\u0008\u00101\u001a\u000202H\u0016J\r\u0010\u0008\u001a\u00020\tH\u0007\u00a2\u0006\u0002\u00083J\u000f\u0010\n\u001a\u0004\u0018\u00010\u000bH\u0007\u00a2\u0006\u0002\u00084J\u001e\u00105\u001a\u0004\u0018\u00010\u00072\u0006\u00106\u001a\u00020\u00072\n\u0008\u0002\u00107\u001a\u0004\u0018\u00010\u0007H\u0007J\r\u0010\u000c\u001a\u00020\rH\u0007\u00a2\u0006\u0002\u00088J\u0014\u0010\u000c\u001a\u0008\u0012\u0004\u0012\u00020\u00070/2\u0006\u00106\u001a\u00020\u0007J\r\u0010\u0006\u001a\u00020\u0007H\u0007\u00a2\u0006\u0002\u00089J\u000f\u0010\u0010\u001a\u0004\u0018\u00010\u0000H\u0007\u00a2\u0006\u0002\u0008:J\u0006\u0010;\u001a\u00020\u001a\u00020\u0014J\u000f\u0010\u0012\u001a\u0004\u0018\u00010\u0000H\u0007\u00a2\u0006\u0002\u0008?J\r\u0010\u0004\u001a\u00020\u0005H\u0007\u00a2\u0006\u0002\u0008@J\r\u0010\u0015\u001a\u00020\u0014H\u0007\u00a2\u0006\u0002\u0008AJ\r\u0010\u0002\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008BJ\r\u0010\u0013\u001a\u00020\u0014H\u0007\u00a2\u0006\u0002\u0008CJ\u0008\u0010D\u001a\u00020\u0007H\u0016J\u0006\u0010E\u001a\u00020\rR\u0015\u0010\u000e\u001a\u0004\u0018\u00010\u000f8\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000e\u0010\u0019R\u0011\u0010\u001a\u001a\u00020\u001b8G\u00a2\u0006\u0006\u001a\u0004\u0008\u001a\u0010\u001cR\u0015\u0010\u0011\u001a\u0004\u0018\u00010\u00008\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0011\u0010\u001dR\u0013\u0010\u0008\u001a\u00020\t8\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0008\u0010\u001eR\u0018\u0010\u0016\u001a\u0004\u0018\u00010\u00178\u0001X\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0016\u0010\u001fR\u0015\u0010\n\u001a\u0004\u0018\u00010\u000b8\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\n\u0010 R\u0013\u0010\u000c\u001a\u00020\r8\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000c\u0010!R\u0011\u0010\"\u001a\u00020#8F\u00a2\u0006\u0006\u001a\u0004\u0008\"\u0010$R\u0011\u0010%\u001a\u00020#8F\u00a2\u0006\u0006\u001a\u0004\u0008%\u0010$R\u0010\u0010&\u001a\u0004\u0018\u00010\u001bX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0013\u0010\u0006\u001a\u00020\u00078\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0006\u0010\'R\u0015\u0010\u0010\u001a\u0004\u0018\u00010\u00008\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0010\u0010\u001dR\u0015\u0010\u0012\u001a\u0004\u0018\u00010\u00008\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0012\u0010\u001dR\u0013\u0010\u0004\u001a\u00020\u00058\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0004\u0010(R\u0013\u0010\u0015\u001a\u00020\u00148\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0015\u0010)R\u0013\u0010\u0002\u001a\u00020\u00038\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0002\u0010*R\u0013\u0010\u0013\u001a\u00020\u00148\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0013\u0010)\u00a8\u0006G" } d2 = { "Lokhttp3/Response;", "Ljava/io/Closeable;", "request", "Lokhttp3/Request;", "protocol", "Lokhttp3/Protocol;", "message", "", "code", "", "handshake", "Lokhttp3/Handshake;", "headers", "Lokhttp3/Headers;", "body", "Lokhttp3/ResponseBody;", "networkResponse", "cacheResponse", "priorResponse", "sentRequestAtMillis", "", "receivedResponseAtMillis", "exchange", "Lokhttp3/internal/connection/Exchange;", "(Lokhttp3/Request;Lokhttp3/Protocol;Ljava/lang/String;ILokhttp3/Handshake;Lokhttp3/Headers;Lokhttp3/ResponseBody;Lokhttp3/Response;Lokhttp3/Response;Lokhttp3/Response;JJLokhttp3/internal/connection/Exchange;)V", "()Lokhttp3/ResponseBody;", "cacheControl", "Lokhttp3/CacheControl;", "()Lokhttp3/CacheControl;", "()Lokhttp3/Response;", "()I", "()Lokhttp3/internal/connection/Exchange;", "()Lokhttp3/Handshake;", "()Lokhttp3/Headers;", "isRedirect", "", "()Z", "isSuccessful", "lazyCacheControl", "()Ljava/lang/String;", "()Lokhttp3/Protocol;", "()J", "()Lokhttp3/Request;", "-deprecated_body", "-deprecated_cacheControl", "-deprecated_cacheResponse", "challenges", "", "Lokhttp3/Challenge;", "close", "", "-deprecated_code", "-deprecated_handshake", "header", "name", "defaultValue", "-deprecated_headers", "-deprecated_message", "-deprecated_networkResponse", "newBuilder", "Lokhttp3/Response$Builder;", "peekBody", "byteCount", "-deprecated_priorResponse", "-deprecated_protocol", "-deprecated_receivedResponseAtMillis", "-deprecated_request", "-deprecated_sentRequestAtMillis", "toString", "trailers", "Builder", "okhttp" } k = 0x1 mv = { 0x1, 0x4, 0x0 } .end annotation # instance fields .field private final body:Lokhttp3/ResponseBody; .field private final cacheResponse:Lokhttp3/Response; .field private final code:I .field private final exchange:Lokhttp3/internal/connection/Exchange; .field private final handshake:Lokhttp3/Handshake; .field private final headers:Lokhttp3/Headers; .field private lazyCacheControl:Lokhttp3/CacheControl; .field private final message:Ljava/lang/String; .field private final networkResponse:Lokhttp3/Response; .field private final priorResponse:Lokhttp3/Response; .field private final protocol:Lokhttp3/Protocol; .field private final receivedResponseAtMillis:J .field private final request:Lokhttp3/Request; .field private final sentRequestAtMillis:J # direct methods .method public constructor (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 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/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v5, "protocol" invoke-static {p2, v5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v5, "message" invoke-static {p3, v5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v5, "headers" invoke-static {p6, v5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 40 invoke-direct {p0}, Ljava/lang/Object;->()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 166 move-object p3, p2 check-cast p3, Ljava/lang/String; :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 0 .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 iget-object p0, p0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody; return-object p0 .end method .method public final -deprecated_cacheControl()Lokhttp3/CacheControl; .locals 0 .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 .line 279 invoke-virtual {p0}, Lokhttp3/Response;->cacheControl()Lokhttp3/CacheControl; move-result-object p0 return-object p0 .end method .method public final -deprecated_cacheResponse()Lokhttp3/Response; .locals 0 .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 iget-object p0, p0, Lokhttp3/Response;->cacheResponse:Lokhttp3/Response; return-object p0 .end method .method public final -deprecated_code()I .locals 0 .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 iget p0, p0, Lokhttp3/Response;->code:I return p0 .end method .method public final -deprecated_handshake()Lokhttp3/Handshake; .locals 0 .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 iget-object p0, p0, Lokhttp3/Response;->handshake:Lokhttp3/Handshake; return-object p0 .end method .method public final -deprecated_headers()Lokhttp3/Headers; .locals 0 .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 iget-object p0, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers; return-object p0 .end method .method public final -deprecated_message()Ljava/lang/String; .locals 0 .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 iget-object p0, p0, Lokhttp3/Response;->message:Ljava/lang/String; return-object p0 .end method .method public final -deprecated_networkResponse()Lokhttp3/Response; .locals 0 .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 iget-object p0, p0, Lokhttp3/Response;->networkResponse:Lokhttp3/Response; return-object p0 .end method .method public final -deprecated_priorResponse()Lokhttp3/Response; .locals 0 .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 iget-object p0, p0, Lokhttp3/Response;->priorResponse:Lokhttp3/Response; return-object p0 .end method .method public final -deprecated_protocol()Lokhttp3/Protocol; .locals 0 .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 iget-object p0, p0, Lokhttp3/Response;->protocol:Lokhttp3/Protocol; return-object p0 .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 iget-wide v0, p0, Lokhttp3/Response;->receivedResponseAtMillis:J return-wide v0 .end method .method public final -deprecated_request()Lokhttp3/Request; .locals 0 .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 iget-object p0, p0, Lokhttp3/Response;->request:Lokhttp3/Request; return-object p0 .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 iget-wide v0, p0, Lokhttp3/Response;->sentRequestAtMillis:J return-wide v0 .end method .method public final body()Lokhttp3/ResponseBody; .locals 0 iget-object p0, p0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody; return-object p0 .end method .method public final cacheControl()Lokhttp3/CacheControl; .locals 2 iget-object v0, p0, Lokhttp3/Response;->lazyCacheControl:Lokhttp3/CacheControl; if-nez v0, :cond_0 .line 268 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 iput-object v0, p0, Lokhttp3/Response;->lazyCacheControl:Lokhttp3/CacheControl; :cond_0 return-object v0 .end method .method public final cacheResponse()Lokhttp3/Response; .locals 0 iget-object p0, p0, Lokhttp3/Response;->cacheResponse:Lokhttp3/Response; return-object p0 .end method .method public final challenges()Ljava/util/List; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/List<", "Lokhttp3/Challenge;", ">;" } .end annotation iget-object v0, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers; iget p0, p0, Lokhttp3/Response;->code:I const/16 v1, 0x191 if-eq p0, v1, :cond_1 const/16 v1, 0x197 if-eq p0, v1, :cond_0 .line 255 invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List; move-result-object p0 return-object p0 :cond_0 const-string p0, "Proxy-Authenticate" goto :goto_0 :cond_1 const-string p0, "WWW-Authenticate" .line 251 :goto_0 invoke-static {v0, p0}, Lokhttp3/internal/http/HttpHeaders;->parseChallenges(Lokhttp3/Headers;Ljava/lang/String;)Ljava/util/List; move-result-object p0 return-object p0 .end method .method public close()V .locals 1 iget-object p0, p0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody; if-eqz p0, :cond_0 .line 302 invoke-virtual {p0}, Lokhttp3/ResponseBody;->close()V return-void :cond_0 new-instance p0, Ljava/lang/IllegalStateException; const-string v0, "response is not eligible for a body and must not be closed" invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V check-cast p0, Ljava/lang/Throwable; throw p0 .end method .method public final code()I .locals 0 iget p0, p0, Lokhttp3/Response;->code:I return p0 .end method .method public final exchange()Lokhttp3/internal/connection/Exchange; .locals 0 iget-object p0, p0, Lokhttp3/Response;->exchange:Lokhttp3/internal/connection/Exchange; return-object p0 .end method .method public final handshake()Lokhttp3/Handshake; .locals 0 iget-object p0, p0, Lokhttp3/Response;->handshake:Lokhttp3/Handshake; return-object p0 .end method .method public final header(Ljava/lang/String;)Ljava/lang/String; .locals 2 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 p0 return-object p0 .end method .method public final header(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; .locals 1 const-string v0, "name" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object p0, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers; .line 166 invoke-virtual {p0, p1}, Lokhttp3/Headers;->get(Ljava/lang/String;)Ljava/lang/String; move-result-object p0 if-eqz p0, :cond_0 move-object p2, p0 :cond_0 return-object p2 .end method .method public final headers(Ljava/lang/String;)Ljava/util/List; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", ")", "Ljava/util/List<", "Ljava/lang/String;", ">;" } .end annotation const-string v0, "name" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object p0, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers; .line 163 invoke-virtual {p0, p1}, Lokhttp3/Headers;->values(Ljava/lang/String;)Ljava/util/List; move-result-object p0 return-object p0 .end method .method public final headers()Lokhttp3/Headers; .locals 0 iget-object p0, p0, Lokhttp3/Response;->headers:Lokhttp3/Headers; return-object p0 .end method .method public final isRedirect()Z .locals 1 iget p0, p0, Lokhttp3/Response;->code:I const/16 v0, 0x133 if-eq p0, v0, :cond_0 const/16 v0, 0x134 if-eq p0, v0, :cond_0 packed-switch p0, :pswitch_data_0 const/4 p0, 0x0 goto :goto_0 :cond_0 :pswitch_0 const/4 p0, 0x1 :goto_0 return p0 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 1 iget p0, p0, Lokhttp3/Response;->code:I const/16 v0, 0xc8 if-le v0, p0, :cond_0 goto :goto_0 :cond_0 const/16 v0, 0x12b if-lt v0, p0, :cond_1 const/4 p0, 0x1 goto :goto_1 :cond_1 :goto_0 const/4 p0, 0x0 :goto_1 return p0 .end method .method public final message()Ljava/lang/String; .locals 0 iget-object p0, p0, Lokhttp3/Response;->message:Ljava/lang/String; return-object p0 .end method .method public final networkResponse()Lokhttp3/Response; .locals 0 iget-object p0, p0, Lokhttp3/Response;->networkResponse:Lokhttp3/Response; return-object p0 .end method .method public final newBuilder()Lokhttp3/Response$Builder; .locals 1 .line 209 new-instance v0, Lokhttp3/Response$Builder; invoke-direct {v0, p0}, Lokhttp3/Response$Builder;->(Lokhttp3/Response;)V return-object v0 .end method .method public final peekBody(J)Lokhttp3/ResponseBody; .locals 5 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget-object v0, p0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody; .line 195 invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V invoke-virtual {v0}, Lokhttp3/ResponseBody;->source()Lokio/BufferedSource; move-result-object v0 invoke-interface {v0}, Lokio/BufferedSource;->peek()Lokio/BufferedSource; move-result-object v0 .line 196 new-instance v1, Lokio/Buffer; invoke-direct {v1}, Lokio/Buffer;->()V .line 197 invoke-interface {v0, p1, p2}, Lokio/BufferedSource;->request(J)Z .line 198 move-object v2, v0 check-cast v2, Lokio/Source; invoke-interface {v0}, Lokio/BufferedSource;->getBuffer()Lokio/Buffer; move-result-object v0 invoke-virtual {v0}, Lokio/Buffer;->size()J move-result-wide v3 invoke-static {p1, p2, v3, v4}, Ljava/lang/Math;->min(JJ)J move-result-wide p1 invoke-virtual {v1, v2, p1, p2}, Lokio/Buffer;->write(Lokio/Source;J)Lokio/Buffer; .line 199 sget-object p1, Lokhttp3/ResponseBody;->Companion:Lokhttp3/ResponseBody$Companion; move-object p2, v1 check-cast p2, Lokio/BufferedSource; iget-object p0, p0, Lokhttp3/Response;->body:Lokhttp3/ResponseBody; invoke-virtual {p0}, Lokhttp3/ResponseBody;->contentType()Lokhttp3/MediaType; move-result-object p0 invoke-virtual {v1}, Lokio/Buffer;->size()J move-result-wide v0 invoke-virtual {p1, p2, p0, v0, v1}, Lokhttp3/ResponseBody$Companion;->create(Lokio/BufferedSource;Lokhttp3/MediaType;J)Lokhttp3/ResponseBody; move-result-object p0 return-object p0 .end method .method public final priorResponse()Lokhttp3/Response; .locals 0 iget-object p0, p0, Lokhttp3/Response;->priorResponse:Lokhttp3/Response; return-object p0 .end method .method public final protocol()Lokhttp3/Protocol; .locals 0 iget-object p0, p0, Lokhttp3/Response;->protocol:Lokhttp3/Protocol; return-object p0 .end method .method public final receivedResponseAtMillis()J .locals 2 iget-wide v0, p0, Lokhttp3/Response;->receivedResponseAtMillis:J return-wide v0 .end method .method public final request()Lokhttp3/Request; .locals 0 iget-object p0, p0, Lokhttp3/Response;->request:Lokhttp3/Request; return-object p0 .end method .method public final sentRequestAtMillis()J .locals 2 iget-wide v0, p0, Lokhttp3/Response;->sentRequestAtMillis:J return-wide v0 .end method .method public toString()Ljava/lang/String; .locals 2 .line 306 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "Response{protocol=" invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V iget-object v1, p0, Lokhttp3/Response;->protocol:Lokhttp3/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, Lokhttp3/Response;->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, Lokhttp3/Response;->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 p0, p0, Lokhttp3/Response;->request:Lokhttp3/Request; invoke-virtual {p0}, Lokhttp3/Request;->url()Lokhttp3/HttpUrl; move-result-object p0 invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object p0 const/16 v0, 0x7d invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public final trailers()Lokhttp3/Headers; .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget-object p0, p0, Lokhttp3/Response;->exchange:Lokhttp3/internal/connection/Exchange; if-eqz p0, :cond_0 .line 180 invoke-virtual {p0}, Lokhttp3/internal/connection/Exchange;->trailers()Lokhttp3/Headers; move-result-object p0 return-object p0 :cond_0 new-instance p0, Ljava/lang/IllegalStateException; const-string v0, "trailers not available" invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V check-cast p0, Ljava/lang/Throwable; throw p0 .end method