public enum ContentType extends java.lang.Enum<ContentType>
| Enum Constant | Description |
|---|---|
FORM_URL_ENCODED |
|
JSON |
|
JSON_UTF_8 |
|
JWT |
|
JWT_UTF_8 |
|
UTF_8 |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getValue() |
|
static ContentType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ContentType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentType JWT
public static final ContentType JSON
public static final ContentType UTF_8
public static final ContentType JWT_UTF_8
public static final ContentType JSON_UTF_8
public static final ContentType FORM_URL_ENCODED
public static ContentType[] values()
for (ContentType c : ContentType.values()) System.out.println(c);
public static ContentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()