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