public static enum HttpConstants.Method extends Enum<HttpConstants.Method>
Enum Constant and Description |
---|
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static HttpConstants.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpConstants.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpConstants.Method POST
public static final HttpConstants.Method GET
public static final HttpConstants.Method PUT
public static final HttpConstants.Method DELETE
public static final HttpConstants.Method OPTIONS
public static final HttpConstants.Method HEAD
public static final HttpConstants.Method PATCH
public static final HttpConstants.Method UNKNOWN
public static HttpConstants.Method[] values()
for (HttpConstants.Method c : HttpConstants.Method.values()) System.out.println(c);
public static HttpConstants.Method valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010–2016 AdroitLogic. All rights reserved.