public static enum Redirect.MethodEnum extends Enum<Redirect.MethodEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
Redirect.MethodEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static Redirect.MethodEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Redirect.MethodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Redirect.MethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Redirect.MethodEnum GET
public static final Redirect.MethodEnum POST
public static Redirect.MethodEnum[] values()
for (Redirect.MethodEnum c : Redirect.MethodEnum.values()) System.out.println(c);
public static Redirect.MethodEnum 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 static Redirect.MethodEnum fromValue(String text)
public String getValue()
public String toString()
toString in class Enum<Redirect.MethodEnum>Copyright © 2022. All rights reserved.