|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<HttpMethod>
com.acsinet_solutions.cetia4.controller.HttpMethod
public enum HttpMethod
Enumeration of HTTP methods. All seven standard HTTP methods are included.
| Enum Constant Summary | |
|---|---|
DELETE
|
|
GET
|
|
HEAD
|
|
OPTIONS
|
|
POST
|
|
PUT
|
|
TRACE
|
|
| Method Summary | |
|---|---|
static HttpMethod |
getHttpMethod(javax.servlet.http.HttpServletRequest request)
Get the method value from a servlet request. |
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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final HttpMethod GET
public static final HttpMethod POST
public static final HttpMethod PUT
public static final HttpMethod DELETE
public static final HttpMethod TRACE
public static final HttpMethod OPTIONS
public static final HttpMethod HEAD
| Method Detail |
|---|
public static final 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 namepublic static HttpMethod getHttpMethod(javax.servlet.http.HttpServletRequest request)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||