Enum UnityHttpServerConfiguration.XFrameOptions
- java.lang.Object
-
- java.lang.Enum<UnityHttpServerConfiguration.XFrameOptions>
-
- pl.edu.icm.unity.engine.api.config.UnityHttpServerConfiguration.XFrameOptions
-
- All Implemented Interfaces:
Serializable
,Comparable<UnityHttpServerConfiguration.XFrameOptions>
- Enclosing class:
- UnityHttpServerConfiguration
public static enum UnityHttpServerConfiguration.XFrameOptions extends Enum<UnityHttpServerConfiguration.XFrameOptions>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description allow
allowFrom
deny
sameOrigin
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toHttp()
static UnityHttpServerConfiguration.XFrameOptions
valueOf(String name)
Returns the enum constant of this type with the specified name.static UnityHttpServerConfiguration.XFrameOptions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
deny
public static final UnityHttpServerConfiguration.XFrameOptions deny
-
sameOrigin
public static final UnityHttpServerConfiguration.XFrameOptions sameOrigin
-
allowFrom
public static final UnityHttpServerConfiguration.XFrameOptions allowFrom
-
allow
public static final UnityHttpServerConfiguration.XFrameOptions allow
-
-
Method Detail
-
values
public static UnityHttpServerConfiguration.XFrameOptions[] 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 (UnityHttpServerConfiguration.XFrameOptions c : UnityHttpServerConfiguration.XFrameOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnityHttpServerConfiguration.XFrameOptions 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
-
toHttp
public String toHttp()
-
-