CookieHandler.Put(URI, IDictionary<String,IList<String>>) Method

Definition

Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.

[Android.Runtime.Register("put", "(Ljava/net/URI;Ljava/util/Map;)V", "GetPut_Ljava_net_URI_Ljava_util_Map_Handler")]
public abstract void Put (Java.Net.URI? uri, System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>>? responseHeaders);
[<Android.Runtime.Register("put", "(Ljava/net/URI;Ljava/util/Map;)V", "GetPut_Ljava_net_URI_Ljava_util_Map_Handler")>]
abstract member Put : Java.Net.URI * System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<string>> -> unit

Parameters

uri
URI

a URI where the cookies come from

responseHeaders
IDictionary<String,IList<String>>

an immutable map from field names to lists of field values representing the response header fields returned

Attributes

Remarks

Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.

Java documentation for java.net.CookieHandler.put(java.net.URI, java.util.Map<java.lang.String, java.util.List<java.lang.String>>).

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