HttpCookie.Path Property

Definition

Returns the path on the server to which the browser returns this cookie. -or- Specifies a path for the cookie to which the client should return the cookie.

public string? Path { [Android.Runtime.Register("getPath", "()Ljava/lang/String;", "")] get; [Android.Runtime.Register("setPath", "(Ljava/lang/String;)V", "")] set; }
[<get: Android.Runtime.Register("getPath", "()Ljava/lang/String;", "")>]
[<set: Android.Runtime.Register("setPath", "(Ljava/lang/String;)V", "")>]
member this.Path : string with get, set

Property Value

String

a String specifying a path that contains a servlet name, for example, /catalog

Attributes

Remarks

Property getter documentation:

Java documentation for java.net.HttpCookie.getPath().

Property setter documentation:

Java documentation for java.net.HttpCookie.setPath(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