public interface InternalCache
| Modifier and Type | Method and Description |
|---|---|
Response |
get(Request request) |
CacheRequest |
put(Response response) |
void |
remove(Request request) |
void |
trackConditionalCacheHit() |
void |
trackResponse(CacheStrategy cacheStrategy) |
void |
update(Response cached,
Response network) |
Response get(Request request) throws IOException
IOExceptionCacheRequest put(Response response) throws IOException
IOExceptionvoid remove(Request request) throws IOException
IOExceptionvoid trackConditionalCacheHit()
void trackResponse(CacheStrategy cacheStrategy)
Copyright © 2019. All rights reserved.