public static enum Schema.Method extends Enum<Schema.Method>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMethod(String value) |
static Schema.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Schema.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schema.Method GET
public static final Schema.Method PUT
public static final Schema.Method DELETE
public static final Schema.Method POST
public static Schema.Method[] values()
for (Schema.Method c : Schema.Method.values()) System.out.println(c);
public static Schema.Method 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 boolean isMethod(String value)
Copyright © 2014. All rights reserved.