| Package | Description |
|---|---|
| okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
| okhttp3.internal.cache |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
Cache.trackResponse(CacheStrategy cacheStrategy) |
| Modifier and Type | Method and Description |
|---|---|
CacheStrategy |
CacheStrategy.Factory.get()
Returns a strategy to satisfy
request using the a cached response response. |
private CacheStrategy |
CacheStrategy.Factory.getCandidate()
Returns a strategy to use assuming the request can use the network.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InternalCache.trackResponse(CacheStrategy cacheStrategy)
Track an HTTP response being satisfied with
cacheStrategy. |