HttpResponseCache.Put(URI, URLConnection) Method

Definition

Allows the protocol handler to cache data after retrieving resources.

[Android.Runtime.Register("put", "(Ljava/net/URI;Ljava/net/URLConnection;)Ljava/net/CacheRequest;", "")]
public override Java.Net.CacheRequest? Put (Java.Net.URI? uri, Java.Net.URLConnection? urlConnection);
[<Android.Runtime.Register("put", "(Ljava/net/URI;Ljava/net/URLConnection;)Ljava/net/CacheRequest;", "")>]
override this.Put : Java.Net.URI * Java.Net.URLConnection -> Java.Net.CacheRequest

Parameters

uri
URI

the reference to the requested resource.

urlConnection
URLConnection

the connection to fetch the response.

Returns

Attributes

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to