CookieManager.Put(URI, IDictionary<String,IList<String>>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores applicable cookies from the response headers for the specified URI.
[Android.Runtime.Register("put", "(Ljava/net/URI;Ljava/util/Map;)V", "GetPut_Ljava_net_URI_Ljava_util_Map_Handler")]
public override 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")>]
override this.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
This method reads cookie values from response headers named Set-Cookie or Set-Cookie2 and stores applicable cookies in the cookie store.
Java reference for java.net.CookieManager.put.
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.