public static enum Header.MIME_TYPE extends Enum<Header.MIME_TYPE>
| Modifier and Type | Method and Description |
|---|---|
static Header.MIME_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Header.MIME_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Header.MIME_TYPE JSON
public static final Header.MIME_TYPE XML
public final String value
public static Header.MIME_TYPE[] values()
for (Header.MIME_TYPE c : Header.MIME_TYPE.values()) System.out.println(c);
public static Header.MIME_TYPE 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 nullCopyright © 2015. All rights reserved.