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