今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

168 lines
3.9 KiB

.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 = {
"<T:",
"Ljava/lang/Object;",
">",
"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 <init>(Lcom/android/volley/VolleyError;)V
.locals 2
.prologue
const/4 v1, 0x0
.line 80
invoke-direct {p0}, Ljava/lang/Object;-><init>()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 <init>(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;-><init>()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 = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/android/volley/VolleyError;",
")",
"Lcom/android/volley/Response",
"<TT;>;"
}
.end annotation
.prologue
.line 51
new-instance v0, Lcom/android/volley/Response;
invoke-direct {v0, p0}, Lcom/android/volley/Response;-><init>(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 = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Lcom/android/volley/Cache$Entry;",
")",
"Lcom/android/volley/Response",
"<TT;>;"
}
.end annotation
.prologue
.line 43
new-instance v0, Lcom/android/volley/Response;
invoke-direct {v0, p0, p1}, Lcom/android/volley/Response;-><init>(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