.class public final Lz/i; .super Ljava/lang/Object; .source "OkHttpCall.java" # interfaces .implements Lz/b; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lz/i$b;, Lz/i$c; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lz/b<", "TT;>;" } .end annotation # instance fields .field public final d:Lz/r; .annotation system Ldalvik/annotation/Signature; value = { "Lz/r<", "TT;*>;" } .end annotation .end field .field public final e:[Ljava/lang/Object; .field public volatile f:Z .field public g:Lw/e; .field public h:Ljava/lang/Throwable; .field public i:Z # direct methods .method public constructor (Lz/r;[Ljava/lang/Object;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lz/r<", "TT;*>;[", "Ljava/lang/Object;", ")V" } .end annotation invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lz/i;->d:Lz/r; iput-object p2, p0, Lz/i;->e:[Ljava/lang/Object; return-void .end method # virtual methods .method public final a()Lw/e; .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget-object v0, p0, Lz/i;->d:Lz/r; iget-object v1, p0, Lz/i;->e:[Ljava/lang/Object; invoke-virtual {v0, v1}, Lz/r;->a([Ljava/lang/Object;)Lw/y; move-result-object v0 iget-object v1, p0, Lz/i;->d:Lz/r; iget-object v1, v1, Lz/r;->a:Lw/e$a; check-cast v1, Lw/v; invoke-virtual {v1, v0}, Lw/v;->a(Lw/y;)Lw/e; move-result-object v0 if-eqz v0, :cond_0 return-object v0 :cond_0 new-instance v0, Ljava/lang/NullPointerException; const-string v1, "Call.Factory returned null." invoke-direct {v0, v1}, Ljava/lang/NullPointerException;->(Ljava/lang/String;)V throw v0 .end method .method public a(Lokhttp3/Response;)Lz/o; .locals 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lokhttp3/Response;", ")", "Lz/o<", "TT;>;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation invoke-virtual {p1}, Lokhttp3/Response;->a()Lw/z; move-result-object v0 invoke-virtual {p1}, Lokhttp3/Response;->k()Lokhttp3/Response$a; move-result-object p1 new-instance v1, Lz/i$c; invoke-virtual {v0}, Lw/z;->c()Lokhttp3/MediaType; move-result-object v2 invoke-virtual {v0}, Lw/z;->b()J move-result-wide v3 invoke-direct {v1, v2, v3, v4}, Lz/i$c;->(Lokhttp3/MediaType;J)V iput-object v1, p1, Lokhttp3/Response$a;->g:Lw/z; invoke-virtual {p1}, Lokhttp3/Response$a;->a()Lokhttp3/Response; move-result-object p1 invoke-virtual {p1}, Lokhttp3/Response;->c()I move-result v1 const/16 v2, 0xc8 const/4 v3, 0x0 if-lt v1, v2, :cond_4 const/16 v2, 0x12c if-lt v1, v2, :cond_0 goto :goto_1 :cond_0 const/16 v2, 0xcc if-eq v1, v2, :cond_3 const/16 v2, 0xcd if-ne v1, v2, :cond_1 goto :goto_0 :cond_1 new-instance v1, Lz/i$b; invoke-direct {v1, v0}, Lz/i$b;->(Lw/z;)V :try_start_0 iget-object v0, p0, Lz/i;->d:Lz/r; iget-object v0, v0, Lz/r;->d:Lz/e; invoke-interface {v0, v1}, Lz/e;->a(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-static {v0, p1}, Lz/o;->a(Ljava/lang/Object;Lokhttp3/Response;)Lz/o; move-result-object p1 :try_end_0 .catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0 return-object p1 :catch_0 move-exception p1 iget-object v0, v1, Lz/i$b;->g:Ljava/io/IOException; if-nez v0, :cond_2 throw p1 :cond_2 throw v0 :cond_3 :goto_0 invoke-virtual {v0}, Lw/z;->close()V invoke-static {v3, p1}, Lz/o;->a(Ljava/lang/Object;Lokhttp3/Response;)Lz/o; move-result-object p1 return-object p1 :cond_4 :goto_1 :try_start_1 invoke-static {v0}, Lz/s;->a(Lw/z;)Lw/z; move-result-object v1 const-string v2, "body == null" invoke-static {v1, v2}, Lz/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v2, "rawResponse == null" invoke-static {p1, v2}, Lz/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; invoke-virtual {p1}, Lokhttp3/Response;->h()Z move-result v2 if-nez v2, :cond_5 new-instance v2, Lz/o; invoke-direct {v2, p1, v3, v1}, Lz/o;->(Lokhttp3/Response;Ljava/lang/Object;Lw/z;)V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 invoke-virtual {v0}, Lw/z;->close()V return-object v2 :cond_5 :try_start_2 new-instance p1, Ljava/lang/IllegalArgumentException; const-string v1, "rawResponse should not be successful response" invoke-direct {p1, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p1 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_0 :catchall_0 move-exception p1 invoke-virtual {v0}, Lw/z;->close()V throw p1 .end method .method public a(Lz/d;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lz/d<", "TT;>;)V" } .end annotation const-string v0, "callback == null" invoke-static {p1, v0}, Lz/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; monitor-enter p0 :try_start_0 iget-boolean v0, p0, Lz/i;->i:Z if-nez v0, :cond_3 const/4 v0, 0x1 iput-boolean v0, p0, Lz/i;->i:Z iget-object v0, p0, Lz/i;->g:Lw/e; iget-object v1, p0, Lz/i;->h:Ljava/lang/Throwable; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 if-nez v0, :cond_0 if-nez v1, :cond_0 :try_start_1 invoke-virtual {p0}, Lz/i;->a()Lw/e; move-result-object v2 iput-object v2, p0, Lz/i;->g:Lw/e; :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 move-object v0, v2 goto :goto_0 :catchall_0 move-exception v1 :try_start_2 iput-object v1, p0, Lz/i;->h:Ljava/lang/Throwable; :cond_0 :goto_0 monitor-exit p0 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_1 if-eqz v1, :cond_1 invoke-interface {p1, p0, v1}, Lz/d;->a(Lz/b;Ljava/lang/Throwable;)V return-void :cond_1 iget-boolean v1, p0, Lz/i;->f:Z if-eqz v1, :cond_2 move-object v1, v0 check-cast v1, Lw/x; invoke-virtual {v1}, Lw/x;->a()V :cond_2 new-instance v1, Lz/i$a; invoke-direct {v1, p0, p1}, Lz/i$a;->(Lz/i;Lz/d;)V check-cast v0, Lw/x; invoke-virtual {v0, v1}, Lw/x;->a(Lw/f;)V return-void :cond_3 :try_start_3 new-instance p1, Ljava/lang/IllegalStateException; const-string v0, "Already executed." invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p1 :catchall_1 move-exception p1 monitor-exit p0 :try_end_3 .catchall {:try_start_3 .. :try_end_3} :catchall_1 throw p1 .end method .method public cancel()V .locals 1 const/4 v0, 0x1 iput-boolean v0, p0, Lz/i;->f:Z monitor-enter p0 :try_start_0 iget-object v0, p0, Lz/i;->g:Lw/e; monitor-exit p0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 if-eqz v0, :cond_0 check-cast v0, Lw/x; invoke-virtual {v0}, Lw/x;->a()V :cond_0 return-void :catchall_0 move-exception v0 :try_start_1 monitor-exit p0 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 throw v0 .end method .method public bridge synthetic clone()Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/CloneNotSupportedException; } .end annotation invoke-virtual {p0}, Lz/i;->clone()Lz/i; move-result-object v0 return-object v0 .end method .method public bridge synthetic clone()Lz/b; .locals 1 invoke-virtual {p0}, Lz/i;->clone()Lz/i; move-result-object v0 return-object v0 .end method .method public clone()Lz/i; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lz/i<", "TT;>;" } .end annotation new-instance v0, Lz/i; iget-object v1, p0, Lz/i;->d:Lz/r; iget-object v2, p0, Lz/i;->e:[Ljava/lang/Object; invoke-direct {v0, v1, v2}, Lz/i;->(Lz/r;[Ljava/lang/Object;)V return-object v0 .end method .method public execute()Lz/o; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lz/o<", "TT;>;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation monitor-enter p0 :try_start_0 iget-boolean v0, p0, Lz/i;->i:Z if-nez v0, :cond_4 const/4 v0, 0x1 iput-boolean v0, p0, Lz/i;->i:Z iget-object v0, p0, Lz/i;->h:Ljava/lang/Throwable; if-eqz v0, :cond_1 iget-object v0, p0, Lz/i;->h:Ljava/lang/Throwable; instance-of v0, v0, Ljava/io/IOException; if-eqz v0, :cond_0 iget-object v0, p0, Lz/i;->h:Ljava/lang/Throwable; check-cast v0, Ljava/io/IOException; throw v0 :cond_0 iget-object v0, p0, Lz/i;->h:Ljava/lang/Throwable; check-cast v0, Ljava/lang/RuntimeException; throw v0 :cond_1 iget-object v0, p0, Lz/i;->g:Lw/e; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 if-nez v0, :cond_2 :try_start_1 invoke-virtual {p0}, Lz/i;->a()Lw/e; move-result-object v0 iput-object v0, p0, Lz/i;->g:Lw/e; :try_end_1 .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1 .catch Ljava/lang/RuntimeException; {:try_start_1 .. :try_end_1} :catch_0 .catchall {:try_start_1 .. :try_end_1} :catchall_0 goto :goto_1 :catch_0 move-exception v0 goto :goto_0 :catch_1 move-exception v0 :goto_0 :try_start_2 iput-object v0, p0, Lz/i;->h:Ljava/lang/Throwable; throw v0 :cond_2 :goto_1 monitor-exit p0 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_0 iget-boolean v1, p0, Lz/i;->f:Z if-eqz v1, :cond_3 move-object v1, v0 check-cast v1, Lw/x; invoke-virtual {v1}, Lw/x;->a()V :cond_3 check-cast v0, Lw/x; invoke-virtual {v0}, Lw/x;->b()Lokhttp3/Response; move-result-object v0 invoke-virtual {p0, v0}, Lz/i;->a(Lokhttp3/Response;)Lz/o; move-result-object v0 return-object v0 :cond_4 :try_start_3 new-instance v0, Ljava/lang/IllegalStateException; const-string v1, "Already executed." invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw v0 :catchall_0 move-exception v0 monitor-exit p0 :try_end_3 .catchall {:try_start_3 .. :try_end_3} :catchall_0 throw v0 .end method .method public v()Z .locals 2 iget-boolean v0, p0, Lz/i;->f:Z const/4 v1, 0x1 if-eqz v0, :cond_0 return v1 :cond_0 monitor-enter p0 :try_start_0 iget-object v0, p0, Lz/i;->g:Lw/e; if-eqz v0, :cond_2 iget-object v0, p0, Lz/i;->g:Lw/e; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 check-cast v0, Lw/x; :try_start_1 iget-object v0, v0, Lw/x;->d:Lw/c0/c/n; if-eqz v0, :cond_1 invoke-virtual {v0}, Lw/c0/c/n;->e()Z move-result v0 if-eqz v0, :cond_2 goto :goto_0 :cond_1 const-string v0, "transmitter" invoke-static {v0}, Ls/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 const/4 v0, 0x0 throw v0 :cond_2 const/4 v1, 0x0 :goto_0 :try_start_2 monitor-exit p0 return v1 :catchall_0 move-exception v0 monitor-exit p0 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_0 throw v0 .end method