Package org.eclipse.jetty.http
Enum MultiPartParser.State
- java.lang.Object
-
- java.lang.Enum<MultiPartParser.State>
-
- org.eclipse.jetty.http.MultiPartParser.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MultiPartParser.State>
- Enclosing class:
- MultiPartParser
public static enum MultiPartParser.State extends java.lang.Enum<MultiPartParser.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BODY_PART
DELIMITER
DELIMITER_CLOSE
DELIMITER_PADDING
END
EPILOGUE
FIRST_OCTETS
OCTETS
PREAMBLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MultiPartParser.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MultiPartParser.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREAMBLE
public static final MultiPartParser.State PREAMBLE
-
DELIMITER
public static final MultiPartParser.State DELIMITER
-
DELIMITER_PADDING
public static final MultiPartParser.State DELIMITER_PADDING
-
DELIMITER_CLOSE
public static final MultiPartParser.State DELIMITER_CLOSE
-
BODY_PART
public static final MultiPartParser.State BODY_PART
-
FIRST_OCTETS
public static final MultiPartParser.State FIRST_OCTETS
-
OCTETS
public static final MultiPartParser.State OCTETS
-
EPILOGUE
public static final MultiPartParser.State EPILOGUE
-
END
public static final MultiPartParser.State END
-
-
Method Detail
-
values
public static MultiPartParser.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 (MultiPartParser.State c : MultiPartParser.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 MultiPartParser.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
-
-