| Package | Description |
|---|---|
| com.android.volley | |
| com.android.volley.toolbox |
| Modifier and Type | Field and Description |
|---|---|
Cache.Entry |
Response.cacheEntry
Cache metadata for this response, or null in the case of error.
|
| Modifier and Type | Method and Description |
|---|---|
Cache.Entry |
Cache.get(String key)
Retrieves an entry from the cache.
|
Cache.Entry |
Request.getCacheEntry()
Returns the annotated cache entry, or null if there isn't one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Cache.put(String key,
Cache.Entry entry)
Adds or replaces an entry to the cache.
|
Request<?> |
Request.setCacheEntry(Cache.Entry entry)
Annotates this request with an entry retrieved for it from cache.
|
static <T> Response<T> |
Response.success(T result,
Cache.Entry cacheEntry)
Returns a successful response containing the parsed result.
|
| Modifier and Type | Method and Description |
|---|---|
Cache.Entry |
NoCache.get(String key) |
Cache.Entry |
DiskBasedCache.get(String key)
Returns the cache entry with the specified key if it exists, null otherwise.
|
static Cache.Entry |
HttpHeaderParser.parseCacheHeaders(NetworkResponse response)
Extracts a
Cache.Entry from a NetworkResponse. |
| Modifier and Type | Method and Description |
|---|---|
void |
NoCache.put(String key,
Cache.Entry entry) |
void |
DiskBasedCache.put(String key,
Cache.Entry entry)
Puts the entry with the specified key into the cache.
|
Copyright © 2014. All rights reserved.