public static enum Cookie.SameSite extends Enum<Cookie.SameSite>
Modifier and Type | Method and Description |
---|---|
static Cookie.SameSite |
parse(String value) |
String |
toString() |
static Cookie.SameSite |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cookie.SameSite[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cookie.SameSite STRICT
public static final Cookie.SameSite LAX
public static final Cookie.SameSite NONE
public static Cookie.SameSite[] values()
for (Cookie.SameSite c : Cookie.SameSite.values()) System.out.println(c);
public static Cookie.SameSite valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Cookie.SameSite parse(String value)
public String toString()
toString
in class Enum<Cookie.SameSite>
Copyright © 2025 Open Identity Platform Community. All rights reserved.