Enum Class CrossOriginOpenerPolicyServerHttpHeadersWriter.CrossOriginOpenerPolicy
java.lang.Object
java.lang.Enum<CrossOriginOpenerPolicyServerHttpHeadersWriter.CrossOriginOpenerPolicy>
org.springframework.security.web.server.header.CrossOriginOpenerPolicyServerHttpHeadersWriter.CrossOriginOpenerPolicy
- All Implemented Interfaces:
Serializable
,Comparable<CrossOriginOpenerPolicyServerHttpHeadersWriter.CrossOriginOpenerPolicy>
,Constable
- Enclosing class:
- CrossOriginOpenerPolicyServerHttpHeadersWriter
public static enum CrossOriginOpenerPolicyServerHttpHeadersWriter.CrossOriginOpenerPolicy
extends Enum<CrossOriginOpenerPolicyServerHttpHeadersWriter.CrossOriginOpenerPolicy>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSAFE_NONE
public static final CrossOriginOpenerPolicyServerHttpHeadersWriter.CrossOriginOpenerPolicy UNSAFE_NONE -
SAME_ORIGIN_ALLOW_POPUPS
public static final CrossOriginOpenerPolicyServerHttpHeadersWriter.CrossOriginOpenerPolicy SAME_ORIGIN_ALLOW_POPUPS -
SAME_ORIGIN
public static final CrossOriginOpenerPolicyServerHttpHeadersWriter.CrossOriginOpenerPolicy SAME_ORIGIN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static CrossOriginOpenerPolicyServerHttpHeadersWriter.CrossOriginOpenerPolicy valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getPolicy
-