CookieSpecRegistry.GetCookieSpec Method

Definition

Overloads

GetCookieSpec(String)

Gets the ICookieSpec with the given ID.

GetCookieSpec(String, IHttpParams)

Gets the ICookieSpec with the given ID.

GetCookieSpec(String)

Gets the ICookieSpec with the given ID.

[Android.Runtime.Register("getCookieSpec", "(Ljava/lang/String;)Lorg/apache/http/cookie/CookieSpec;", "")]
public Org.Apache.Http.Cookies.ICookieSpec? GetCookieSpec (string? name);
[<Android.Runtime.Register("getCookieSpec", "(Ljava/lang/String;)Lorg/apache/http/cookie/CookieSpec;", "")>]
member this.GetCookieSpec : string -> Org.Apache.Http.Cookies.ICookieSpec

Parameters

name
String

the ICookieSpec identifier

Returns

Attributes

Exceptions

if a policy with the given name cannot be found

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

GetCookieSpec(String, IHttpParams)

Gets the ICookieSpec with the given ID.

[Android.Runtime.Register("getCookieSpec", "(Ljava/lang/String;Lorg/apache/http/params/HttpParams;)Lorg/apache/http/cookie/CookieSpec;", "")]
public Org.Apache.Http.Cookies.ICookieSpec? GetCookieSpec (string? name, Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("getCookieSpec", "(Ljava/lang/String;Lorg/apache/http/params/HttpParams;)Lorg/apache/http/cookie/CookieSpec;", "")>]
member this.GetCookieSpec : string * Org.Apache.Http.Params.IHttpParams -> Org.Apache.Http.Cookies.ICookieSpec

Parameters

name
String

the ICookieSpec identifier

params
IHttpParams

the IHttpParams for the cookie specification.

Returns

Attributes

Exceptions

if a policy with the given name cannot be found

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