public static enum Request.Type extends Enum<Request.Type>
Modifier and Type | Method and Description |
---|---|
static Request.Type |
fromHttpMethod(String method) |
static Request.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.Type DELETE
public static final Request.Type INSERT
public static final Request.Type SELECT
public static final Request.Type UPDATE
public static Request.Type[] values()
for (Request.Type c : Request.Type.values()) System.out.println(c);
public static Request.Type 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 Request.Type fromHttpMethod(String method)
Copyright © 2011-2018 restSQL Project Contributors