@Converter(generateLoader=true) public enum ContentTypeConverter extends Enum<ContentTypeConverter>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.entity.ContentType |
toContentType(String contentTypeString) |
static ContentTypeConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentTypeConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentTypeConverter INSTANCE
public static ContentTypeConverter[] values()
for (ContentTypeConverter c : ContentTypeConverter.values()) System.out.println(c);
public static ContentTypeConverter 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 null@Converter public static org.apache.http.entity.ContentType toContentType(String contentTypeString) throws org.apache.camel.CamelException
org.apache.camel.CamelExceptionApache Camel