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