public static enum FHCloudRequest.Methods extends Enum<FHCloudRequest.Methods>
| Modifier and Type | Method and Description |
|---|---|
static FHCloudRequest.Methods |
parse(String pMethod)
Casts a HTTP Method name to a Methods enum.
|
static FHCloudRequest.Methods |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FHCloudRequest.Methods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FHCloudRequest.Methods GET
public static final FHCloudRequest.Methods POST
public static final FHCloudRequest.Methods PUT
public static final FHCloudRequest.Methods DELETE
public static FHCloudRequest.Methods[] values()
for (FHCloudRequest.Methods c : FHCloudRequest.Methods.values()) System.out.println(c);
public static FHCloudRequest.Methods 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 nullpublic static FHCloudRequest.Methods parse(String pMethod)
pMethod - the HTTP method to retrieve the enumerated value of.IllegalArgumentException - if pMethod is not one of GET, POST, PUT, or DELETECopyright © 2016 Red Hat. All rights reserved.