|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.android.volley.Response<T>
T
- Parsed type of this responsepublic class Response<T>
Encapsulates a parsed response for delivery.
入れ子のクラスの概要 | |
---|---|
static interface |
Response.ErrorListener
Callback interface for delivering error responses. |
static interface |
Response.Listener<T>
Callback interface for delivering parsed responses. |
フィールドの概要 | |
---|---|
Cache.Entry |
cacheEntry
Cache metadata for this response, or null in the case of error. |
VolleyError |
error
Detailed error information if errorCode ! |
boolean |
intermediate
True if this response was a soft-expired one and a second one MAY be coming. |
T |
result
Parsed response, or null in the case of error. |
メソッドの概要 | ||
---|---|---|
static
|
error(VolleyError error)
Returns a failed response containing the given error code and an optional localized message displayed to the user. |
|
boolean |
isSuccess()
Returns whether this response is considered successful. |
|
static
|
success(T result,
Cache.Entry cacheEntry)
Returns a successful response containing the parsed result. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public final T result
public final Cache.Entry cacheEntry
public final VolleyError error
errorCode != OK
.
public boolean intermediate
メソッドの詳細 |
---|
public static <T> Response<T> success(T result, Cache.Entry cacheEntry)
public static <T> Response<T> error(VolleyError error)
public boolean isSuccess()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |