- Cache - Interface in com.android.volley
-
An interface for a cache keyed by a String with a byte array as data.
- Cache.Entry - Class in com.android.volley
-
Data and metadata for an entry returned by the cache.
- CacheDispatcher - Class in com.android.volley
-
Provides a thread for performing cache triage on a queue of requests.
- CacheDispatcher(BlockingQueue<Request<?>>, BlockingQueue<Request<?>>, Cache, ResponseDelivery) - Constructor for class com.android.volley.CacheDispatcher
-
Creates a new cache triage dispatcher thread.
- cacheEntry - Variable in class com.android.volley.Response
-
Cache metadata for this response, or null in the case of error.
- cancel() - Method in class com.android.volley.Request
-
Mark this request as canceled.
- cancel() - Method in class com.android.volley.toolbox.ImageRequest
-
- cancel() - Method in class com.android.volley.toolbox.JsonRequest
-
- cancel(boolean) - Method in class com.android.volley.toolbox.RequestFuture
-
- cancel() - Method in class com.android.volley.toolbox.StringRequest
-
- cancelAll(RequestQueue.RequestFilter) - Method in class com.android.volley.RequestQueue
-
Cancels all requests in this queue for which the given filter applies.
- cancelAll(Object) - Method in class com.android.volley.RequestQueue
-
Cancels all requests in this queue with the given tag.
- cancelRequest() - Method in class com.android.volley.toolbox.ImageLoader.ImageContainer
-
Releases interest in the in-flight request (and cancels it if no one else is listening).
- clear() - Method in interface com.android.volley.Cache
-
Empties the cache.
- clear() - Method in class com.android.volley.toolbox.DiskBasedCache
-
Clears the cache.
- clear() - Method in class com.android.volley.toolbox.NoCache
-
- ClearCacheRequest - Class in com.android.volley.toolbox
-
A synthetic request used for clearing the cache.
- ClearCacheRequest(Cache, Runnable) - Constructor for class com.android.volley.toolbox.ClearCacheRequest
-
Creates a synthetic request for clearing the cache.
- ClientError - Exception in com.android.volley
-
Indicates that the server responded with an error response indicating that the client has erred.
- ClientError(NetworkResponse) - Constructor for exception com.android.volley.ClientError
-
- ClientError() - Constructor for exception com.android.volley.ClientError
-
- close() - Method in class com.android.volley.toolbox.PoolingByteArrayOutputStream
-
- com.android.volley - package com.android.volley
-
- com.android.volley.toolbox - package com.android.volley.toolbox
-
- compareTo(Request<T>) - Method in class com.android.volley.Request
-
Our comparator sorts from high to low priority, and secondarily by sequence number to provide
FIFO ordering.
- convertHeaders(Header[]) - Static method in class com.android.volley.toolbox.BasicNetwork
-
- createConnection(URL) - Method in class com.android.volley.toolbox.HurlStack
-
Create an HttpURLConnection
for the specified url
.
- d(String, Object...) - Static method in class com.android.volley.VolleyLog
-
- data - Variable in class com.android.volley.Cache.Entry
-
The data returned from cache.
- data - Variable in class com.android.volley.NetworkResponse
-
Raw data from this response.
- DEBUG - Static variable in class com.android.volley.toolbox.BasicNetwork
-
- DEBUG - Static variable in class com.android.volley.VolleyLog
-
- DEFAULT_BACKOFF_MULT - Static variable in class com.android.volley.DefaultRetryPolicy
-
The default backoff multiplier
- DEFAULT_IMAGE_BACKOFF_MULT - Static variable in class com.android.volley.toolbox.ImageRequest
-
Default backoff multiplier for image requests
- DEFAULT_IMAGE_MAX_RETRIES - Static variable in class com.android.volley.toolbox.ImageRequest
-
Default number of retries for image requests
- DEFAULT_IMAGE_TIMEOUT_MS - Static variable in class com.android.volley.toolbox.ImageRequest
-
Socket timeout in milliseconds for image requests
- DEFAULT_MAX_RETRIES - Static variable in class com.android.volley.DefaultRetryPolicy
-
The default number of retries
- DEFAULT_TIMEOUT_MS - Static variable in class com.android.volley.DefaultRetryPolicy
-
The default socket timeout in milliseconds
- DefaultRetryPolicy - Class in com.android.volley
-
Default retry policy for requests.
- DefaultRetryPolicy() - Constructor for class com.android.volley.DefaultRetryPolicy
-
Constructs a new retry policy using the default timeouts.
- DefaultRetryPolicy(int, int, float) - Constructor for class com.android.volley.DefaultRetryPolicy
-
Constructs a new retry policy.
- DELETE - Static variable in interface com.android.volley.Request.Method
-
- deliverError(VolleyError) - Method in class com.android.volley.Request
-
Delivers error message to the ErrorListener that the Request was initialized with.
- deliverResponse(T) - Method in class com.android.volley.Request
-
Subclasses must implement this to perform delivery of the parsed response to their listeners.
- deliverResponse(Object) - Method in class com.android.volley.toolbox.ClearCacheRequest
-
- deliverResponse(Bitmap) - Method in class com.android.volley.toolbox.ImageRequest
-
- deliverResponse(T) - Method in class com.android.volley.toolbox.JsonRequest
-
- deliverResponse(String) - Method in class com.android.volley.toolbox.StringRequest
-
- DEPRECATED_GET_OR_POST - Static variable in interface com.android.volley.Request.Method
-
- DiskBasedCache - Class in com.android.volley.toolbox
-
Cache implementation that caches files directly onto the hard disk in the specified directory.
- DiskBasedCache(File, int) - Constructor for class com.android.volley.toolbox.DiskBasedCache
-
Constructs an instance of the DiskBasedCache at the specified directory.
- DiskBasedCache(File) - Constructor for class com.android.volley.toolbox.DiskBasedCache
-
Constructs an instance of the DiskBasedCache at the specified directory using the default
maximum cache size of 5MB.
- drawableStateChanged() - Method in class com.android.volley.toolbox.NetworkImageView
-
- get(String) - Method in interface com.android.volley.Cache
-
Retrieves an entry from the cache.
- GET - Static variable in interface com.android.volley.Request.Method
-
- get(String) - Method in class com.android.volley.toolbox.DiskBasedCache
-
Returns the cache entry with the specified key if it exists, null otherwise.
- get(String, ImageLoader.ImageListener) - Method in class com.android.volley.toolbox.ImageLoader
-
Returns an ImageContainer for the requested URL.
- get(String, ImageLoader.ImageListener, int, int) - Method in class com.android.volley.toolbox.ImageLoader
-
Equivalent to calling #get(String, ImageListener, int, int, ScaleType)
with Scaletype == ScaleType.CENTER_INSIDE
.
- get(String, ImageLoader.ImageListener, int, int, ImageView.ScaleType) - Method in class com.android.volley.toolbox.ImageLoader
-
Issues a bitmap request with the given URL if that image is not available in the cache, and
returns a bitmap container that contains all of the data relating to the request (as well as
the default image if the requested image is not available).
- get(String) - Method in class com.android.volley.toolbox.NoCache
-
- get() - Method in class com.android.volley.toolbox.RequestFuture
-
- get(long, TimeUnit) - Method in class com.android.volley.toolbox.RequestFuture
-
- getAccount() - Method in class com.android.volley.toolbox.AndroidAuthenticator
-
Returns the Account being used by this authenticator.
- getAuthToken() - Method in class com.android.volley.toolbox.AndroidAuthenticator
-
- getAuthToken() - Method in interface com.android.volley.toolbox.Authenticator
-
Synchronously retrieves an auth token.
- getAuthTokenType() - Method in class com.android.volley.toolbox.AndroidAuthenticator
-
Returns the Auth Token Type used by this authenticator.
- getBackoffMultiplier() - Method in class com.android.volley.DefaultRetryPolicy
-
Returns the backoff multiplier for the policy.
- getBitmap(String) - Method in interface com.android.volley.toolbox.ImageLoader.ImageCache
-
- getBitmap() - Method in class com.android.volley.toolbox.ImageLoader.ImageContainer
-
Returns the bitmap associated with the request URL if it has been loaded, null otherwise.
- getBody() - Method in class com.android.volley.Request
-
Returns the raw POST or PUT body to be sent.
- getBody() - Method in class com.android.volley.toolbox.JsonRequest
-
- getBodyContentType() - Method in class com.android.volley.Request
-
Returns the content type of the POST or PUT body.
- getBodyContentType() - Method in class com.android.volley.toolbox.JsonRequest
-
- getBuf(int) - Method in class com.android.volley.toolbox.ByteArrayPool
-
Returns a buffer from the pool if one is available in the requested size, or allocates a new
one if a pooled one is not available.
- getCache() - Method in class com.android.volley.RequestQueue
-
Gets the
Cache
instance being used.
- getCacheEntry() - Method in class com.android.volley.Request
-
Returns the annotated cache entry, or null if there isn't one.
- getCacheKey() - Method in class com.android.volley.Request
-
Returns the cache key for this request.
- getContent() - Method in class com.android.volley.toolbox.HttpResponse
-
Returns an InputStream
of the response content.
- getContentLength() - Method in class com.android.volley.toolbox.HttpResponse
-
Returns the length of the content.
- getCurrentRetryCount() - Method in class com.android.volley.DefaultRetryPolicy
-
Returns the current retry count.
- getCurrentRetryCount() - Method in interface com.android.volley.RetryPolicy
-
Returns the current retry count (used for logging).
- getCurrentTimeout() - Method in class com.android.volley.DefaultRetryPolicy
-
Returns the current timeout.
- getCurrentTimeout() - Method in interface com.android.volley.RetryPolicy
-
Returns the current timeout (used for logging).
- getErrorListener() - Method in class com.android.volley.Request
-
- getFileForKey(String) - Method in class com.android.volley.toolbox.DiskBasedCache
-
Returns a file object for the given cache key.
- getHeaders() - Method in class com.android.volley.Request
-
Returns a list of extra HTTP headers to go along with this request.
- getHeaders() - Method in class com.android.volley.toolbox.HttpResponse
-
Returns the response headers.
- getImageListener(ImageView, int, int) - Static method in class com.android.volley.toolbox.ImageLoader
-
The default implementation of ImageListener which handles basic functionality of showing a
default image until the network response is received, at which point it will switch to either
the actual image or the error image.
- getMessage() - Method in exception com.android.volley.AuthFailureError
-
- getMethod() - Method in class com.android.volley.Request
-
Return the method for this request.
- getMethod() - Method in class com.android.volley.toolbox.HttpClientStack.HttpPatch
-
Deprecated.
- getName() - Method in class com.android.volley.Header
-
- getNetworkTimeMs() - Method in exception com.android.volley.VolleyError
-
- getParams() - Method in class com.android.volley.Request
-
Returns a Map of parameters to be used for a POST or PUT request.
- getParamsEncoding() - Method in class com.android.volley.Request
-
Returns which encoding should be used when converting POST or PUT parameters returned by
Request.getParams()
into a raw POST or PUT body.
- getPostBody() - Method in class com.android.volley.Request
-
- getPostBody() - Method in class com.android.volley.toolbox.JsonRequest
-
- getPostBodyContentType() - Method in class com.android.volley.Request
-
- getPostBodyContentType() - Method in class com.android.volley.toolbox.JsonRequest
-
- getPostParams() - Method in class com.android.volley.Request
-
- getPostParamsEncoding() - Method in class com.android.volley.Request
-
- getPriority() - Method in class com.android.volley.Request
-
- getPriority() - Method in class com.android.volley.toolbox.ClearCacheRequest
-
- getPriority() - Method in class com.android.volley.toolbox.ImageRequest
-
- getRequestUrl() - Method in class com.android.volley.toolbox.ImageLoader.ImageContainer
-
Returns the requested URL for this container.
- getResolutionIntent() - Method in exception com.android.volley.AuthFailureError
-
- getRetryPolicy() - Method in class com.android.volley.Request
-
Returns the retry policy that should be used for this request.
- getSequence() - Method in class com.android.volley.Request
-
Returns the sequence number of this request.
- getSequenceNumber() - Method in class com.android.volley.RequestQueue
-
Gets a sequence number.
- getStatusCode() - Method in class com.android.volley.toolbox.HttpResponse
-
Returns the HTTP status code of the response.
- getTag() - Method in class com.android.volley.Request
-
Returns this request's tag.
- getTimeoutMs() - Method in class com.android.volley.Request
-
Returns the socket timeout in milliseconds per retry attempt.
- getTrafficStatsTag() - Method in class com.android.volley.Request
-
- getUrl() - Method in class com.android.volley.Request
-
Returns the URL of this request.
- getValue() - Method in class com.android.volley.Header
-
- ImageContainer(Bitmap, String, String, ImageLoader.ImageListener) - Constructor for class com.android.volley.toolbox.ImageLoader.ImageContainer
-
Constructs a BitmapContainer object.
- ImageLoader - Class in com.android.volley.toolbox
-
Helper that handles loading and caching images from remote URLs.
- ImageLoader(RequestQueue, ImageLoader.ImageCache) - Constructor for class com.android.volley.toolbox.ImageLoader
-
Constructs a new ImageLoader.
- ImageLoader.ImageCache - Interface in com.android.volley.toolbox
-
Simple cache adapter interface.
- ImageLoader.ImageContainer - Class in com.android.volley.toolbox
-
Container object for all of the data surrounding an image request.
- ImageLoader.ImageListener - Interface in com.android.volley.toolbox
-
Interface for the response handlers on image requests.
- ImageRequest - Class in com.android.volley.toolbox
-
A canned request for getting an image at a given URL and calling back with a decoded Bitmap.
- ImageRequest(String, Response.Listener<Bitmap>, int, int, ImageView.ScaleType, Bitmap.Config, Response.ErrorListener) - Constructor for class com.android.volley.toolbox.ImageRequest
-
Creates a new image request, decoding to a maximum specified width and height.
- ImageRequest(String, Response.Listener<Bitmap>, int, int, Bitmap.Config, Response.ErrorListener) - Constructor for class com.android.volley.toolbox.ImageRequest
-
Deprecated.
- initialize() - Method in interface com.android.volley.Cache
-
Performs any potentially long-running actions needed to initialize the cache; will be called
from a worker thread.
- initialize() - Method in class com.android.volley.toolbox.DiskBasedCache
-
Initializes the DiskBasedCache by scanning for all files currently in the specified root
directory.
- initialize() - Method in class com.android.volley.toolbox.NoCache
-
- intermediate - Variable in class com.android.volley.Response
-
True if this response was a soft-expired one and a second one MAY be coming.
- invalidate(String, boolean) - Method in interface com.android.volley.Cache
-
Invalidates an entry in the cache.
- invalidate(String, boolean) - Method in class com.android.volley.toolbox.DiskBasedCache
-
Invalidates an entry in the cache.
- invalidate(String, boolean) - Method in class com.android.volley.toolbox.NoCache
-
- invalidateAuthToken(String) - Method in class com.android.volley.toolbox.AndroidAuthenticator
-
- invalidateAuthToken(String) - Method in interface com.android.volley.toolbox.Authenticator
-
Invalidates the provided auth token.
- isCached(String, int, int) - Method in class com.android.volley.toolbox.ImageLoader
-
Checks if the item is available in the cache.
- isCached(String, int, int, ImageView.ScaleType) - Method in class com.android.volley.toolbox.ImageLoader
-
Checks if the item is available in the cache.
- isCanceled() - Method in class com.android.volley.Request
-
Returns true if this request has been canceled.
- isCanceled() - Method in class com.android.volley.toolbox.ClearCacheRequest
-
- isCancelled() - Method in class com.android.volley.toolbox.RequestFuture
-
- isDone() - Method in class com.android.volley.toolbox.RequestFuture
-
- isExpired() - Method in class com.android.volley.Cache.Entry
-
True if the entry is expired.
- isSuccess() - Method in class com.android.volley.Response
-
Returns whether this response is considered successful.
- parseCacheHeaders(NetworkResponse) - Static method in class com.android.volley.toolbox.HttpHeaderParser
-
- parseCharset(Map<String, String>, String) - Static method in class com.android.volley.toolbox.HttpHeaderParser
-
Retrieve a charset from headers
- parseCharset(Map<String, String>) - Static method in class com.android.volley.toolbox.HttpHeaderParser
-
Returns the charset specified in the Content-Type of this header, or the HTTP default
(ISO-8859-1) if none can be found.
- parseDateAsEpoch(String) - Static method in class com.android.volley.toolbox.HttpHeaderParser
-
Parse date in RFC1123 format, and return its value as epoch
- ParseError - Exception in com.android.volley
-
Indicates that the server's response could not be parsed.
- ParseError() - Constructor for exception com.android.volley.ParseError
-
- ParseError(NetworkResponse) - Constructor for exception com.android.volley.ParseError
-
- ParseError(Throwable) - Constructor for exception com.android.volley.ParseError
-
- parseNetworkError(VolleyError) - Method in class com.android.volley.Request
-
Subclasses can override this method to parse 'networkError' and return a more specific error.
- parseNetworkResponse(NetworkResponse) - Method in class com.android.volley.Request
-
Subclasses must implement this to parse the raw network response and return an appropriate
response type.
- parseNetworkResponse(NetworkResponse) - Method in class com.android.volley.toolbox.ClearCacheRequest
-
- parseNetworkResponse(NetworkResponse) - Method in class com.android.volley.toolbox.ImageRequest
-
- parseNetworkResponse(NetworkResponse) - Method in class com.android.volley.toolbox.JsonArrayRequest
-
- parseNetworkResponse(NetworkResponse) - Method in class com.android.volley.toolbox.JsonObjectRequest
-
- parseNetworkResponse(NetworkResponse) - Method in class com.android.volley.toolbox.JsonRequest
-
- parseNetworkResponse(NetworkResponse) - Method in class com.android.volley.toolbox.StringRequest
-
- PATCH - Static variable in interface com.android.volley.Request.Method
-
- performRequest(Request<?>) - Method in interface com.android.volley.Network
-
Performs the specified request.
- performRequest(Request<?>, Map<String, String>) - Method in class com.android.volley.toolbox.BaseHttpStack
-
- performRequest(Request<?>) - Method in class com.android.volley.toolbox.BasicNetwork
-
- performRequest(Request<?>, Map<String, String>) - Method in class com.android.volley.toolbox.HttpClientStack
-
Deprecated.
- performRequest(Request<?>, Map<String, String>) - Method in interface com.android.volley.toolbox.HttpStack
-
Deprecated.
Performs an HTTP request with the given parameters.
- PoolingByteArrayOutputStream - Class in com.android.volley.toolbox
-
A variation of ByteArrayOutputStream
that uses a pool of byte[] buffers instead
of always allocating them fresh, saving on heap churn.
- PoolingByteArrayOutputStream(ByteArrayPool) - Constructor for class com.android.volley.toolbox.PoolingByteArrayOutputStream
-
Constructs a new PoolingByteArrayOutputStream with a default size.
- PoolingByteArrayOutputStream(ByteArrayPool, int) - Constructor for class com.android.volley.toolbox.PoolingByteArrayOutputStream
-
Constructs a new ByteArrayOutputStream
with a default size of size
bytes.
- POST - Static variable in interface com.android.volley.Request.Method
-
- postError(Request<?>, VolleyError) - Method in class com.android.volley.ExecutorDelivery
-
- postError(Request<?>, VolleyError) - Method in interface com.android.volley.ResponseDelivery
-
Posts an error for the given request.
- postResponse(Request<?>, Response<?>) - Method in class com.android.volley.ExecutorDelivery
-
- postResponse(Request<?>, Response<?>, Runnable) - Method in class com.android.volley.ExecutorDelivery
-
- postResponse(Request<?>, Response<?>) - Method in interface com.android.volley.ResponseDelivery
-
Parses a response from the network or cache and delivers it.
- postResponse(Request<?>, Response<?>, Runnable) - Method in interface com.android.volley.ResponseDelivery
-
Parses a response from the network or cache and delivers it.
- PROTOCOL_CHARSET - Static variable in class com.android.volley.toolbox.JsonRequest
-
Default charset for JSON request.
- put(String, Cache.Entry) - Method in interface com.android.volley.Cache
-
Adds or replaces an entry to the cache.
- PUT - Static variable in interface com.android.volley.Request.Method
-
- put(String, Cache.Entry) - Method in class com.android.volley.toolbox.DiskBasedCache
-
Puts the entry with the specified key into the cache.
- put(String, Cache.Entry) - Method in class com.android.volley.toolbox.NoCache
-
- putBitmap(String, Bitmap) - Method in interface com.android.volley.toolbox.ImageLoader.ImageCache
-
- refreshNeeded() - Method in class com.android.volley.Cache.Entry
-
True if a refresh is needed from the original data source.
- remove(String) - Method in interface com.android.volley.Cache
-
Removes an entry from the cache.
- remove(String) - Method in class com.android.volley.toolbox.DiskBasedCache
-
Removes the specified key from the cache if it exists.
- remove(String) - Method in class com.android.volley.toolbox.NoCache
-
- removeRequestFinishedListener(RequestQueue.RequestFinishedListener<T>) - Method in class com.android.volley.RequestQueue
-
Remove a RequestFinishedListener.
- Request<T> - Class in com.android.volley
-
Base class for all network requests.
- Request(String, Response.ErrorListener) - Constructor for class com.android.volley.Request
-
- Request(int, String, Response.ErrorListener) - Constructor for class com.android.volley.Request
-
Creates a new request with the given method (one of the values from
Request.Method
), URL, and
error listener.
- Request.Method - Interface in com.android.volley
-
Supported request methods.
- Request.Priority - Enum in com.android.volley
-
Priority values.
- RequestFuture<T> - Class in com.android.volley.toolbox
-
A Future that represents a Volley request.
- RequestQueue - Class in com.android.volley
-
A request dispatch queue with a thread pool of dispatchers.
- RequestQueue(Cache, Network, int, ResponseDelivery) - Constructor for class com.android.volley.RequestQueue
-
Creates the worker pool.
- RequestQueue(Cache, Network, int) - Constructor for class com.android.volley.RequestQueue
-
Creates the worker pool.
- RequestQueue(Cache, Network) - Constructor for class com.android.volley.RequestQueue
-
Creates the worker pool.
- RequestQueue.RequestFilter - Interface in com.android.volley
-
- RequestQueue.RequestFinishedListener<T> - Interface in com.android.volley
-
Callback interface for completed requests.
- Response<T> - Class in com.android.volley
-
Encapsulates a parsed response for delivery.
- Response.ErrorListener - Interface in com.android.volley
-
Callback interface for delivering error responses.
- Response.Listener<T> - Interface in com.android.volley
-
Callback interface for delivering parsed responses.
- ResponseDelivery - Interface in com.android.volley
-
- responseHeaders - Variable in class com.android.volley.Cache.Entry
-
Response headers as received from server; must be non-null.
- result - Variable in class com.android.volley.Response
-
Parsed response, or null in the case of error.
- retry(VolleyError) - Method in class com.android.volley.DefaultRetryPolicy
-
Prepares for the next retry by applying a backoff to the timeout.
- retry(VolleyError) - Method in interface com.android.volley.RetryPolicy
-
Prepares for the next retry by applying a backoff to the timeout.
- RetryPolicy - Interface in com.android.volley
-
Retry policy for a request.
- returnBuf(byte[]) - Method in class com.android.volley.toolbox.ByteArrayPool
-
Returns a buffer to the pool, throwing away old buffers if the pool would exceed its allotted
size.
- rewriteUrl(String) - Method in interface com.android.volley.toolbox.HurlStack.UrlRewriter
-
Returns a URL to use instead of the provided one, or null to indicate this URL should not
be used at all.
- run() - Method in class com.android.volley.CacheDispatcher
-
- run() - Method in class com.android.volley.NetworkDispatcher
-
- serverDate - Variable in class com.android.volley.Cache.Entry
-
Date of this response as reported by the server.
- ServerError - Exception in com.android.volley
-
Indicates that the server responded with an error response.
- ServerError(NetworkResponse) - Constructor for exception com.android.volley.ServerError
-
- ServerError() - Constructor for exception com.android.volley.ServerError
-
- setBatchedResponseDelay(int) - Method in class com.android.volley.toolbox.ImageLoader
-
Sets the amount of time to wait after the first response arrives before delivering all
responses.
- setCacheEntry(Cache.Entry) - Method in class com.android.volley.Request
-
Annotates this request with an entry retrieved for it from cache.
- setDefaultImageResId(int) - Method in class com.android.volley.toolbox.NetworkImageView
-
Sets the default image resource ID to be used for this view until the attempt to load it
completes.
- setErrorImageResId(int) - Method in class com.android.volley.toolbox.NetworkImageView
-
Sets the error image resource ID to be used for this view in the event that the image
requested fails to load.
- setImageUrl(String, ImageLoader) - Method in class com.android.volley.toolbox.NetworkImageView
-
Sets URL of the image that should be loaded into this view.
- setRequest(Request<?>) - Method in class com.android.volley.toolbox.RequestFuture
-
- setRequestQueue(RequestQueue) - Method in class com.android.volley.Request
-
Associates this request with the given queue.
- setRetryPolicy(RetryPolicy) - Method in class com.android.volley.Request
-
Sets the retry policy for this request.
- setSequence(int) - Method in class com.android.volley.Request
-
Sets the sequence number of this request.
- setShouldCache(boolean) - Method in class com.android.volley.Request
-
Set whether or not responses to this request should be cached.
- setShouldRetryServerErrors(boolean) - Method in class com.android.volley.Request
-
Sets whether or not the request should be retried in the event of an HTTP 5xx (server) error.
- setTag(Object) - Method in class com.android.volley.Request
-
Set a tag on this request.
- setTag(String) - Static method in class com.android.volley.VolleyLog
-
Customize the log tag for your application, so that other apps using Volley don't mix their
logs with yours.
- shouldCache() - Method in class com.android.volley.Request
-
Returns true if responses to this request should be cached.
- shouldRetryServerErrors() - Method in class com.android.volley.Request
-
Returns true if this request should be retried in the event of an HTTP 5xx (server) error.
- softTtl - Variable in class com.android.volley.Cache.Entry
-
Soft TTL for this record.
- start() - Method in class com.android.volley.RequestQueue
-
Starts the dispatchers in this queue.
- statusCode - Variable in class com.android.volley.NetworkResponse
-
The HTTP status code.
- stop() - Method in class com.android.volley.RequestQueue
-
Stops the cache and network dispatchers.
- StringRequest - Class in com.android.volley.toolbox
-
A canned request for retrieving the response body at a given URL as a String.
- StringRequest(int, String, Response.Listener<String>, Response.ErrorListener) - Constructor for class com.android.volley.toolbox.StringRequest
-
Creates a new request with the given method.
- StringRequest(String, Response.Listener<String>, Response.ErrorListener) - Constructor for class com.android.volley.toolbox.StringRequest
-
Creates a new GET request.
- success(T, Cache.Entry) - Static method in class com.android.volley.Response
-
Returns a successful response containing the parsed result.