public static enum HttpRESTUtils.Method extends Enum<HttpRESTUtils.Method>
| Enum Constant and Description |
|---|
DELETE |
GET |
HEAD |
OPTIONS |
POST |
PUT |
TRACE |
| Modifier and Type | Method and Description |
|---|---|
static HttpRESTUtils.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpRESTUtils.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpRESTUtils.Method POST
public static final HttpRESTUtils.Method GET
public static final HttpRESTUtils.Method PUT
public static final HttpRESTUtils.Method DELETE
public static final HttpRESTUtils.Method HEAD
public static final HttpRESTUtils.Method OPTIONS
public static final HttpRESTUtils.Method TRACE
public static HttpRESTUtils.Method[] values()
for (HttpRESTUtils.Method c : HttpRESTUtils.Method.values()) System.out.println(c);
public static HttpRESTUtils.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 © 2007–2020 CARET, University of Cambridge. All rights reserved.