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