public static enum MeridianRequest.BodyContentType extends Enum<MeridianRequest.BodyContentType>
Enum Constant and Description |
---|
JSON |
X_WWW_FORM_URLENCODED |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static MeridianRequest.BodyContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MeridianRequest.BodyContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeridianRequest.BodyContentType X_WWW_FORM_URLENCODED
public static final MeridianRequest.BodyContentType JSON
public static MeridianRequest.BodyContentType[] values()
for (MeridianRequest.BodyContentType c : MeridianRequest.BodyContentType.values()) System.out.println(c);
public static MeridianRequest.BodyContentType 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 String toString()
toString
in class Enum<MeridianRequest.BodyContentType>