public enum WadlHTTPMethods extends Enum<WadlHTTPMethods>
Java class for HTTPMethods.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="HTTPMethods"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="GET"/> <enumeration value="POST"/> <enumeration value="PUT"/> <enumeration value="HEAD"/> <enumeration value="DELETE"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static WadlHTTPMethods |
fromValue(String v) |
String |
value() |
static WadlHTTPMethods |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WadlHTTPMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WadlHTTPMethods GET
public static final WadlHTTPMethods POST
public static final WadlHTTPMethods PUT
public static final WadlHTTPMethods HEAD
public static final WadlHTTPMethods DELETE
public static WadlHTTPMethods[] values()
for (WadlHTTPMethods c : WadlHTTPMethods.values()) System.out.println(c);
public static WadlHTTPMethods valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static WadlHTTPMethods fromValue(String v)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a