.class public Lcom/android/volley/Response; .super Ljava/lang/Object; .source "Response.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/android/volley/Response$ErrorListener;, Lcom/android/volley/Response$Listener; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;" } .end annotation # instance fields .field public final cacheEntry:Lcom/android/volley/Cache$Entry; .field public final error:Lcom/android/volley/VolleyError; .field public intermediate:Z .field public final result:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TT;" } .end annotation .end field # direct methods .method private constructor (Lcom/android/volley/VolleyError;)V .locals 2 .prologue const/4 v1, 0x0 .line 80 invoke-direct {p0}, Ljava/lang/Object;->()V .line 64 const/4 v0, 0x0 iput-boolean v0, p0, Lcom/android/volley/Response;->intermediate:Z .line 81 iput-object v1, p0, Lcom/android/volley/Response;->result:Ljava/lang/Object; .line 82 iput-object v1, p0, Lcom/android/volley/Response;->cacheEntry:Lcom/android/volley/Cache$Entry; .line 83 iput-object p1, p0, Lcom/android/volley/Response;->error:Lcom/android/volley/VolleyError; .line 84 return-void .end method .method private constructor (Ljava/lang/Object;Lcom/android/volley/Cache$Entry;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TT;", "Lcom/android/volley/Cache$Entry;", ")V" } .end annotation .prologue .line 74 invoke-direct {p0}, Ljava/lang/Object;->()V .line 64 const/4 v0, 0x0 iput-boolean v0, p0, Lcom/android/volley/Response;->intermediate:Z .line 75 iput-object p1, p0, Lcom/android/volley/Response;->result:Ljava/lang/Object; .line 76 iput-object p2, p0, Lcom/android/volley/Response;->cacheEntry:Lcom/android/volley/Cache$Entry; .line 77 const/4 v0, 0x0 iput-object v0, p0, Lcom/android/volley/Response;->error:Lcom/android/volley/VolleyError; .line 78 return-void .end method .method public static error(Lcom/android/volley/VolleyError;)Lcom/android/volley/Response; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/android/volley/VolleyError;", ")", "Lcom/android/volley/Response", ";" } .end annotation .prologue .line 51 new-instance v0, Lcom/android/volley/Response; invoke-direct {v0, p0}, Lcom/android/volley/Response;->(Lcom/android/volley/VolleyError;)V return-object v0 .end method .method public static success(Ljava/lang/Object;Lcom/android/volley/Cache$Entry;)Lcom/android/volley/Response; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TT;", "Lcom/android/volley/Cache$Entry;", ")", "Lcom/android/volley/Response", ";" } .end annotation .prologue .line 43 new-instance v0, Lcom/android/volley/Response; invoke-direct {v0, p0, p1}, Lcom/android/volley/Response;->(Ljava/lang/Object;Lcom/android/volley/Cache$Entry;)V return-object v0 .end method # virtual methods .method public isSuccess()Z .locals 1 .prologue .line 70 iget-object v0, p0, Lcom/android/volley/Response;->error:Lcom/android/volley/VolleyError; if-nez v0, :cond_0 const/4 v0, 0x1 :goto_0 return v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method