public enum CrossOriginEmbedderPolicyValue extends Enum<CrossOriginEmbedderPolicyValue>
| Enum Constant and Description |
|---|
CORS_OR_CREDENTIALLESS |
NONE |
REQUIRE_CORP |
| Modifier and Type | Method and Description |
|---|---|
static CrossOriginEmbedderPolicyValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrossOriginEmbedderPolicyValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrossOriginEmbedderPolicyValue NONE
public static final CrossOriginEmbedderPolicyValue CORS_OR_CREDENTIALLESS
public static final CrossOriginEmbedderPolicyValue REQUIRE_CORP
public static CrossOriginEmbedderPolicyValue[] values()
for (CrossOriginEmbedderPolicyValue c : CrossOriginEmbedderPolicyValue.values()) System.out.println(c);
public static CrossOriginEmbedderPolicyValue 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.