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