public enum HttpMethod extends java.lang.Enum<HttpMethod> implements org.eclipse.emf.common.util.Enumerator
TacticdslPackage.getHttpMethod()
Enum Constant and Description |
---|
DELETE
The 'DELETE' literal object.
|
GET
The 'GET' literal object.
|
NONE
The 'None' literal object.
|
POST
The 'POST' literal object.
|
PUT
The 'PUT' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
DELETE_VALUE
The 'DELETE' literal value.
|
static int |
GET_VALUE
The 'GET' literal value.
|
static int |
NONE_VALUE
The 'None' literal value.
|
static int |
POST_VALUE
The 'POST' literal value.
|
static int |
PUT_VALUE
The 'PUT' literal value.
|
static java.util.List<HttpMethod> |
VALUES
A public read-only list of all the 'Http Method' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static HttpMethod |
get(int value)
Returns the 'Http Method' literal with the specified integer value.
|
static HttpMethod |
get(java.lang.String literal)
Returns the 'Http Method' literal with the specified literal value.
|
static HttpMethod |
getByName(java.lang.String name)
Returns the 'Http Method' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static HttpMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpMethod NONE
NONE_VALUE
public static final HttpMethod GET
GET_VALUE
public static final HttpMethod POST
POST_VALUE
public static final HttpMethod PUT
PUT_VALUE
public static final HttpMethod DELETE
DELETE_VALUE
public static final int NONE_VALUE
If the meaning of 'None' literal object isn't clear, there really should be more of a description here...
NONE
,
Constant Field Valuespublic static final int GET_VALUE
If the meaning of 'GET' literal object isn't clear, there really should be more of a description here...
GET
,
Constant Field Valuespublic static final int POST_VALUE
If the meaning of 'POST' literal object isn't clear, there really should be more of a description here...
POST
,
Constant Field Valuespublic static final int PUT_VALUE
If the meaning of 'PUT' literal object isn't clear, there really should be more of a description here...
PUT
,
Constant Field Valuespublic static final int DELETE_VALUE
If the meaning of 'DELETE' literal object isn't clear, there really should be more of a description here...
DELETE
,
Constant Field Valuespublic static final java.util.List<HttpMethod> VALUES
public static HttpMethod[] values()
for (HttpMethod c : HttpMethod.values()) System.out.println(c);
public static HttpMethod 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 static HttpMethod get(java.lang.String literal)
literal
- the literal.null
.public static HttpMethod getByName(java.lang.String name)
name
- the name.null
.public static HttpMethod get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<HttpMethod>