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

Definition

Gets all the applicable cookies from a cookie cache for the specified uri in the request header.

[Android.Runtime.Register("get", "(Ljava/net/URI;Ljava/util/Map;)Ljava/util/Map;", "GetGet_Ljava_net_URI_Ljava_util_Map_Handler")]
public abstract System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>>? Get (Java.Net.URI? uri, System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>>? requestHeaders);
[<Android.Runtime.Register("get", "(Ljava/net/URI;Ljava/util/Map;)Ljava/util/Map;", "GetGet_Ljava_net_URI_Ljava_util_Map_Handler")>]
abstract member Get : Java.Net.URI * System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<string>> -> System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<string>>

Parameters

uri
URI

a URI representing the intended use for the cookies

requestHeaders
IDictionary<String,IList<String>>
  • a Map from request header field names to lists of field values representing the current request headers

Returns

IDictionary<String,IList<String>>

an immutable map from state management headers, with field names "Cookie" or "Cookie2" to a list of cookies containing state information

Attributes

Remarks

Java documentation for java.net.CookieHandler.get(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