public static enum HttpCookie.SameSite extends java.lang.Enum<HttpCookie.SameSite>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeValue() |
static HttpCookie.SameSite |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpCookie.SameSite[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpCookie.SameSite NONE
public static final HttpCookie.SameSite STRICT
public static final HttpCookie.SameSite LAX
public static HttpCookie.SameSite[] values()
for (HttpCookie.SameSite c : HttpCookie.SameSite.values()) System.out.println(c);
public static HttpCookie.SameSite valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getAttributeValue()
Copyright © 1995–2020 Webtide. All rights reserved.