.class public final Lokhttp3/Request; .super Ljava/lang/Object; .source "Request.kt" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lokhttp3/Request$Builder; } .end annotation .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nRequest.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Request.kt\nokhttp3/Request\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,298:1\n1858#2,3:299\n*S KotlinDebug\n*F\n+ 1 Request.kt\nokhttp3/Request\n*L\n119#1:299,3\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000N\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010$\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u000b\n\u0002\u0008\u000b\n\u0002\u0010 \n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0008\u0018\u00002\u00020\u0001:\u0001*BA\u0008\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0008\u0010\u0008\u001a\u0004\u0018\u00010\t\u0012\u0016\u0010\n\u001a\u0012\u0012\u0008\u0012\u0006\u0012\u0002\u0008\u00030\u000c\u0012\u0004\u0012\u00020\u00010\u000b\u00a2\u0006\u0002\u0010\rJ\u000f\u0010\u0008\u001a\u0004\u0018\u00010\tH\u0007\u00a2\u0006\u0002\u0008\u001bJ\r\u0010\u000f\u001a\u00020\u0010H\u0007\u00a2\u0006\u0002\u0008\u001cJ\u0010\u0010\u001d\u001a\u0004\u0018\u00010\u00052\u0006\u0010\u001e\u001a\u00020\u0005J\r\u0010\u0006\u001a\u00020\u0007H\u0007\u00a2\u0006\u0002\u0008\u001fJ\u0014\u0010\u0006\u001a\u0008\u0012\u0004\u0012\u00020\u00050 2\u0006\u0010\u001e\u001a\u00020\u0005J\r\u0010\u0004\u001a\u00020\u0005H\u0007\u00a2\u0006\u0002\u0008!J\u0006\u0010\"\u001a\u00020#J\u0008\u0010$\u001a\u0004\u0018\u00010\u0001J#\u0010$\u001a\u0004\u0018\u0001H%\"\u0004\u0008\u0000\u0010%2\u000e\u0010&\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H%0\u000c\u00a2\u0006\u0002\u0010\'J\u0008\u0010(\u001a\u00020\u0005H\u0016J\r\u0010\u0002\u001a\u00020\u0003H\u0007\u00a2\u0006\u0002\u0008)R\u0015\u0010\u0008\u001a\u0004\u0018\u00010\t8\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0008\u0010\u000eR\u0011\u0010\u000f\u001a\u00020\u00108G\u00a2\u0006\u0006\u001a\u0004\u0008\u000f\u0010\u0011R\u0013\u0010\u0006\u001a\u00020\u00078\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0006\u0010\u0012R\u0011\u0010\u0013\u001a\u00020\u00148F\u00a2\u0006\u0006\u001a\u0004\u0008\u0013\u0010\u0015R\u0010\u0010\u0016\u001a\u0004\u0018\u00010\u0010X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0013\u0010\u0004\u001a\u00020\u00058\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0004\u0010\u0017R$\u0010\n\u001a\u0012\u0012\u0008\u0012\u0006\u0012\u0002\u0008\u00030\u000c\u0012\u0004\u0012\u00020\u00010\u000bX\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0018\u0010\u0019R\u0013\u0010\u0002\u001a\u00020\u00038\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0002\u0010\u001a\u00a8\u0006+" } d2 = { "Lokhttp3/Request;", "", "url", "Lokhttp3/HttpUrl;", "method", "", "headers", "Lokhttp3/Headers;", "body", "Lokhttp3/RequestBody;", "tags", "", "Ljava/lang/Class;", "(Lokhttp3/HttpUrl;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V", "()Lokhttp3/RequestBody;", "cacheControl", "Lokhttp3/CacheControl;", "()Lokhttp3/CacheControl;", "()Lokhttp3/Headers;", "isHttps", "", "()Z", "lazyCacheControl", "()Ljava/lang/String;", "getTags$okhttp", "()Ljava/util/Map;", "()Lokhttp3/HttpUrl;", "-deprecated_body", "-deprecated_cacheControl", "header", "name", "-deprecated_headers", "", "-deprecated_method", "newBuilder", "Lokhttp3/Request$Builder;", "tag", "T", "type", "(Ljava/lang/Class;)Ljava/lang/Object;", "toString", "-deprecated_url", "Builder", "okhttp" } k = 0x1 mv = { 0x1, 0x6, 0x0 } xi = 0x30 .end annotation # instance fields .field private final body:Lokhttp3/RequestBody; .field private final headers:Lokhttp3/Headers; .field private lazyCacheControl:Lokhttp3/CacheControl; .field private final method:Ljava/lang/String; .field private final tags:Ljava/util/Map; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Map<", "Ljava/lang/Class<", "*>;", "Ljava/lang/Object;", ">;" } .end annotation .end field .field private final url:Lokhttp3/HttpUrl; # direct methods .method public constructor (Lokhttp3/HttpUrl;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lokhttp3/HttpUrl;", "Ljava/lang/String;", "Lokhttp3/Headers;", "Lokhttp3/RequestBody;", "Ljava/util/Map<", "Ljava/lang/Class<", "*>;+", "Ljava/lang/Object;", ">;)V" } .end annotation const-string v0, "url" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "method" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "headers" invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "tags" invoke-static {p5, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 28 invoke-direct {p0}, Ljava/lang/Object;->()V .line 29 iput-object p1, p0, Lokhttp3/Request;->url:Lokhttp3/HttpUrl; .line 30 iput-object p2, p0, Lokhttp3/Request;->method:Ljava/lang/String; .line 31 iput-object p3, p0, Lokhttp3/Request;->headers:Lokhttp3/Headers; .line 32 iput-object p4, p0, Lokhttp3/Request;->body:Lokhttp3/RequestBody; .line 33 iput-object p5, p0, Lokhttp3/Request;->tags:Ljava/util/Map; return-void .end method # virtual methods .method public final -deprecated_body()Lokhttp3/RequestBody; .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 .line 103 iget-object v0, p0, Lokhttp3/Request;->body:Lokhttp3/RequestBody; 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 .line 110 invoke-virtual {p0}, Lokhttp3/Request;->cacheControl()Lokhttp3/CacheControl; move-result-object v0 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 .line 96 iget-object v0, p0, Lokhttp3/Request;->headers:Lokhttp3/Headers; return-object v0 .end method .method public final -deprecated_method()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 = "method" imports = {} .end subannotation .end annotation .line 89 iget-object v0, p0, Lokhttp3/Request;->method:Ljava/lang/String; return-object v0 .end method .method public final -deprecated_url()Lokhttp3/HttpUrl; .locals 1 .annotation runtime Lkotlin/Deprecated; level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel; message = "moved to val" replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "url" imports = {} .end subannotation .end annotation .line 82 iget-object v0, p0, Lokhttp3/Request;->url:Lokhttp3/HttpUrl; return-object v0 .end method .method public final body()Lokhttp3/RequestBody; .locals 1 .line 32 iget-object v0, p0, Lokhttp3/Request;->body:Lokhttp3/RequestBody; return-object v0 .end method .method public final cacheControl()Lokhttp3/CacheControl; .locals 2 .line 69 iget-object v0, p0, Lokhttp3/Request;->lazyCacheControl:Lokhttp3/CacheControl; if-nez v0, :cond_0 .line 71 sget-object v0, Lokhttp3/CacheControl;->Companion:Lokhttp3/CacheControl$Companion; iget-object v1, p0, Lokhttp3/Request;->headers:Lokhttp3/Headers; invoke-virtual {v0, v1}, Lokhttp3/CacheControl$Companion;->parse(Lokhttp3/Headers;)Lokhttp3/CacheControl; move-result-object v0 .line 72 iput-object v0, p0, Lokhttp3/Request;->lazyCacheControl:Lokhttp3/CacheControl; :cond_0 return-object v0 .end method .method public final getTags$okhttp()Ljava/util/Map; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Map<", "Ljava/lang/Class<", "*>;", "Ljava/lang/Object;", ">;" } .end annotation .line 33 iget-object v0, p0, Lokhttp3/Request;->tags:Ljava/util/Map; return-object v0 .end method .method public final header(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 .line 41 iget-object v0, p0, Lokhttp3/Request;->headers:Lokhttp3/Headers; invoke-virtual {v0, p1}, Lokhttp3/Headers;->get(Ljava/lang/String;)Ljava/lang/String; move-result-object p1 return-object p1 .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 .line 43 iget-object v0, p0, Lokhttp3/Request;->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 .line 31 iget-object v0, p0, Lokhttp3/Request;->headers:Lokhttp3/Headers; return-object v0 .end method .method public final isHttps()Z .locals 1 .line 39 iget-object v0, p0, Lokhttp3/Request;->url:Lokhttp3/HttpUrl; invoke-virtual {v0}, Lokhttp3/HttpUrl;->isHttps()Z move-result v0 return v0 .end method .method public final method()Ljava/lang/String; .locals 1 .line 30 iget-object v0, p0, Lokhttp3/Request;->method:Ljava/lang/String; return-object v0 .end method .method public final newBuilder()Lokhttp3/Request$Builder; .locals 1 .line 61 new-instance v0, Lokhttp3/Request$Builder; invoke-direct {v0, p0}, Lokhttp3/Request$Builder;->(Lokhttp3/Request;)V return-object v0 .end method .method public final tag()Ljava/lang/Object; .locals 1 .line 53 const-class v0, Ljava/lang/Object; invoke-virtual {p0, v0}, Lokhttp3/Request;->tag(Ljava/lang/Class;)Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method public final tag(Ljava/lang/Class;)Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "+TT;>;)TT;" } .end annotation const-string v0, "type" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 59 iget-object v0, p0, Lokhttp3/Request;->tags:Ljava/util/Map; invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-virtual {p1, v0}, Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 return-object p1 .end method .method public toString()Ljava/lang/String; .locals 6 .line 112 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "Request{method=" .line 113 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 114 invoke-virtual {p0}, Lokhttp3/Request;->method()Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v1, ", url=" .line 115 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 116 invoke-virtual {p0}, Lokhttp3/Request;->url()Lokhttp3/HttpUrl; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; .line 117 invoke-virtual {p0}, Lokhttp3/Request;->headers()Lokhttp3/Headers; move-result-object v1 invoke-virtual {v1}, Lokhttp3/Headers;->size()I move-result v1 if-eqz v1, :cond_3 const-string v1, ", headers=[" .line 118 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 119 invoke-virtual {p0}, Lokhttp3/Request;->headers()Lokhttp3/Headers; move-result-object v1 check-cast v1, Ljava/lang/Iterable; const/4 v2, 0x0 .line 300 invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v1 :goto_0 invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z move-result v3 if-eqz v3, :cond_2 invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v3 add-int/lit8 v4, v2, 0x1 if-gez v2, :cond_0 invoke-static {}, Lkotlin/collections/CollectionsKt;->throwIndexOverflow()V :cond_0 check-cast v3, Lkotlin/Pair; .line 119 invoke-virtual {v3}, Lkotlin/Pair;->component1()Ljava/lang/Object; move-result-object v5 check-cast v5, Ljava/lang/String; invoke-virtual {v3}, Lkotlin/Pair;->component2()Ljava/lang/Object; move-result-object v3 check-cast v3, Ljava/lang/String; if-lez v2, :cond_1 const-string v2, ", " .line 121 invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 123 :cond_1 invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const/16 v2, 0x3a .line 124 invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; .line 125 invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move v2, v4 goto :goto_0 :cond_2 const/16 v1, 0x5d .line 127 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; .line 129 :cond_3 invoke-virtual {p0}, Lokhttp3/Request;->getTags$okhttp()Ljava/util/Map; move-result-object v1 invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z move-result v1 xor-int/lit8 v1, v1, 0x1 if-eqz v1, :cond_4 const-string v1, ", tags=" .line 130 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 131 invoke-virtual {p0}, Lokhttp3/Request;->getTags$okhttp()Ljava/util/Map; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; :cond_4 const/16 v1, 0x7d .line 133 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; .line 112 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 const-string v1, "StringBuilder().apply(builderAction).toString()" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V return-object v0 .end method .method public final url()Lokhttp3/HttpUrl; .locals 1 .line 29 iget-object v0, p0, Lokhttp3/Request;->url:Lokhttp3/HttpUrl; return-object v0 .end method