public static enum ModulesServlet.HttpMethod extends java.lang.Enum<ModulesServlet.HttpMethod>
Enum Constant and Description |
---|
DELETE |
GET |
HEAD |
OPTIONS |
POST |
PUT |
TRACE |
Modifier and Type | Method and Description |
---|---|
static ModulesServlet.HttpMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModulesServlet.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModulesServlet.HttpMethod GET
public static final ModulesServlet.HttpMethod POST
public static final ModulesServlet.HttpMethod DELETE
public static final ModulesServlet.HttpMethod HEAD
public static final ModulesServlet.HttpMethod OPTIONS
public static final ModulesServlet.HttpMethod PUT
public static final ModulesServlet.HttpMethod TRACE
public static ModulesServlet.HttpMethod[] values()
for (ModulesServlet.HttpMethod c : ModulesServlet.HttpMethod.values()) System.out.println(c);
public static ModulesServlet.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 nullCopyright 2004-2015 Wandora Team