|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Request | |
---|---|
com.android.volley | |
com.android.volley.toolbox |
Uses of Request in com.android.volley |
---|
Methods in com.android.volley that return Request | |
---|---|
Request |
RequestQueue.add(Request request)
Adds a Request to the dispatch queue. |
Methods in com.android.volley with parameters of type Request | |
---|---|
Request |
RequestQueue.add(Request request)
Adds a Request to the dispatch queue. |
boolean |
RequestQueue.RequestFilter.apply(Request<?> request)
|
int |
Request.compareTo(Request<T> other)
Our comparator sorts from high to low priority, and secondarily by sequence number to provide FIFO ordering. |
(package private) void |
RequestQueue.finish(Request request)
Called from finish(String) , indicating that processing of the given request
has finished. |
NetworkResponse |
Network.performRequest(Request<?> request)
Performs the specified request. |
void |
ResponseDelivery.postError(Request<?> request,
VolleyError error)
Posts an error for the given request. |
void |
ExecutorDelivery.postError(Request<?> request,
VolleyError error)
|
void |
ResponseDelivery.postResponse(Request<?> request,
Response<?> response)
Parses a response from the network or cache and delivers it. |
void |
ExecutorDelivery.postResponse(Request<?> request,
Response<?> response)
|
void |
ResponseDelivery.postResponse(Request<?> request,
Response<?> response,
Runnable runnable)
Parses a response from the network or cache and delivers it. |
void |
ExecutorDelivery.postResponse(Request<?> request,
Response<?> response,
Runnable runnable)
|
Constructor parameters in com.android.volley with type arguments of type Request | |
---|---|
CacheDispatcher(BlockingQueue<Request> cacheQueue,
BlockingQueue<Request> networkQueue,
Cache cache,
ResponseDelivery delivery)
Creates a new cache triage dispatcher thread. |
|
CacheDispatcher(BlockingQueue<Request> cacheQueue,
BlockingQueue<Request> networkQueue,
Cache cache,
ResponseDelivery delivery)
Creates a new cache triage dispatcher thread. |
|
NetworkDispatcher(BlockingQueue<Request> queue,
Network network,
Cache cache,
ResponseDelivery delivery)
Creates a new network dispatcher thread. |
Uses of Request in com.android.volley.toolbox |
---|
Subclasses of Request in com.android.volley.toolbox | |
---|---|
class |
ClearCacheRequest
A synthetic request used for clearing the cache. |
class |
ImageRequest
A canned request for getting an image at a given URL and calling back with a decoded Bitmap. |
class |
JsonArrayRequest
A request for retrieving a JSONArray response body at a given URL. |
class |
JsonObjectRequest
A request for retrieving a JSONObject response body at a given URL, allowing for an
optional JSONObject to be passed in as part of the request body. |
class |
JsonRequest<T>
A request for retrieving a T type response body at a given URL that also optionally sends along a JSON body in the request specified. |
class |
StringRequest
A canned request for retrieving the response body at a given URL as a String. |
Methods in com.android.volley.toolbox with parameters of type Request | |
---|---|
(package private) static HttpUriRequest |
HttpClientStack.createHttpRequest(Request<?> request,
Map<String,String> additionalHeaders)
Creates the appropriate subclass of HttpUriRequest for passed in request. |
NetworkResponse |
BasicNetwork.performRequest(Request<?> request)
|
HttpResponse |
HurlStack.performRequest(Request<?> request,
Map<String,String> additionalHeaders)
|
HttpResponse |
HttpStack.performRequest(Request<?> request,
Map<String,String> additionalHeaders)
Performs an HTTP request with the given parameters. |
HttpResponse |
HttpClientStack.performRequest(Request<?> request,
Map<String,String> additionalHeaders)
|
(package private) static void |
HurlStack.setConnectionParametersForRequest(HttpURLConnection connection,
Request<?> request)
|
void |
RequestFuture.setRequest(Request<?> request)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |