| java.lang.Object | |
| ↳ | android.webkit.CacheManager |
This class was deprecated
in API level 11.
Access to the HTTP cache will be removed in a future release.
Manages the HTTP cache used by an application's WebView instances.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CacheManager.CacheResult | This class was deprecated in API level 11. Access to the HTTP cache will be removed in a future release. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method was deprecated
in API level 11.
Access to the HTTP cache will be removed in a future release.
| |||||||||||
This method was deprecated
in API level 8.
This method no longer has any effect and always returns false.
| |||||||||||
This method was deprecated
in API level 11.
Access to the HTTP cache will be removed in a future release.
| |||||||||||
This method was deprecated
in API level 11.
Access to the HTTP cache will be removed in a future release.
| |||||||||||
This method was deprecated
in API level 11.
Access to the HTTP cache will be removed in a future release.
| |||||||||||
This method was deprecated
in API level 8.
This method no longer has any effect and always returns false.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
This method was deprecated
in API level 11.
Access to the HTTP cache will be removed in a future release.
Gets whether the HTTP cache is disabled.
This method was deprecated
in API level 8.
This method no longer has any effect and always returns false.
Ends the innermost cache transaction and returns whether this was the only running transaction.
This method was deprecated
in API level 11.
Access to the HTTP cache will be removed in a future release.
Gets the cache entry for the specified URL, or null if none is found. If a non-null value is provided for the HTTP headers map, and the cache entry needs validation, appropriate headers will be added to the map. The input stream of the CacheEntry object should be closed by the caller when access to the underlying file is no longer required.
| url | the URL for which a cache entry is requested |
|---|---|
| headers | a map from HTTP header name to value, to be populated for the returned cache entry |
This method was deprecated
in API level 11.
Access to the HTTP cache will be removed in a future release.
Gets the base directory in which the files used to store the contents of
cache entries are placed. See
CacheManager.CacheResult.getLocalPath().
This method was deprecated
in API level 11.
Access to the HTTP cache will be removed in a future release.
Adds a cache entry to the HTTP cache for the specicifed URL. Also closes the cache entry's output stream.
| url | the URL for which the cache entry should be added |
|---|---|
| cacheResult | the cache entry to add |
This method was deprecated
in API level 8.
This method no longer has any effect and always returns false.
Starts a cache transaction. Returns true if this is the only running transaction. Otherwise, this transaction is nested inside currently running transactions and false is returned.