Enum CsrfPreventionCookieConfigurator.SameSiteOption
- java.lang.Object
-
- java.lang.Enum<CsrfPreventionCookieConfigurator.SameSiteOption>
-
- org.camunda.bpm.webapp.impl.security.filter.CsrfPreventionCookieConfigurator.SameSiteOption
-
- All Implemented Interfaces:
Serializable,Comparable<CsrfPreventionCookieConfigurator.SameSiteOption>
- Enclosing class:
- CsrfPreventionCookieConfigurator
public static enum CsrfPreventionCookieConfigurator.SameSiteOption extends Enum<CsrfPreventionCookieConfigurator.SameSiteOption>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompareTo(String value)StringgetName()StringgetValue()static CsrfPreventionCookieConfigurator.SameSiteOptionvalueOf(String name)Returns the enum constant of this type with the specified name.static CsrfPreventionCookieConfigurator.SameSiteOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LAX
public static final CsrfPreventionCookieConfigurator.SameSiteOption LAX
-
STRICT
public static final CsrfPreventionCookieConfigurator.SameSiteOption STRICT
-
-
Field Detail
-
value
protected final String value
-
-
Method Detail
-
values
public static CsrfPreventionCookieConfigurator.SameSiteOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CsrfPreventionCookieConfigurator.SameSiteOption c : CsrfPreventionCookieConfigurator.SameSiteOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CsrfPreventionCookieConfigurator.SameSiteOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
getName
public String getName()
-
compareTo
public boolean compareTo(String value)
-
-