| Package | Description |
|---|---|
| com.android.volley | |
| com.android.volley.toolbox |
| Modifier and Type | Method and Description |
|---|---|
Response.ErrorListener |
Request.getErrorListener() |
| Constructor and Description |
|---|
Request(int method,
String url,
Response.ErrorListener listener)
Creates a new request with the given method (one of the values from
Request.Method),
URL, and error listener. |
Request(String url,
Response.ErrorListener listener)
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ImageLoader.ImageListener
Interface for the response handlers on image requests.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RequestFuture<T>
A Future that represents a Volley request.
|
| Constructor and Description |
|---|
ImageRequest(String url,
Response.Listener<android.graphics.Bitmap> listener,
int maxWidth,
int maxHeight,
android.graphics.Bitmap.Config decodeConfig,
Response.ErrorListener errorListener)
Creates a new image request, decoding to a maximum specified width and
height.
|
ImageRequest(String url,
Response.Listener<android.graphics.Bitmap> listener,
int maxWidth,
int maxHeight,
android.widget.ImageView.ScaleType scaleType,
android.graphics.Bitmap.Config decodeConfig,
ImageRequest.Transformation transformation,
Response.ErrorListener errorListener)
Creates a new image request, decoding to a maximum specified width and
height.
|
ImageRequest(String url,
Response.Listener<android.graphics.Bitmap> listener,
int maxWidth,
int maxHeight,
android.widget.ImageView.ScaleType scaleType,
android.graphics.Bitmap.Config decodeConfig,
Response.ErrorListener errorListener)
Creates a new image request, decoding to a maximum specified width and
height.
|
JsonArrayRequest(int method,
String url,
org.json.JSONArray jsonRequest,
Response.Listener<org.json.JSONArray> listener,
Response.ErrorListener errorListener)
Creates a new request.
|
JsonArrayRequest(String url,
Response.Listener<org.json.JSONArray> listener,
Response.ErrorListener errorListener)
Creates a new request.
|
JsonObjectRequest(int method,
String url,
org.json.JSONObject jsonRequest,
Response.Listener<org.json.JSONObject> listener,
Response.ErrorListener errorListener)
Creates a new request.
|
JsonObjectRequest(String url,
org.json.JSONObject jsonRequest,
Response.Listener<org.json.JSONObject> listener,
Response.ErrorListener errorListener)
Constructor which defaults to
GET if jsonRequest is
null, POST otherwise. |
JsonRequest(int method,
String url,
String requestBody,
Response.Listener<T> listener,
Response.ErrorListener errorListener) |
JsonRequest(String url,
String requestBody,
Response.Listener<T> listener,
Response.ErrorListener errorListener)
Deprecated.
Use
#JsonRequest(int, String, String, Listener, ErrorListener). |
StringRequest(int method,
String url,
Response.Listener<String> listener,
Response.ErrorListener errorListener)
Creates a new request with the given method.
|
StringRequest(String url,
Response.Listener<String> listener,
Response.ErrorListener errorListener)
Creates a new GET request.
|
Copyright © 2015. All rights reserved.