public static enum XFrameOptionsServerHttpHeadersWriter.Mode extends java.lang.Enum<XFrameOptionsServerHttpHeadersWriter.Mode>
Enum Constant and Description |
---|
DENY
A browser receiving content with this header field MUST NOT display
this content in any frame.
|
SAMEORIGIN
A browser receiving content with this header field MUST NOT display
this content in any frame from a page of different origin than the
content itself.
|
Modifier and Type | Method and Description |
---|---|
static XFrameOptionsServerHttpHeadersWriter.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XFrameOptionsServerHttpHeadersWriter.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XFrameOptionsServerHttpHeadersWriter.Mode DENY
public static final XFrameOptionsServerHttpHeadersWriter.Mode SAMEORIGIN
public static XFrameOptionsServerHttpHeadersWriter.Mode[] values()
for (XFrameOptionsServerHttpHeadersWriter.Mode c : XFrameOptionsServerHttpHeadersWriter.Mode.values()) System.out.println(c);
public static XFrameOptionsServerHttpHeadersWriter.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null