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