java.lang.Object | |
↳ | android.webkit.CacheManager.CacheResult |
This class is deprecated.
Access to the HTTP cache will be removed in a future release.
Represents a resource stored in the HTTP cache. Instances of this class
can be obtained by calling
CacheManager.getCacheFile(String, Map
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the value of the HTTP 'Content-Disposition' header with which
this cache entry was received.
| |||||||||||
Gets the content length of this cache entry.
| |||||||||||
Gets the entity tag of this cache entry.
| |||||||||||
Gets the encoding of this cache entry.
| |||||||||||
Gets the expiry date of this cache entry, expressed in milliseconds
since midnight, January 1, 1970 UTC.
| |||||||||||
Gets the expiry date of this cache entry, expressed as a string.
| |||||||||||
Gets the status code of this cache entry.
| |||||||||||
Gets the input stream to the content of this cache entry, to allow
content to be read.
| |||||||||||
Gets the date at which this cache entry was last modified, expressed
as a string.
| |||||||||||
Gets the path of the file used to store the content of this cache
entry, relative to the base directory of the cache.
| |||||||||||
Gets the value of the HTTP 'Location' header with which this cache
entry was received.
| |||||||||||
Gets the MIME type of this cache entry.
| |||||||||||
Gets an output stream to the content of this cache entry, to allow
content to be written.
| |||||||||||
Sets the encoding of this cache entry.
| |||||||||||
Sets an input stream to the content of this cache entry.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets the value of the HTTP 'Content-Disposition' header with which this cache entry was received.
Gets the content length of this cache entry.
Gets the entity tag of this cache entry.
Gets the encoding of this cache entry.
Gets the expiry date of this cache entry, expressed in milliseconds since midnight, January 1, 1970 UTC.
Gets the expiry date of this cache entry, expressed as a string.
Gets the status code of this cache entry.
Gets the input stream to the content of this cache entry, to allow
content to be read. See
CacheManager.getCacheFile(String, Map
.
Gets the date at which this cache entry was last modified, expressed as a string.
Gets the path of the file used to store the content of this cache
entry, relative to the base directory of the cache. See
CacheManager.getCacheFileBaseDir()
.
Gets the value of the HTTP 'Location' header with which this cache entry was received.
Gets the MIME type of this cache entry.
Gets an output stream to the content of this cache entry, to allow
content to be written. See
CacheManager.saveCacheFile(String, CacheResult)
.
Sets the encoding of this cache entry.
encoding | the encoding of this cache entry |
---|
Sets an input stream to the content of this cache entry.
stream | an input stream to the content of this cache entry |
---|