public static enum EnableCsrf.CsrfType extends Enum<EnableCsrf.CsrfType>
| Enum Constant and Description |
|---|
INIT_ONLY |
POST_REMOVE |
POST_SHARE |
| Modifier and Type | Method and Description |
|---|---|
static EnableCsrf.CsrfType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnableCsrf.CsrfType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnableCsrf.CsrfType POST_REMOVE
public static final EnableCsrf.CsrfType POST_SHARE
public static final EnableCsrf.CsrfType INIT_ONLY
public static EnableCsrf.CsrfType[] values()
for (EnableCsrf.CsrfType c : EnableCsrf.CsrfType.values()) System.out.println(c);
public static EnableCsrf.CsrfType 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 nullCopyright © 2019. All rights reserved.