public static enum SameSiteCookieHeaderFilter.SameSiteValue extends Enum<SameSiteCookieHeaderFilter.SameSiteValue>
| Enum Constant and Description |
|---|
Lax
Send the cookie for 'same-site' requests along with 'cross-site' top
level navigations using safe HTTP methods (GET, HEAD, OPTIONS, and TRACE).
|
None
Send the cookie for 'same-site' and 'cross-site' requests.
|
Strict
Send the cookie for 'same-site' requests only.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
value
The same-site attribute value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Get the same-site attribute value.
|
static SameSiteCookieHeaderFilter.SameSiteValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SameSiteCookieHeaderFilter.SameSiteValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SameSiteCookieHeaderFilter.SameSiteValue Strict
public static final SameSiteCookieHeaderFilter.SameSiteValue Lax
public static final SameSiteCookieHeaderFilter.SameSiteValue None
public static SameSiteCookieHeaderFilter.SameSiteValue[] values()
for (SameSiteCookieHeaderFilter.SameSiteValue c : SameSiteCookieHeaderFilter.SameSiteValue.values()) System.out.println(c);
public static SameSiteCookieHeaderFilter.SameSiteValue 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 getValue()
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.