public enum CrossOriginOpenerPolicyValue extends Enum<CrossOriginOpenerPolicyValue>
| Enum Constant and Description |
|---|
SAME_ORIGIN |
SAME_ORIGIN_ALLOW_POPUPS |
SAME_ORIGIN_PLUS_COEP |
UNSAFE_NONE |
| Modifier and Type | Method and Description |
|---|---|
static CrossOriginOpenerPolicyValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrossOriginOpenerPolicyValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrossOriginOpenerPolicyValue SAME_ORIGIN
public static final CrossOriginOpenerPolicyValue SAME_ORIGIN_ALLOW_POPUPS
public static final CrossOriginOpenerPolicyValue UNSAFE_NONE
public static final CrossOriginOpenerPolicyValue SAME_ORIGIN_PLUS_COEP
public static CrossOriginOpenerPolicyValue[] values()
for (CrossOriginOpenerPolicyValue c : CrossOriginOpenerPolicyValue.values()) System.out.println(c);
public static CrossOriginOpenerPolicyValue 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 nullCopyright © 2021 Kenan Klisura. All rights reserved.