Package | Description |
---|---|
okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
okhttp3.internal.cache |
Modifier and Type | Field and Description |
---|---|
(package private) DiskLruCache.Snapshot |
Cache.CacheResponseBody.snapshot |
Modifier and Type | Method and Description |
---|---|
Response |
Cache.Entry.response(DiskLruCache.Snapshot snapshot) |
Constructor and Description |
---|
CacheResponseBody(DiskLruCache.Snapshot snapshot,
java.lang.String contentType,
java.lang.String contentLength) |
Modifier and Type | Method and Description |
---|---|
DiskLruCache.Snapshot |
DiskLruCache.get(java.lang.String key)
Returns a snapshot of the entry named
key , or null if it doesn't exist is not currently
readable. |
(package private) DiskLruCache.Snapshot |
DiskLruCache.Entry.snapshot()
Returns a snapshot of this entry.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<DiskLruCache.Snapshot> |
DiskLruCache.snapshots()
Returns an iterator over the cache's current entries.
|