java.io.Serializable, java.lang.Comparable<ResponseType>public enum ResponseType extends java.lang.Enum<ResponseType>
Created: 2008. 05. 02 AM 16:21:38
| Modifier and Type | Method | Description |
|---|---|---|
static ResponseType |
resolve(java.lang.String alias) |
Returns a
ResponseType with a value represented
by the specified String. |
java.lang.String |
toString() |
|
static ResponseType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ResponseType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseType TRANSFORM
public static final ResponseType DISPATCH
public static final ResponseType REDIRECT
public static final ResponseType FORWARD
public static ResponseType[] values()
for (ResponseType c : ResponseType.values()) System.out.println(c);
public static ResponseType 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 java.lang.String toString()
toString in class java.lang.Enum<ResponseType>public static ResponseType resolve(java.lang.String alias)
ResponseType with a value represented
by the specified String.alias - the response type as a StringResponseType, may be nullCopyright © 2008–2018 The Aspectran Project. All rights reserved.