Freigeben über


CookieHandler.Default Property

Definition

Gets the system-wide cookie handler. -or- Sets (or unsets) the system-wide cookie handler.

public static Java.Net.CookieHandler? Default { [Android.Runtime.Register("getDefault", "()Ljava/net/CookieHandler;", "")] get; [Android.Runtime.Register("setDefault", "(Ljava/net/CookieHandler;)V", "")] set; }
[<get: Android.Runtime.Register("getDefault", "()Ljava/net/CookieHandler;", "")>]
[<set: Android.Runtime.Register("setDefault", "(Ljava/net/CookieHandler;)V", "")>]
static member Default : Java.Net.CookieHandler with get, set

Property Value

the system-wide cookie handler; A null return means there is no system-wide cookie handler currently set.

Attributes

Remarks

Property getter documentation:

Gets the system-wide cookie handler.

Java documentation for java.net.CookieHandler.getDefault().

Property setter documentation:

Sets (or unsets) the system-wide cookie handler.

Note: non-standard http protocol handlers may ignore this setting.

Java documentation for java.net.CookieHandler.setDefault(java.net.CookieHandler).

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