Android.Net.Http.HttpResponseCache Members

The members of Android.Net.Http.HttpResponseCache are listed below.

See Also: Inherited members from Java.Net.ResponseCache

Public Properties

[read-only]
HitCountint. Returns the number of HTTP requests whose response was provided by the cache.
[read-only]
static
InstalledHttpResponseCache. Returns the currently-installed HttpResponseCache, or null if there is no cache installed or it is not a HttpResponseCache.
[read-only]
NetworkCountint. Returns the number of HTTP requests that required the network to either supply a response or validate a locally cached response.
[read-only]
RequestCountint. Returns the total number of HTTP requests that were made.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Close()
Uninstalls the cache and releases any active resources.
Delete()
Uninstalls the cache and deletes all of its stored contents.
Flush()
Force buffered operations to the filesystem.
override
Get(Java.Net.URI, string, IDictionary<string, IList<string>>) : Java.Net.CacheResponse
Documentation for this section has not yet been entered.
static
Install(Java.IO.File, long) : HttpResponseCache
Creates a new HTTP response cache and Java.Net.ResponseCache.Default as the system default cache.
MaxSize() : long
Returns the maximum number of bytes that this cache should use to store its data.
override
Put(Java.Net.URI, Java.Net.URLConnection) : Java.Net.CacheRequest
Allows the protocol handler to cache data after retrieving resources.
Size() : long
Returns the number of bytes currently being used to store the values in this cache.