Package org.eclipse.jetty.http
Enum MultiPartParser.FieldState
- java.lang.Object
-
- java.lang.Enum<MultiPartParser.FieldState>
-
- org.eclipse.jetty.http.MultiPartParser.FieldState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MultiPartParser.FieldState>
- Enclosing class:
- MultiPartParser
public static enum MultiPartParser.FieldState extends java.lang.Enum<MultiPartParser.FieldState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_NAME
FIELD
IN_NAME
IN_VALUE
VALUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MultiPartParser.FieldState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MultiPartParser.FieldState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIELD
public static final MultiPartParser.FieldState FIELD
-
IN_NAME
public static final MultiPartParser.FieldState IN_NAME
-
AFTER_NAME
public static final MultiPartParser.FieldState AFTER_NAME
-
VALUE
public static final MultiPartParser.FieldState VALUE
-
IN_VALUE
public static final MultiPartParser.FieldState IN_VALUE
-
-
Method Detail
-
values
public static MultiPartParser.FieldState[] 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 (MultiPartParser.FieldState c : MultiPartParser.FieldState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MultiPartParser.FieldState 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
-
-