public enum GetEncoding extends java.lang.Enum<GetEncoding>
| Enum Constant and Description |
|---|
AUTO
The payload will be returned as a string if it is valid UTF-8,
and base64 encoded otherwise
|
BASE64
The payload will be base64 encoded
|
| Modifier and Type | Method and Description |
|---|---|
static GetEncoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GetEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetEncoding AUTO
public static final GetEncoding BASE64
public static GetEncoding[] values()
for (GetEncoding c : GetEncoding.values()) System.out.println(c);
public static GetEncoding 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 null