CookieHandler.Get(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.
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
an immutable map from state management headers, with field names "Cookie" or "Cookie2" to a list of cookies containing state information
- Attributes
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.