@Deprecated public final class CacheManager extends Object
WebView
instances.Modifier and Type | Class and Description |
---|---|
static class |
CacheManager.CacheResult
Deprecated.
Access to the HTTP cache will be removed in a future release.
|
Constructor and Description |
---|
CacheManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
cacheDisabled()
Deprecated.
This method no longer has any effect and always returns false.
|
static boolean |
endCacheTransaction()
Deprecated.
This method no longer has any effect and always returns false.
|
static CacheManager.CacheResult |
getCacheFile(String url,
Map<String,String> headers)
Deprecated.
This method no longer has any effect and always returns null.
|
static File |
getCacheFileBaseDir()
Deprecated.
This method no longer has any effect and always returns null.
|
static void |
saveCacheFile(String url,
CacheManager.CacheResult cacheResult)
Deprecated.
Access to the HTTP cache will be removed in a future release.
|
static boolean |
startCacheTransaction()
Deprecated.
This method no longer has any effect and always returns false.
|
@Deprecated public static File getCacheFileBaseDir()
CacheManager.CacheResult.getLocalPath()
.@Deprecated public static boolean cacheDisabled()
@Deprecated public static boolean startCacheTransaction()
@Deprecated public static boolean endCacheTransaction()
@Deprecated public static CacheManager.CacheResult getCacheFile(String url, Map<String,String> headers)
url
- the URL for which a cache entry is requestedheaders
- a map from HTTP header name to value, to be populated
for the returned cache entry@Deprecated public static void saveCacheFile(String url, CacheManager.CacheResult cacheResult)
url
- the URL for which the cache entry should be addedcacheResult
- the cache entry to add