Package org.eclipse.jetty.client.util
Enum MultiPartContentProvider.State
- java.lang.Object
-
- java.lang.Enum<MultiPartContentProvider.State>
-
- org.eclipse.jetty.client.util.MultiPartContentProvider.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MultiPartContentProvider.State>
- Enclosing class:
- MultiPartContentProvider
private static enum MultiPartContentProvider.State extends java.lang.Enum<MultiPartContentProvider.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE
CONTENT
FIRST_BOUNDARY
HEADERS
LAST_BOUNDARY
MIDDLE_BOUNDARY
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
FIRST_BOUNDARY
public static final MultiPartContentProvider.State FIRST_BOUNDARY
-
HEADERS
public static final MultiPartContentProvider.State HEADERS
-
CONTENT
public static final MultiPartContentProvider.State CONTENT
-
MIDDLE_BOUNDARY
public static final MultiPartContentProvider.State MIDDLE_BOUNDARY
-
LAST_BOUNDARY
public static final MultiPartContentProvider.State LAST_BOUNDARY
-
COMPLETE
public static final MultiPartContentProvider.State COMPLETE
-
-
Method Detail
-
values
public static MultiPartContentProvider.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MultiPartContentProvider.State c : MultiPartContentProvider.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MultiPartContentProvider.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-