|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.volley.Cache.Entry
public static class Cache.Entry
Data and metadata for an entry returned by the cache.
Field Summary | |
---|---|
byte[] |
data
The data returned from cache. |
String |
etag
ETag for cache coherency. |
Map<String,String> |
responseHeaders
Immutable response headers as received from server; must be non-null. |
long |
serverDate
Date of this response as reported by the server. |
long |
softTtl
Soft TTL for this record. |
long |
ttl
TTL for this record. |
Constructor Summary | |
---|---|
Cache.Entry()
|
Method Summary | |
---|---|
boolean |
isExpired()
True if the entry is expired. |
boolean |
refreshNeeded()
True if a refresh is needed from the original data source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public byte[] data
public String etag
public long serverDate
public long ttl
public long softTtl
public Map<String,String> responseHeaders
Constructor Detail |
---|
public Cache.Entry()
Method Detail |
---|
public boolean isExpired()
public boolean refreshNeeded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |