Package org.apache.wicket.coep
Enum CrossOriginEmbedderPolicyConfiguration.CoepMode
- java.lang.Object
-
- java.lang.Enum<CrossOriginEmbedderPolicyConfiguration.CoepMode>
-
- org.apache.wicket.coep.CrossOriginEmbedderPolicyConfiguration.CoepMode
-
- All Implemented Interfaces:
Serializable
,Comparable<CrossOriginEmbedderPolicyConfiguration.CoepMode>
- Enclosing class:
- CrossOriginEmbedderPolicyConfiguration
public static enum CrossOriginEmbedderPolicyConfiguration.CoepMode extends Enum<CrossOriginEmbedderPolicyConfiguration.CoepMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CrossOriginEmbedderPolicyConfiguration.CoepMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static CrossOriginEmbedderPolicyConfiguration.CoepMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENFORCING
public static final CrossOriginEmbedderPolicyConfiguration.CoepMode ENFORCING
-
REPORTING
public static final CrossOriginEmbedderPolicyConfiguration.CoepMode REPORTING
-
DISABLED
public static final CrossOriginEmbedderPolicyConfiguration.CoepMode DISABLED
-
-
Method Detail
-
values
public static CrossOriginEmbedderPolicyConfiguration.CoepMode[] 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 (CrossOriginEmbedderPolicyConfiguration.CoepMode c : CrossOriginEmbedderPolicyConfiguration.CoepMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrossOriginEmbedderPolicyConfiguration.CoepMode 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
-
-