Share via


HttpCookie.Portlist Property

Definition

Returns the port list attribute of the cookie -or- Specify the portlist of the cookie, which restricts the port(s) to which a cookie may be sent back in a Cookie header.

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

Property Value

a String contains the port list or null if none

Attributes

Remarks

Property getter documentation:

Returns the port list attribute of the cookie

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

Property setter documentation:

Specify the portlist of the cookie, which restricts the port(s) to which a cookie may be sent back in a Cookie header.

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