private static enum MultiPartContentProvider.State extends java.lang.Enum<MultiPartContentProvider.State>
Enum Constant and Description |
---|
COMPLETE |
CONTENT |
FIRST_BOUNDARY |
HEADERS |
LAST_BOUNDARY |
MIDDLE_BOUNDARY |
Modifier and Type | Method and Description |
---|---|
static MultiPartContentProvider.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultiPartContentProvider.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiPartContentProvider.State FIRST_BOUNDARY
public static final MultiPartContentProvider.State HEADERS
public static final MultiPartContentProvider.State CONTENT
public static final MultiPartContentProvider.State MIDDLE_BOUNDARY
public static final MultiPartContentProvider.State LAST_BOUNDARY
public static final MultiPartContentProvider.State COMPLETE
public static MultiPartContentProvider.State[] values()
for (MultiPartContentProvider.State c : MultiPartContentProvider.State.values()) System.out.println(c);
public static MultiPartContentProvider.State 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 null