org.openanzo.atom
Enum AtomHandler.Method
java.lang.Object
java.lang.Enum<AtomHandler.Method>
org.openanzo.atom.AtomHandler.Method
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AtomHandler.Method>
- Enclosing class:
- AtomHandler
public static enum AtomHandler.Method
- extends java.lang.Enum<AtomHandler.Method>
|
Method Summary |
static AtomHandler.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AtomHandler.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they're 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 |
CONNECT
public static final AtomHandler.Method CONNECT
OPTIONS
public static final AtomHandler.Method OPTIONS
HEAD
public static final AtomHandler.Method HEAD
GET
public static final AtomHandler.Method GET
POST
public static final AtomHandler.Method POST
PUT
public static final AtomHandler.Method PUT
UNDELETE
public static final AtomHandler.Method UNDELETE
DELETE
public static final AtomHandler.Method DELETE
TRACE
public static final AtomHandler.Method TRACE
REVERT
public static final AtomHandler.Method REVERT
PURGE
public static final AtomHandler.Method PURGE
values
public static final AtomHandler.Method[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(AtomHandler.Method c : AtomHandler.Method.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static AtomHandler.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
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.