Package io.dropwizard.web.conf
Enum FrameOptionsHeaderFactory.FrameOption
- java.lang.Object
-
- java.lang.Enum<FrameOptionsHeaderFactory.FrameOption>
-
- io.dropwizard.web.conf.FrameOptionsHeaderFactory.FrameOption
-
- All Implemented Interfaces:
Serializable,Comparable<FrameOptionsHeaderFactory.FrameOption>
- Enclosing class:
- FrameOptionsHeaderFactory
public static enum FrameOptionsHeaderFactory.FrameOption extends Enum<FrameOptionsHeaderFactory.FrameOption>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_FROMDENYSAMEORIGIN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static FrameOptionsHeaderFactory.FrameOptionvalueOf(String name)Returns the enum constant of this type with the specified name.static FrameOptionsHeaderFactory.FrameOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DENY
public static final FrameOptionsHeaderFactory.FrameOption DENY
-
SAMEORIGIN
public static final FrameOptionsHeaderFactory.FrameOption SAMEORIGIN
-
ALLOW_FROM
public static final FrameOptionsHeaderFactory.FrameOption ALLOW_FROM
-
-
Method Detail
-
values
public static FrameOptionsHeaderFactory.FrameOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FrameOptionsHeaderFactory.FrameOption c : FrameOptionsHeaderFactory.FrameOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrameOptionsHeaderFactory.FrameOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
-