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