public enum XssProtectionOption extends Enum<XssProtectionOption>
Modifier and Type | Field and Description |
---|---|
protected String |
headerValue |
Modifier and Type | Method and Description |
---|---|
String |
getHeaderValue() |
String |
getName() |
static XssProtectionOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XssProtectionOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XssProtectionOption BLOCK
public static final XssProtectionOption SANITIZE
protected final String headerValue
public static XssProtectionOption[] values()
for (XssProtectionOption c : XssProtectionOption.values()) System.out.println(c);
public static XssProtectionOption 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 nullpublic String getHeaderValue()
public String getName()
Copyright © 2021. All rights reserved.