org.eclipse.jst.j2ee.webapplication
Class HTTPMethodTypeEnum

java.lang.Object
  extended byAbstractEnumerator
      extended byorg.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum

public final class HTTPMethodTypeEnum
extends AbstractEnumerator

A representation of the literals of the enumeration 'HTTP Method Type Enum', and utility methods for working with them.

See Also:
WebapplicationPackage.getHTTPMethodTypeEnum(), Serialized Form

Field Summary
static int DELETE
          The 'DELETE' literal value
static HTTPMethodTypeEnum DELETE_LITERAL
          The 'DELETE' literal object
static int GET
          The 'GET' literal value
static HTTPMethodTypeEnum GET_LITERAL
          The 'GET' literal object
static int HEAD
          The 'HEAD' literal value
static HTTPMethodTypeEnum HEAD_LITERAL
          The 'HEAD' literal object
static int OPTIONS
          The 'OPTIONS' literal value
static HTTPMethodTypeEnum OPTIONS_LITERAL
          The 'OPTIONS' literal object
static int POST
          The 'POST' literal value
static HTTPMethodTypeEnum POST_LITERAL
          The 'POST' literal object
static int PUT
          The 'PUT' literal value
static HTTPMethodTypeEnum PUT_LITERAL
          The 'PUT' literal object
static int TRACE
          The 'TRACE' literal value
static HTTPMethodTypeEnum TRACE_LITERAL
          The 'TRACE' literal object
static java.util.List VALUES
          A public read-only list of all the 'HTTP Method Type Enum' enumerators
 
Method Summary
static HTTPMethodTypeEnum get(int value)
          Returns the 'HTTP Method Type Enum' literal with the specified value
static HTTPMethodTypeEnum get(java.lang.String name)
          Returns the 'HTTP Method Type Enum' literal with the specified name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET

public static final int GET
The 'GET' literal value. The http-method contains an HTTP method (GET | POST |...)

See Also:
GET_LITERAL, Constant Field Values

POST

public static final int POST
The 'POST' literal value.

See Also:
POST_LITERAL, Constant Field Values

PUT

public static final int PUT
The 'PUT' literal value.

See Also:
PUT_LITERAL, Constant Field Values

DELETE

public static final int DELETE
The 'DELETE' literal value.

See Also:
DELETE_LITERAL, Constant Field Values

HEAD

public static final int HEAD
The 'HEAD' literal value.

See Also:
HEAD_LITERAL, Constant Field Values

OPTIONS

public static final int OPTIONS
The 'OPTIONS' literal value.

See Also:
OPTIONS_LITERAL, Constant Field Values

TRACE

public static final int TRACE
The 'TRACE' literal value.

See Also:
TRACE_LITERAL, Constant Field Values

GET_LITERAL

public static final HTTPMethodTypeEnum GET_LITERAL
The 'GET' literal object.

If the meaning of 'GET' literal object isn't clear, there really should be more of a description here...

See Also:
GET

POST_LITERAL

public static final HTTPMethodTypeEnum POST_LITERAL
The 'POST' literal object.

If the meaning of 'POST' literal object isn't clear, there really should be more of a description here...

See Also:
POST

PUT_LITERAL

public static final HTTPMethodTypeEnum PUT_LITERAL
The 'PUT' literal object.

If the meaning of 'PUT' literal object isn't clear, there really should be more of a description here...

See Also:
PUT

DELETE_LITERAL

public static final HTTPMethodTypeEnum DELETE_LITERAL
The 'DELETE' literal object.

If the meaning of 'DELETE' literal object isn't clear, there really should be more of a description here...

See Also:
DELETE

HEAD_LITERAL

public static final HTTPMethodTypeEnum HEAD_LITERAL
The 'HEAD' literal object.

If the meaning of 'HEAD' literal object isn't clear, there really should be more of a description here...

See Also:
HEAD

OPTIONS_LITERAL

public static final HTTPMethodTypeEnum OPTIONS_LITERAL
The 'OPTIONS' literal object.

If the meaning of 'OPTIONS' literal object isn't clear, there really should be more of a description here...

See Also:
OPTIONS

TRACE_LITERAL

public static final HTTPMethodTypeEnum TRACE_LITERAL
The 'TRACE' literal object.

If the meaning of 'TRACE' literal object isn't clear, there really should be more of a description here...

See Also:
TRACE

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'HTTP Method Type Enum' enumerators.

Method Detail

get

public static HTTPMethodTypeEnum get(java.lang.String name)
Returns the 'HTTP Method Type Enum' literal with the specified name.

Parameters:
name - passes literal name
Returns:
literal instance

get

public static HTTPMethodTypeEnum get(int value)
Returns the 'HTTP Method Type Enum' literal with the specified value.

Parameters:
value - passes literal value
Returns:
literal instance