er.rest.routes
Enum ERXRoute.Method
java.lang.Object
java.lang.Enum<ERXRoute.Method>
er.rest.routes.ERXRoute.Method
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ERXRoute.Method>
- Enclosing class:
- ERXRoute
public static enum ERXRoute.Method
- extends java.lang.Enum<ERXRoute.Method>
Method Summary |
static ERXRoute.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ERXRoute.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
All
public static final ERXRoute.Method All
Get
public static final ERXRoute.Method Get
Put
public static final ERXRoute.Method Put
Post
public static final ERXRoute.Method Post
Delete
public static final ERXRoute.Method Delete
Head
public static final ERXRoute.Method Head
Options
public static final ERXRoute.Method Options
Trace
public static final ERXRoute.Method Trace
Connect
public static final ERXRoute.Method Connect
values
public static ERXRoute.Method[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ERXRoute.Method c : ERXRoute.Method.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ERXRoute.Method valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
Copyright © 2002 – 2007 Project Wonder.