public static enum ConstraintInfo.HttpMethod extends Enum<ConstraintInfo.HttpMethod>
Enum Constant and Description |
---|
DELETE |
GET |
HEAD |
OPTIONS |
POST |
PUT |
TRACE |
Modifier and Type | Method and Description |
---|---|
static String[] |
toStringArray(ConstraintInfo.HttpMethod[] methods) |
static ConstraintInfo.HttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintInfo.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintInfo.HttpMethod GET
public static final ConstraintInfo.HttpMethod POST
public static final ConstraintInfo.HttpMethod HEAD
public static final ConstraintInfo.HttpMethod PUT
public static final ConstraintInfo.HttpMethod OPTIONS
public static final ConstraintInfo.HttpMethod TRACE
public static final ConstraintInfo.HttpMethod DELETE
public static ConstraintInfo.HttpMethod[] values()
for (ConstraintInfo.HttpMethod c : ConstraintInfo.HttpMethod.values()) System.out.println(c);
public static ConstraintInfo.HttpMethod 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 String[] toStringArray(ConstraintInfo.HttpMethod[] methods)