public enum Header extends Enum<Header>
| Enum Constant and Description |
|---|
X_CONTENT_TYPE_OPTIONS |
X_FRAME_OPTIONS |
X_RESPONSE_TIME |
X_XSS_PPROTECTION |
| Modifier and Type | Method and Description |
|---|---|
io.undertow.util.HttpString |
toHttpString() |
String |
toString() |
static Header |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Header[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Header X_XSS_PPROTECTION
public static final Header X_CONTENT_TYPE_OPTIONS
public static final Header X_FRAME_OPTIONS
public static final Header X_RESPONSE_TIME
public static Header[] values()
for (Header c : Header.values()) System.out.println(c);
public static Header 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 io.undertow.util.HttpString toHttpString()
Copyright © 2016. All rights reserved.