public static enum FrameOptionsHeaderFactory.FrameOption extends Enum<FrameOptionsHeaderFactory.FrameOption>
| Enum Constant and Description |
|---|
ALLOW_FROM |
DENY |
SAMEORIGIN |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static FrameOptionsHeaderFactory.FrameOption |
valueOf(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.
|
public static final FrameOptionsHeaderFactory.FrameOption DENY
public static final FrameOptionsHeaderFactory.FrameOption SAMEORIGIN
public static final FrameOptionsHeaderFactory.FrameOption ALLOW_FROM
public static FrameOptionsHeaderFactory.FrameOption[] values()
for (FrameOptionsHeaderFactory.FrameOption c : FrameOptionsHeaderFactory.FrameOption.values()) System.out.println(c);
public static FrameOptionsHeaderFactory.FrameOption 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 String getValue()
Copyright © 2021. All rights reserved.