| Package | Description |
|---|---|
| com.android.volley | |
| com.android.volley.toolbox |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthFailureError
Error indicating that there was an authentication failure when performing a Request.
|
class |
NetworkError
Indicates that there was a network error when performing a Volley request.
|
class |
NoConnectionError
Error indicating that no connection could be established when performing a Volley request.
|
class |
ParseError
Indicates that the server's response could not be parsed.
|
class |
ServerError
Indicates that the server responded with an error response.
|
class |
TimeoutError
Indicates that the connection or the socket timed out.
|
| Modifier and Type | Field and Description |
|---|---|
VolleyError |
Response.error
Detailed error information if
errorCode ! |
| Modifier and Type | Method and Description |
|---|---|
protected VolleyError |
Request.parseNetworkError(VolleyError volleyError)
Subclasses can override this method to parse 'networkError' and return a more specific error.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Request.deliverError(VolleyError error)
Delivers error message to the ErrorListener that the Request was
initialized with.
|
static <T> Response<T> |
Response.error(VolleyError error)
Returns a failed response containing the given error code and an optional
localized message displayed to the user.
|
void |
Response.ErrorListener.onErrorResponse(VolleyError error)
Callback method that an error has been occurred with the
provided error code and optional user-readable message.
|
protected VolleyError |
Request.parseNetworkError(VolleyError volleyError)
Subclasses can override this method to parse 'networkError' and return a more specific error.
|
void |
ResponseDelivery.postError(Request<?> request,
VolleyError error)
Posts an error for the given request.
|
void |
ExecutorDelivery.postError(Request<?> request,
VolleyError error) |
void |
RetryPolicy.retry(VolleyError error)
Prepares for the next retry by applying a backoff to the timeout.
|
void |
DefaultRetryPolicy.retry(VolleyError error)
Prepares for the next retry by applying a backoff to the timeout.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkResponse |
Network.performRequest(Request<?> request)
Performs the specified request.
|
void |
RetryPolicy.retry(VolleyError error)
Prepares for the next retry by applying a backoff to the timeout.
|
void |
DefaultRetryPolicy.retry(VolleyError error)
Prepares for the next retry by applying a backoff to the timeout.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RequestFuture.onErrorResponse(VolleyError error) |
protected void |
ImageLoader.onGetImageError(String cacheKey,
VolleyError error)
Handler for when an image failed to load.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkResponse |
BasicNetwork.performRequest(Request<?> request) |
Copyright © 2015. All rights reserved.