private static enum Response.EncodingFrom extends java.lang.Enum<Response.EncodingFrom>
| Enum Constant and Description |
|---|
INFERRED |
NOT_SET |
SET_CHARACTER_ENCODING |
SET_CONTENT_TYPE |
SET_LOCALE |
| Modifier and Type | Method and Description |
|---|---|
static Response.EncodingFrom |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Response.EncodingFrom[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Response.EncodingFrom NOT_SET
public static final Response.EncodingFrom INFERRED
public static final Response.EncodingFrom SET_LOCALE
public static final Response.EncodingFrom SET_CONTENT_TYPE
public static final Response.EncodingFrom SET_CHARACTER_ENCODING
public static Response.EncodingFrom[] values()
for (Response.EncodingFrom c : Response.EncodingFrom.values()) System.out.println(c);
public static Response.EncodingFrom 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