public static enum ClientGet.ReturnType extends java.lang.Enum<ClientGet.ReturnType>
Modifier and Type | Method and Description |
---|---|
static ClientGet.ReturnType |
getByCode(short x) |
static ClientGet.ReturnType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientGet.ReturnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientGet.ReturnType DIRECT
public static final ClientGet.ReturnType NONE
public static final ClientGet.ReturnType DISK
public static final ClientGet.ReturnType CHUNKED
public static ClientGet.ReturnType[] values()
for (ClientGet.ReturnType c : ClientGet.ReturnType.values()) System.out.println(c);
public static ClientGet.ReturnType 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 static ClientGet.ReturnType getByCode(short x)