public enum JsonStatus extends Enum<JsonStatus>
| Enum Constant and Description |
|---|
ACCEPTS_JSON |
FORM_ENCODING_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static JsonStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonStatus ACCEPTS_JSON
public static final JsonStatus FORM_ENCODING_ONLY
public static JsonStatus[] values()
for (JsonStatus c : JsonStatus.values()) System.out.println(c);
public static JsonStatus 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 nullCopyright © 2019. All rights reserved.