BestMatchSpec.Parse(IHeader, CookieOrigin) Method

Definition

Parses cookies from the supplied HTTP header according to this specification.

[Android.Runtime.Register("parse", "(Lorg/apache/http/Header;Lorg/apache/http/cookie/CookieOrigin;)Ljava/util/List;", "GetParse_Lorg_apache_http_Header_Lorg_apache_http_cookie_CookieOrigin_Handler")]
public virtual System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie>? Parse(Org.Apache.Http.IHeader? header, Org.Apache.Http.Cookies.CookieOrigin? origin);
[<Android.Runtime.Register("parse", "(Lorg/apache/http/Header;Lorg/apache/http/cookie/CookieOrigin;)Ljava/util/List;", "GetParse_Lorg_apache_http_Header_Lorg_apache_http_cookie_CookieOrigin_Handler")>]
abstract member Parse : Org.Apache.Http.IHeader * Org.Apache.Http.Cookies.CookieOrigin -> System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie>
override this.Parse : Org.Apache.Http.IHeader * Org.Apache.Http.Cookies.CookieOrigin -> System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie>

Parameters

header
IHeader

The HTTP header to parse.

origin
CookieOrigin

The host, port, path, and security context of the request.

Returns

The cookies parsed by the strict, Netscape, or browser-compatible policy selected from the header.

Implements

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.

Applies to