Android.Net.Http.HttpResponseCache.Put Method
Allows the protocol handler to cache data after retrieving resources.

Syntax

[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)

Parameters

uri
the reference to the requested resource.
urlConnection
the connection to fetch the response.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Allows the protocol handler to cache data after retrieving resources. The ResponseCache decides whether the resource data should be cached or not. If so, this method returns a CacheRequest to write the resource data to. Otherwise, this method returns null.

[Android Documentation]

Requirements

Namespace: Android.Net.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 13