public static enum Body.Type extends Enum<Body.Type>
Enum Constant and Description |
---|
BINARY |
JSON |
JSON_SCHEMA |
PARAMETERS |
REGEX |
STRING |
XML |
XML_SCHEMA |
XPATH |
Modifier and Type | Method and Description |
---|---|
static Body.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Body.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Body.Type BINARY
public static final Body.Type JSON
public static final Body.Type JSON_SCHEMA
public static final Body.Type PARAMETERS
public static final Body.Type REGEX
public static final Body.Type STRING
public static final Body.Type XML
public static final Body.Type XML_SCHEMA
public static final Body.Type XPATH
public static Body.Type[] values()
for (Body.Type c : Body.Type.values()) System.out.println(c);
public static Body.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 nullCopyright © 2018. All rights reserved.