.class public final Ld0/i; .super Ljava/lang/Object; .source "OkHttpCall.java" # interfaces .implements Ld0/b; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Ld0/i$b;, Ld0/i$c; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Ld0/b<", "TT;>;" } .end annotation # instance fields .field public final d:Ld0/r; .annotation system Ldalvik/annotation/Signature; value = { "Ld0/r<", "TT;*>;" } .end annotation .end field .field public final e:[Ljava/lang/Object; .field public volatile f:Z .field public g:La0/e; .field public h:Ljava/lang/Throwable; .field public i:Z # direct methods .method public constructor (Ld0/r;[Ljava/lang/Object;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ld0/r<", "TT;*>;[", "Ljava/lang/Object;", ")V" } .end annotation invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Ld0/i;->d:Ld0/r; iput-object p2, p0, Ld0/i;->e:[Ljava/lang/Object; return-void .end method # virtual methods .method public final a()La0/e; .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget-object v0, p0, Ld0/i;->d:Ld0/r; iget-object v1, p0, Ld0/i;->e:[Ljava/lang/Object; invoke-virtual {v0, v1}, Ld0/r;->a([Ljava/lang/Object;)La0/y; move-result-object v0 iget-object v1, p0, Ld0/i;->d:Ld0/r; iget-object v1, v1, Ld0/r;->a:La0/e$a; check-cast v1, La0/v; invoke-virtual {v1, v0}, La0/v;->a(La0/y;)La0/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;)Ld0/o; .locals 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lokhttp3/Response;", ")", "Ld0/o<", "TT;>;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation invoke-virtual {p1}, Lokhttp3/Response;->a()La0/z; move-result-object v0 invoke-virtual {p1}, Lokhttp3/Response;->k()Lokhttp3/Response$a; move-result-object p1 new-instance v1, Ld0/i$c; invoke-virtual {v0}, La0/z;->c()Lokhttp3/MediaType; move-result-object v2 invoke-virtual {v0}, La0/z;->b()J move-result-wide v3 invoke-direct {v1, v2, v3, v4}, Ld0/i$c;->(Lokhttp3/MediaType;J)V iput-object v1, p1, Lokhttp3/Response$a;->g:La0/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, Ld0/i$b; invoke-direct {v1, v0}, Ld0/i$b;->(La0/z;)V :try_start_0 iget-object v0, p0, Ld0/i;->d:Ld0/r; iget-object v0, v0, Ld0/r;->d:Ld0/e; invoke-interface {v0, v1}, Ld0/e;->a(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-static {v0, p1}, Ld0/o;->a(Ljava/lang/Object;Lokhttp3/Response;)Ld0/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, Ld0/i$b;->g:Ljava/io/IOException; if-nez v0, :cond_2 throw p1 :cond_2 throw v0 :cond_3 :goto_0 invoke-virtual {v0}, La0/z;->close()V invoke-static {v3, p1}, Ld0/o;->a(Ljava/lang/Object;Lokhttp3/Response;)Ld0/o; move-result-object p1 return-object p1 :cond_4 :goto_1 :try_start_1 invoke-static {v0}, Ld0/s;->a(La0/z;)La0/z; move-result-object v1 const-string v2, "body == null" invoke-static {v1, v2}, Ld0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v2, "rawResponse == null" invoke-static {p1, v2}, Ld0/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, Ld0/o; invoke-direct {v2, p1, v3, v1}, Ld0/o;->(Lokhttp3/Response;Ljava/lang/Object;La0/z;)V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 invoke-virtual {v0}, La0/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}, La0/z;->close()V throw p1 .end method .method public a(Ld0/d;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ld0/d<", "TT;>;)V" } .end annotation const-string v0, "callback == null" invoke-static {p1, v0}, Ld0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; monitor-enter p0 :try_start_0 iget-boolean v0, p0, Ld0/i;->i:Z if-nez v0, :cond_3 const/4 v0, 0x1 iput-boolean v0, p0, Ld0/i;->i:Z iget-object v0, p0, Ld0/i;->g:La0/e; iget-object v1, p0, Ld0/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}, Ld0/i;->a()La0/e; move-result-object v2 iput-object v2, p0, Ld0/i;->g:La0/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, Ld0/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}, Ld0/d;->a(Ld0/b;Ljava/lang/Throwable;)V return-void :cond_1 iget-boolean v1, p0, Ld0/i;->f:Z if-eqz v1, :cond_2 move-object v1, v0 check-cast v1, La0/x; invoke-virtual {v1}, La0/x;->a()V :cond_2 new-instance v1, Ld0/i$a; invoke-direct {v1, p0, p1}, Ld0/i$a;->(Ld0/i;Ld0/d;)V check-cast v0, La0/x; invoke-virtual {v0, v1}, La0/x;->a(La0/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, Ld0/i;->f:Z monitor-enter p0 :try_start_0 iget-object v0, p0, Ld0/i;->g:La0/e; monitor-exit p0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 if-eqz v0, :cond_0 check-cast v0, La0/x; invoke-virtual {v0}, La0/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()Ld0/b; .locals 1 invoke-virtual {p0}, Ld0/i;->clone()Ld0/i; move-result-object v0 return-object v0 .end method .method public clone()Ld0/i; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ld0/i<", "TT;>;" } .end annotation new-instance v0, Ld0/i; iget-object v1, p0, Ld0/i;->d:Ld0/r; iget-object v2, p0, Ld0/i;->e:[Ljava/lang/Object; invoke-direct {v0, v1, v2}, Ld0/i;->(Ld0/r;[Ljava/lang/Object;)V return-object 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}, Ld0/i;->clone()Ld0/i; move-result-object v0 return-object v0 .end method .method public execute()Ld0/o; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ld0/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, Ld0/i;->i:Z if-nez v0, :cond_4 const/4 v0, 0x1 iput-boolean v0, p0, Ld0/i;->i:Z iget-object v0, p0, Ld0/i;->h:Ljava/lang/Throwable; if-eqz v0, :cond_1 iget-object v0, p0, Ld0/i;->h:Ljava/lang/Throwable; instance-of v0, v0, Ljava/io/IOException; if-eqz v0, :cond_0 iget-object v0, p0, Ld0/i;->h:Ljava/lang/Throwable; check-cast v0, Ljava/io/IOException; throw v0 :cond_0 iget-object v0, p0, Ld0/i;->h:Ljava/lang/Throwable; check-cast v0, Ljava/lang/RuntimeException; throw v0 :cond_1 iget-object v0, p0, Ld0/i;->g:La0/e; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 if-nez v0, :cond_2 :try_start_1 invoke-virtual {p0}, Ld0/i;->a()La0/e; move-result-object v0 iput-object v0, p0, Ld0/i;->g:La0/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, Ld0/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, Ld0/i;->f:Z if-eqz v1, :cond_3 move-object v1, v0 check-cast v1, La0/x; invoke-virtual {v1}, La0/x;->a()V :cond_3 check-cast v0, La0/x; invoke-virtual {v0}, La0/x;->b()Lokhttp3/Response; move-result-object v0 invoke-virtual {p0, v0}, Ld0/i;->a(Lokhttp3/Response;)Ld0/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 u()Z .locals 2 iget-boolean v0, p0, Ld0/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, Ld0/i;->g:La0/e; if-eqz v0, :cond_2 iget-object v0, p0, Ld0/i;->g:La0/e; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 check-cast v0, La0/x; :try_start_1 iget-object v0, v0, La0/x;->d:La0/c0/c/n; if-eqz v0, :cond_1 invoke-virtual {v0}, La0/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}, Lw/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