public static enum HttpMethod.Name extends Enum<HttpMethod.Name>
Modifier and Type | Method and Description |
---|---|
static HttpMethod.Name |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpMethod.Name POST
public static final HttpMethod.Name PUT
public static final HttpMethod.Name GET
public static final HttpMethod.Name MERGE
public static final HttpMethod.Name DELETE
public static final HttpMethod.Name PATCH
public static HttpMethod.Name[] values()
for (HttpMethod.Name c : HttpMethod.Name.values()) System.out.println(c);
public static HttpMethod.Name 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 © 2013 The Apache Software Foundation. All Rights Reserved.