public enum ResponseMode extends java.lang.Enum<ResponseMode>
| Enum Constant and Description |
|---|
FORM_POST
An HTML page which submits via JavaScript the parameters as in a FORM POST.
|
FRAGMENT
A redirect with parameters encoded in a parameter on the fragment part, such as #param=value
|
QUERY
A redirect with parameters encoded in a query parameter, such as ?
|
| Modifier and Type | Method and Description |
|---|---|
static ResponseMode |
of(java.lang.String value)
Returns a scope by value, or null if not found
|
java.lang.String |
toString() |
static ResponseMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseMode QUERY
public static final ResponseMode FRAGMENT
public static final ResponseMode FORM_POST
public static ResponseMode[] values()
for (ResponseMode c : ResponseMode.values()) System.out.println(c);
public static ResponseMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ResponseMode of(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<ResponseMode>