public static enum RequestObject.HttpMethod extends java.lang.Enum<RequestObject.HttpMethod>
Modifier and Type | Method and Description |
---|---|
static RequestObject.HttpMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestObject.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestObject.HttpMethod GET
public static final RequestObject.HttpMethod POST
public static final RequestObject.HttpMethod OPTIONS
public static RequestObject.HttpMethod[] values()
for (RequestObject.HttpMethod c : RequestObject.HttpMethod.values()) System.out.println(c);
public static RequestObject.HttpMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2021. All Rights Reserved.