public enum HttpCallMethod extends Enum<HttpCallMethod>
Enum Constant and Description |
---|
DELETE
delete method
|
GET
get method
|
POST
post method
|
PUT
put method
|
Modifier and Type | Method and Description |
---|---|
static HttpCallMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpCallMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpCallMethod GET
public static final HttpCallMethod POST
public static final HttpCallMethod PUT
public static final HttpCallMethod DELETE
public static HttpCallMethod[] values()
for (HttpCallMethod c : HttpCallMethod.values()) System.out.println(c);
public static HttpCallMethod 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 © 2016 Internet2. All rights reserved.