edu.columbia.cs.irt.rfidentify.server
Enum HttpConstants.VERBS
java.lang.Object
java.lang.Enum<HttpConstants.VERBS>
edu.columbia.cs.irt.rfidentify.server.HttpConstants.VERBS
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<HttpConstants.VERBS>
- Enclosing interface:
- HttpConstants
public static enum HttpConstants.VERBS
- extends java.lang.Enum<HttpConstants.VERBS>
Method Summary |
static HttpConstants.VERBS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static HttpConstants.VERBS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
HEAD
public static final HttpConstants.VERBS HEAD
GET
public static final HttpConstants.VERBS GET
POST
public static final HttpConstants.VERBS POST
PUT
public static final HttpConstants.VERBS PUT
DELETE
public static final HttpConstants.VERBS DELETE
TRACE
public static final HttpConstants.VERBS TRACE
OPTIONS
public static final HttpConstants.VERBS OPTIONS
CONNECT
public static final HttpConstants.VERBS CONNECT
PATCH
public static final HttpConstants.VERBS PATCH
values
public static HttpConstants.VERBS[] 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 (HttpConstants.VERBS c : HttpConstants.VERBS.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HttpConstants.VERBS 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