.class public final Lokhttp3/Request; .super Ljava/lang/Object; .source "Request.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lokhttp3/Request$Builder; } .end annotation # instance fields .field private final body:Lokhttp3/RequestBody; .field private volatile cacheControl:Lokhttp3/CacheControl; .field private final headers:Lokhttp3/Headers; .field private volatile javaNetUri:Ljava/net/URI; .field private final method:Ljava/lang/String; .field private final tag:Ljava/lang/Object; .field private final url:Lokhttp3/HttpUrl; # direct methods .method private constructor (Lokhttp3/Request$Builder;)V .locals 1 .prologue .line 37 invoke-direct {p0}, Ljava/lang/Object;->()V .line 38 invoke-static {p1}, Lokhttp3/Request$Builder;->access$000(Lokhttp3/Request$Builder;)Lokhttp3/HttpUrl; move-result-object v0 iput-object v0, p0, Lokhttp3/Request;->url:Lokhttp3/HttpUrl; .line 39 invoke-static {p1}, Lokhttp3/Request$Builder;->access$100(Lokhttp3/Request$Builder;)Ljava/lang/String; move-result-object v0 iput-object v0, p0, Lokhttp3/Request;->method:Ljava/lang/String; .line 40 invoke-static {p1}, Lokhttp3/Request$Builder;->access$200(Lokhttp3/Request$Builder;)Lokhttp3/Headers$Builder; move-result-object v0 invoke-virtual {v0}, Lokhttp3/Headers$Builder;->build()Lokhttp3/Headers; move-result-object v0 iput-object v0, p0, Lokhttp3/Request;->headers:Lokhttp3/Headers; .line 41 invoke-static {p1}, Lokhttp3/Request$Builder;->access$300(Lokhttp3/Request$Builder;)Lokhttp3/RequestBody; move-result-object v0 iput-object v0, p0, Lokhttp3/Request;->body:Lokhttp3/RequestBody; .line 42 invoke-static {p1}, Lokhttp3/Request$Builder;->access$400(Lokhttp3/Request$Builder;)Ljava/lang/Object; move-result-object v0 if-eqz v0, :cond_0 invoke-static {p1}, Lokhttp3/Request$Builder;->access$400(Lokhttp3/Request$Builder;)Ljava/lang/Object; move-result-object v0 :goto_0 iput-object v0, p0, Lokhttp3/Request;->tag:Ljava/lang/Object; .line 43 return-void :cond_0 move-object v0, p0 .line 42 goto :goto_0 .end method .method synthetic constructor (Lokhttp3/Request$Builder;Lokhttp3/Request$1;)V .locals 0 .prologue .line 27 invoke-direct {p0, p1}, Lokhttp3/Request;->(Lokhttp3/Request$Builder;)V return-void .end method .method static synthetic access$1000(Lokhttp3/Request;)Lokhttp3/Headers; .locals 1 .prologue .line 27 iget-object v0, p0, Lokhttp3/Request;->headers:Lokhttp3/Headers; return-object v0 .end method .method static synthetic access$600(Lokhttp3/Request;)Lokhttp3/HttpUrl; .locals 1 .prologue .line 27 iget-object v0, p0, Lokhttp3/Request;->url:Lokhttp3/HttpUrl; return-object v0 .end method .method static synthetic access$700(Lokhttp3/Request;)Ljava/lang/String; .locals 1 .prologue .line 27 iget-object v0, p0, Lokhttp3/Request;->method:Ljava/lang/String; return-object v0 .end method .method static synthetic access$800(Lokhttp3/Request;)Lokhttp3/RequestBody; .locals 1 .prologue .line 27 iget-object v0, p0, Lokhttp3/Request;->body:Lokhttp3/RequestBody; return-object v0 .end method .method static synthetic access$900(Lokhttp3/Request;)Ljava/lang/Object; .locals 1 .prologue .line 27 iget-object v0, p0, Lokhttp3/Request;->tag:Ljava/lang/Object; return-object v0 .end method # virtual methods .method public body()Lokhttp3/RequestBody; .locals 1 .prologue .line 66 iget-object v0, p0, Lokhttp3/Request;->body:Lokhttp3/RequestBody; return-object v0 .end method .method public cacheControl()Lokhttp3/CacheControl; .locals 1 .prologue .line 82 iget-object v0, p0, Lokhttp3/Request;->cacheControl:Lokhttp3/CacheControl; .line 83 if-eqz v0, :cond_0 :goto_0 return-object v0 :cond_0 iget-object v0, p0, Lokhttp3/Request;->headers:Lokhttp3/Headers; invoke-static {v0}, Lokhttp3/CacheControl;->parse(Lokhttp3/Headers;)Lokhttp3/CacheControl; move-result-object v0 iput-object v0, p0, Lokhttp3/Request;->cacheControl:Lokhttp3/CacheControl; goto :goto_0 .end method .method public header(Ljava/lang/String;)Ljava/lang/String; .locals 1 .prologue .line 58 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 v0 return-object v0 .end method .method public 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 .prologue .line 62 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 v0 return-object v0 .end method .method public headers()Lokhttp3/Headers; .locals 1 .prologue .line 54 iget-object v0, p0, Lokhttp3/Request;->headers:Lokhttp3/Headers; return-object v0 .end method .method public isHttps()Z .locals 1 .prologue .line 87 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 method()Ljava/lang/String; .locals 1 .prologue .line 50 iget-object v0, p0, Lokhttp3/Request;->method:Ljava/lang/String; return-object v0 .end method .method public newBuilder()Lokhttp3/Request$Builder; .locals 2 .prologue .line 74 new-instance v0, Lokhttp3/Request$Builder; const/4 v1, 0x0 invoke-direct {v0, p0, v1}, Lokhttp3/Request$Builder;->(Lokhttp3/Request;Lokhttp3/Request$1;)V return-object v0 .end method .method public tag()Ljava/lang/Object; .locals 1 .prologue .line 70 iget-object v0, p0, Lokhttp3/Request;->tag:Ljava/lang/Object; return-object v0 .end method .method public toString()Ljava/lang/String; .locals 2 .prologue .line 91 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "Request{method=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lokhttp3/Request;->method:Ljava/lang/String; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, ", url=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lokhttp3/Request;->url:Lokhttp3/HttpUrl; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, ", tag=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 iget-object v0, p0, Lokhttp3/Request;->tag:Ljava/lang/Object; if-eq v0, p0, :cond_0 iget-object v0, p0, Lokhttp3/Request;->tag:Ljava/lang/Object; :goto_0 invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object v0 const/16 v1, 0x7d invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object v0 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 return-object v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method public url()Lokhttp3/HttpUrl; .locals 1 .prologue .line 46 iget-object v0, p0, Lokhttp3/Request;->url:Lokhttp3/HttpUrl; return-object v0 .end method