public static enum WebFluxProperties.SameSite extends Enum<WebFluxProperties.SameSite>
Enum Constant and Description |
---|
LAX
Cookies are sent in a first-party context, also when following a link to the
origin site.
|
NONE
Cookies are sent in both first-party and cross-origin requests.
|
STRICT
Cookies are only sent in a first-party context (i.e.
|
Modifier and Type | Method and Description |
---|---|
String |
attribute() |
static WebFluxProperties.SameSite |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebFluxProperties.SameSite[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebFluxProperties.SameSite NONE
public static final WebFluxProperties.SameSite LAX
public static final WebFluxProperties.SameSite STRICT
public static WebFluxProperties.SameSite[] values()
for (WebFluxProperties.SameSite c : WebFluxProperties.SameSite.values()) System.out.println(c);
public static WebFluxProperties.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 String attribute()