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