public static enum CommonRequest.METHOD extends java.lang.Enum<CommonRequest.METHOD>
Modifier and Type | Method and Description |
---|---|
Method |
toApiGwMethod() |
AlcsCoAPConstant.Code |
toCoapCode() |
static CommonRequest.METHOD |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommonRequest.METHOD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonRequest.METHOD POST
public static final CommonRequest.METHOD GET
public static final CommonRequest.METHOD DELETE
public static final CommonRequest.METHOD PUT
public static CommonRequest.METHOD[] values()
for (CommonRequest.METHOD c : CommonRequest.METHOD.values()) System.out.println(c);
public static CommonRequest.METHOD 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 Method toApiGwMethod()
public AlcsCoAPConstant.Code toCoapCode()