- Cache - com.android.volley中的接口
-
An interface for a cache keyed by a String with a byte array as data.
- Cache.Entry - com.android.volley中的类
-
Data and metadata for an entry returned by the cache.
- Cache.Entry() - 类 的构造器com.android.volley.Cache.Entry
-
- CacheDispatcher - com.android.volley中的类
-
Provides a thread for performing cache triage on a queue of requests.
- CacheDispatcher(BlockingQueue<Request<?>>, BlockingQueue<Request<?>>, Cache, ResponseDelivery) - 类 的构造器com.android.volley.CacheDispatcher
-
Creates a new cache triage dispatcher thread.
- cacheEntry - 类 中的变量com.android.volley.Response
-
Cache metadata for this response, or null in the case of error.
- cancel() - 类 中的方法com.android.volley.Request
-
Mark this request as canceled.
- cancel(boolean) - 类 中的方法com.android.volley.toolbox.RequestFuture
-
- cancelAll(RequestQueue.RequestFilter) - 类 中的方法com.android.volley.RequestQueue
-
Cancels all requests in this queue for which the given filter applies.
- cancelAll(Object) - 类 中的方法com.android.volley.RequestQueue
-
Cancels all requests in this queue with the given tag.
- cancelRequest() - 类 中的方法com.android.volley.toolbox.ImageLoader.ImageContainer
-
Releases interest in the in-flight request (and cancels it if no one else is listening).
- clear() - 接口 中的方法com.android.volley.Cache
-
Empties the cache.
- clear() - 类 中的方法com.android.volley.toolbox.DiskBasedCache
-
Clears the cache.
- clear() - 类 中的方法com.android.volley.toolbox.NoCache
-
- ClearCacheRequest - com.android.volley.toolbox中的类
-
A synthetic request used for clearing the cache.
- ClearCacheRequest(Cache, Runnable) - 类 的构造器com.android.volley.toolbox.ClearCacheRequest
-
Creates a synthetic request for clearing the cache.
- close() - 类 中的方法com.android.volley.toolbox.PoolingByteArrayOutputStream
-
- com.android.volley - 程序包 com.android.volley
-
- com.android.volley.toolbox - 程序包 com.android.volley.toolbox
-
- compareTo(Request<T>) - 类 中的方法com.android.volley.Request
-
Our comparator sorts from high to low priority, and secondarily by
sequence number to provide FIFO ordering.
- createConnection(URL) - 类 中的方法com.android.volley.toolbox.HurlStack
-
Create an HttpURLConnection
for the specified url
.
- get(String) - 接口 中的方法com.android.volley.Cache
-
Retrieves an entry from the cache.
- GET - 接口 中的静态变量com.android.volley.Request.Method
-
- get(String) - 类 中的方法com.android.volley.toolbox.DiskBasedCache
-
Returns the cache entry with the specified key if it exists, null otherwise.
- get(String, ImageLoader.ImageListener) - 类 中的方法com.android.volley.toolbox.ImageLoader
-
Returns an ImageContainer for the requested URL.
- get(String, ImageLoader.ImageListener, int, int) - 类 中的方法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) - 类 中的方法com.android.volley.toolbox.NoCache
-
- get() - 类 中的方法com.android.volley.toolbox.RequestFuture
-
- get(long, TimeUnit) - 类 中的方法com.android.volley.toolbox.RequestFuture
-
- getAccount() - 类 中的方法com.android.volley.toolbox.AndroidAuthenticator
-
Returns the Account being used by this authenticator.
- getAuthToken() - 类 中的方法com.android.volley.toolbox.AndroidAuthenticator
-
- getAuthToken() - 接口 中的方法com.android.volley.toolbox.Authenticator
-
Synchronously retrieves an auth token.
- getBitmap(String) - 接口 中的方法com.android.volley.toolbox.ImageLoader.ImageCache
-
- getBitmap() - 类 中的方法com.android.volley.toolbox.ImageLoader.ImageContainer
-
Returns the bitmap associated with the request URL if it has been loaded, null otherwise.
- getBody() - 类 中的方法com.android.volley.Request
-
Returns the raw POST or PUT body to be sent.
- getBody() - 类 中的方法com.android.volley.toolbox.JsonRequest
-
- getBodyContentType() - 类 中的方法com.android.volley.Request
-
- getBodyContentType() - 类 中的方法com.android.volley.toolbox.JsonRequest
-
- getBuf(int) - 类 中的方法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() - 类 中的方法com.android.volley.RequestQueue
-
Gets the
Cache
instance being used.
- getCacheEntry() - 类 中的方法com.android.volley.Request
-
Returns the annotated cache entry, or null if there isn't one.
- getCacheKey() - 类 中的方法com.android.volley.Request
-
Returns the cache key for this request.
- getCurrentRetryCount() - 类 中的方法com.android.volley.DefaultRetryPolicy
-
Returns the current retry count.
- getCurrentRetryCount() - 接口 中的方法com.android.volley.RetryPolicy
-
Returns the current retry count (used for logging).
- getCurrentTimeout() - 类 中的方法com.android.volley.DefaultRetryPolicy
-
Returns the current timeout.
- getCurrentTimeout() - 接口 中的方法com.android.volley.RetryPolicy
-
Returns the current timeout (used for logging).
- getFileForKey(String) - 类 中的方法com.android.volley.toolbox.DiskBasedCache
-
Returns a file object for the given cache key.
- getHeaders() - 类 中的方法com.android.volley.Request
-
Returns a list of extra HTTP headers to go along with this request.
- getImageListener(ImageView, int, int) - 类 中的静态方法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() - 异常错误 中的方法com.android.volley.AuthFailureError
-
- getMethod() - 类 中的方法com.android.volley.Request
-
Return the method for this request.
- getMethod() - 类 中的方法com.android.volley.toolbox.HttpClientStack.HttpPatch
-
- getOriginUrl() - 类 中的方法com.android.volley.Request
-
Returns the URL of the request before any redirects have occurred.
- getParams() - 类 中的方法com.android.volley.Request
-
Returns a Map of parameters to be used for a POST or PUT request.
- getParamsEncoding() - 类 中的方法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() - 类 中的方法com.android.volley.Request
-
- getPostBody() - 类 中的方法com.android.volley.toolbox.JsonRequest
-
- getPostBodyContentType() - 类 中的方法com.android.volley.Request
-
- getPostBodyContentType() - 类 中的方法com.android.volley.toolbox.JsonRequest
-
- getPostParams() - 类 中的方法com.android.volley.Request
-
- getPostParamsEncoding() - 类 中的方法com.android.volley.Request
-
- getPriority() - 类 中的方法com.android.volley.Request
-
- getPriority() - 类 中的方法com.android.volley.toolbox.ClearCacheRequest
-
- getPriority() - 类 中的方法com.android.volley.toolbox.ImageRequest
-
- getRequestUrl() - 类 中的方法com.android.volley.toolbox.ImageLoader.ImageContainer
-
Returns the requested URL for this container.
- getResolutionIntent() - 异常错误 中的方法com.android.volley.AuthFailureError
-
- getRetryPolicy() - 类 中的方法com.android.volley.Request
-
Returns the retry policy that should be used for this request.
- getSequence() - 类 中的方法com.android.volley.Request
-
Returns the sequence number of this request.
- getSequenceNumber() - 类 中的方法com.android.volley.RequestQueue
-
Gets a sequence number.
- getTag() - 类 中的方法com.android.volley.Request
-
Returns this request's tag.
- getTimeoutMs() - 类 中的方法com.android.volley.Request
-
Returns the socket timeout in milliseconds per retry attempt.
- getTrafficStatsTag() - 类 中的方法com.android.volley.Request
-
- getUrl() - 类 中的方法com.android.volley.Request
-
Returns the URL of this request.
- ImageLoader - com.android.volley.toolbox中的类
-
Helper that handles loading and caching images from remote URLs.
- ImageLoader(RequestQueue, ImageLoader.ImageCache) - 类 的构造器com.android.volley.toolbox.ImageLoader
-
Constructs a new ImageLoader.
- ImageLoader.ImageCache - com.android.volley.toolbox中的接口
-
Simple cache adapter interface.
- ImageLoader.ImageContainer - com.android.volley.toolbox中的类
-
Container object for all of the data surrounding an image request.
- ImageLoader.ImageContainer(Bitmap, String, String, ImageLoader.ImageListener) - 类 的构造器com.android.volley.toolbox.ImageLoader.ImageContainer
-
Constructs a BitmapContainer object.
- ImageLoader.ImageListener - com.android.volley.toolbox中的接口
-
Interface for the response handlers on image requests.
- ImageRequest - 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, Bitmap.Config, Response.ErrorListener) - 类 的构造器com.android.volley.toolbox.ImageRequest
-
Creates a new image request, decoding to a maximum specified width and
height.
- initialize() - 接口 中的方法com.android.volley.Cache
-
Performs any potentially long-running actions needed to initialize the cache;
will be called from a worker thread.
- initialize() - 类 中的方法com.android.volley.toolbox.DiskBasedCache
-
Initializes the DiskBasedCache by scanning for all files currently in the
specified root directory.
- initialize() - 类 中的方法com.android.volley.toolbox.NoCache
-
- intermediate - 类 中的变量com.android.volley.Response
-
True if this response was a soft-expired one and a second one MAY be coming.
- invalidate(String, boolean) - 接口 中的方法com.android.volley.Cache
-
Invalidates an entry in the cache.
- invalidate(String, boolean) - 类 中的方法com.android.volley.toolbox.DiskBasedCache
-
Invalidates an entry in the cache.
- invalidate(String, boolean) - 类 中的方法com.android.volley.toolbox.NoCache
-
- invalidateAuthToken(String) - 类 中的方法com.android.volley.toolbox.AndroidAuthenticator
-
- invalidateAuthToken(String) - 接口 中的方法com.android.volley.toolbox.Authenticator
-
Invalidates the provided auth token.
- isCached(String, int, int) - 类 中的方法com.android.volley.toolbox.ImageLoader
-
Checks if the item is available in the cache.
- isCanceled() - 类 中的方法com.android.volley.Request
-
Returns true if this request has been canceled.
- isCanceled() - 类 中的方法com.android.volley.toolbox.ClearCacheRequest
-
- isCancelled() - 类 中的方法com.android.volley.toolbox.RequestFuture
-
- isDone() - 类 中的方法com.android.volley.toolbox.RequestFuture
-
- isExpired() - 类 中的方法com.android.volley.Cache.Entry
-
True if the entry is expired.
- isSuccess() - 类 中的方法com.android.volley.Response
-
Returns whether this response is considered successful.
- parseCacheHeaders(NetworkResponse) - 类 中的静态方法com.android.volley.toolbox.HttpHeaderParser
-
- parseCharset(Map<String, String>) - 类 中的静态方法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) - 类 中的静态方法com.android.volley.toolbox.HttpHeaderParser
-
Parse date in RFC1123 format, and return its value as epoch
- ParseError - com.android.volley中的异常错误
-
Indicates that the server's response could not be parsed.
- ParseError() - 异常错误 的构造器com.android.volley.ParseError
-
- ParseError(NetworkResponse) - 异常错误 的构造器com.android.volley.ParseError
-
- ParseError(Throwable) - 异常错误 的构造器com.android.volley.ParseError
-
- parseNetworkError(VolleyError) - 类 中的方法com.android.volley.Request
-
Subclasses can override this method to parse 'networkError' and return a more specific error.
- parseNetworkResponse(NetworkResponse) - 类 中的方法com.android.volley.Request
-
Subclasses must implement this to parse the raw network response
and return an appropriate response type.
- parseNetworkResponse(NetworkResponse) - 类 中的方法com.android.volley.toolbox.ClearCacheRequest
-
- parseNetworkResponse(NetworkResponse) - 类 中的方法com.android.volley.toolbox.ImageRequest
-
- parseNetworkResponse(NetworkResponse) - 类 中的方法com.android.volley.toolbox.JsonArrayRequest
-
- parseNetworkResponse(NetworkResponse) - 类 中的方法com.android.volley.toolbox.JsonObjectRequest
-
- parseNetworkResponse(NetworkResponse) - 类 中的方法com.android.volley.toolbox.JsonRequest
-
- parseNetworkResponse(NetworkResponse) - 类 中的方法com.android.volley.toolbox.StringRequest
-
- PATCH - 接口 中的静态变量com.android.volley.Request.Method
-
- performRequest(Request<?>) - 接口 中的方法com.android.volley.Network
-
Performs the specified request.
- performRequest(Request<?>) - 类 中的方法com.android.volley.toolbox.BasicNetwork
-
- performRequest(Request<?>, Map<String, String>) - 类 中的方法com.android.volley.toolbox.HttpClientStack
-
- performRequest(Request<?>, Map<String, String>) - 接口 中的方法com.android.volley.toolbox.HttpStack
-
Performs an HTTP request with the given parameters.
- performRequest(Request<?>, Map<String, String>) - 类 中的方法com.android.volley.toolbox.HurlStack
-
- PoolingByteArrayOutputStream - 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) - 类 的构造器com.android.volley.toolbox.PoolingByteArrayOutputStream
-
Constructs a new PoolingByteArrayOutputStream with a default size.
- PoolingByteArrayOutputStream(ByteArrayPool, int) - 类 的构造器com.android.volley.toolbox.PoolingByteArrayOutputStream
-
Constructs a new ByteArrayOutputStream
with a default size of size
bytes.
- POST - 接口 中的静态变量com.android.volley.Request.Method
-
- postError(Request<?>, VolleyError) - 类 中的方法com.android.volley.ExecutorDelivery
-
- postError(Request<?>, VolleyError) - 接口 中的方法com.android.volley.ResponseDelivery
-
Posts an error for the given request.
- postResponse(Request<?>, Response<?>) - 类 中的方法com.android.volley.ExecutorDelivery
-
- postResponse(Request<?>, Response<?>, Runnable) - 类 中的方法com.android.volley.ExecutorDelivery
-
- postResponse(Request<?>, Response<?>) - 接口 中的方法com.android.volley.ResponseDelivery
-
Parses a response from the network or cache and delivers it.
- postResponse(Request<?>, Response<?>, Runnable) - 接口 中的方法com.android.volley.ResponseDelivery
-
Parses a response from the network or cache and delivers it.
- put(String, Cache.Entry) - 接口 中的方法com.android.volley.Cache
-
Adds or replaces an entry to the cache.
- PUT - 接口 中的静态变量com.android.volley.Request.Method
-
- put(String, Cache.Entry) - 类 中的方法com.android.volley.toolbox.DiskBasedCache
-
Puts the entry with the specified key into the cache.
- put(String, Cache.Entry) - 类 中的方法com.android.volley.toolbox.NoCache
-
- putBitmap(String, Bitmap) - 接口 中的方法com.android.volley.toolbox.ImageLoader.ImageCache
-
- refreshNeeded() - 类 中的方法com.android.volley.Cache.Entry
-
True if a refresh is needed from the original data source.
- remove(String) - 接口 中的方法com.android.volley.Cache
-
Removes an entry from the cache.
- remove(String) - 类 中的方法com.android.volley.toolbox.DiskBasedCache
-
Removes the specified key from the cache if it exists.
- remove(String) - 类 中的方法com.android.volley.toolbox.NoCache
-
- Request<T> - com.android.volley中的类
-
Base class for all network requests.
- Request(String, Response.ErrorListener) - 类 的构造器com.android.volley.Request
-
- Request(int, String, Response.ErrorListener) - 类 的构造器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 - com.android.volley中的接口
-
Supported request methods.
- Request.Priority - com.android.volley中的枚举
-
Priority values.
- RequestFuture<T> - com.android.volley.toolbox中的类
-
A Future that represents a Volley request.
- RequestQueue - com.android.volley中的类
-
A request dispatch queue with a thread pool of dispatchers.
- RequestQueue(Cache, Network, int, ResponseDelivery) - 类 的构造器com.android.volley.RequestQueue
-
Creates the worker pool.
- RequestQueue(Cache, Network, int) - 类 的构造器com.android.volley.RequestQueue
-
Creates the worker pool.
- RequestQueue(Cache, Network) - 类 的构造器com.android.volley.RequestQueue
-
Creates the worker pool.
- RequestQueue.RequestFilter - com.android.volley中的接口
-
- Response<T> - com.android.volley中的类
-
Encapsulates a parsed response for delivery.
- Response.ErrorListener - com.android.volley中的接口
-
Callback interface for delivering error responses.
- Response.Listener<T> - com.android.volley中的接口
-
Callback interface for delivering parsed responses.
- ResponseDelivery - com.android.volley中的接口
-
- responseHeaders - 类 中的变量com.android.volley.Cache.Entry
-
Immutable response headers as received from server; must be non-null.
- result - 类 中的变量com.android.volley.Response
-
Parsed response, or null in the case of error.
- retry(VolleyError) - 类 中的方法com.android.volley.DefaultRetryPolicy
-
Prepares for the next retry by applying a backoff to the timeout.
- retry(VolleyError) - 接口 中的方法com.android.volley.RetryPolicy
-
Prepares for the next retry by applying a backoff to the timeout.
- RetryPolicy - com.android.volley中的接口
-
Retry policy for a request.
- returnBuf(byte[]) - 类 中的方法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) - 接口 中的方法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() - 类 中的方法com.android.volley.CacheDispatcher
-
- run() - 类 中的方法com.android.volley.NetworkDispatcher
-
- serverDate - 类 中的变量com.android.volley.Cache.Entry
-
Date of this response as reported by the server.
- ServerError - com.android.volley中的异常错误
-
Indicates that the error responded with an error response.
- ServerError(NetworkResponse) - 异常错误 的构造器com.android.volley.ServerError
-
- ServerError() - 异常错误 的构造器com.android.volley.ServerError
-
- setBatchedResponseDelay(int) - 类 中的方法com.android.volley.toolbox.ImageLoader
-
Sets the amount of time to wait after the first response arrives before delivering all
responses.
- setCacheEntry(Cache.Entry) - 类 中的方法com.android.volley.Request
-
Annotates this request with an entry retrieved for it from cache.
- setDefaultImageResId(int) - 类 中的方法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) - 类 中的方法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) - 类 中的方法com.android.volley.toolbox.NetworkImageView
-
Sets URL of the image that should be loaded into this view.
- setRedirectUrl(String) - 类 中的方法com.android.volley.Request
-
Sets the redirect url to handle 3xx http responses.
- setRequest(Request<?>) - 类 中的方法com.android.volley.toolbox.RequestFuture
-
- setRequestQueue(RequestQueue) - 类 中的方法com.android.volley.Request
-
Associates this request with the given queue.
- setRetryPolicy(RetryPolicy) - 类 中的方法com.android.volley.Request
-
Sets the retry policy for this request.
- setSequence(int) - 类 中的方法com.android.volley.Request
-
Sets the sequence number of this request.
- setShouldCache(boolean) - 类 中的方法com.android.volley.Request
-
Set whether or not responses to this request should be cached.
- setTag(Object) - 类 中的方法com.android.volley.Request
-
Set a tag on this request.
- setTag(String) - 类 中的静态方法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() - 类 中的方法com.android.volley.Request
-
Returns true if responses to this request should be cached.
- softTtl - 类 中的变量com.android.volley.Cache.Entry
-
Soft TTL for this record.
- start() - 类 中的方法com.android.volley.RequestQueue
-
Starts the dispatchers in this queue.
- statusCode - 类 中的变量com.android.volley.NetworkResponse
-
The HTTP status code.
- stop() - 类 中的方法com.android.volley.RequestQueue
-
Stops the cache and network dispatchers.
- StringRequest - 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) - 类 的构造器com.android.volley.toolbox.StringRequest
-
Creates a new request with the given method.
- StringRequest(String, Response.Listener<String>, Response.ErrorListener) - 类 的构造器com.android.volley.toolbox.StringRequest
-
Creates a new GET request.
- success(T, Cache.Entry) - 类 中的静态方法com.android.volley.Response
-
Returns a successful response containing the parsed result.