public static enum MultipartFormParameter.Type extends Enum<MultipartFormParameter.Type>
Enum Constant and Description |
---|
FILE_CONTENT_TYPE |
FILE_NAME |
GENERAL |
Modifier and Type | Method and Description |
---|---|
static MultipartFormParameter.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultipartFormParameter.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultipartFormParameter.Type GENERAL
public static final MultipartFormParameter.Type FILE_NAME
public static final MultipartFormParameter.Type FILE_CONTENT_TYPE
public static MultipartFormParameter.Type[] values()
for (MultipartFormParameter.Type c : MultipartFormParameter.Type.values()) System.out.println(c);
public static MultipartFormParameter.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 null