public static enum FormSubmitEvent.MethodType extends Enum<FormSubmitEvent .MethodType >
GET corresponds to the GET form methodPOST corresponds to the POST from method| Modifier and Type | Method and Description |
|---|---|
static FormSubmitEvent |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static FormSubmitEvent |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final FormSubmitEvent.MethodType GET
public static final FormSubmitEvent.MethodType POST
public static FormSubmitEvent.MethodType [] values()
for (FormSubmitEvent.MethodType c : FormSubmitEvent.MethodType.values()) System.out.println(c);
public static FormSubmitEvent.MethodType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null