public enum RestConstants extends Enum<RestConstants>
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE_BINARY |
static String |
CONTENT_TYPE_JAR |
static String |
REST_CONTENT_TYPE |
Modifier and Type | Method and Description |
---|---|
static RestConstants |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestConstants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final String REST_CONTENT_TYPE
public static final String CONTENT_TYPE_JAR
public static final String CONTENT_TYPE_BINARY
public static RestConstants[] values()
for (RestConstants c : RestConstants.values()) System.out.println(c);
public static RestConstants 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 © 2014–2021 The Apache Software Foundation. All rights reserved.