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