public final class DefaultRequestCacheKeyProvider extends java.lang.Object implements CacheKeyProvider<okhttp3.Request>
| Constructor and Description |
|---|
DefaultRequestCacheKeyProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyToProxy() |
java.lang.String |
getCachingKey(okhttp3.Request request)
Provides the caching key for the given request.
|
public boolean applyToProxy()
applyToProxy in interface CacheKeyProvider<okhttp3.Request>Proxy Object.public java.lang.String getCachingKey(okhttp3.Request request)
getCachingKey in interface CacheKeyProvider<okhttp3.Request>request - the http request.