Package org.eclipse.jetty.http2.parser
Enum DataBodyParser.State
- java.lang.Object
-
- java.lang.Enum<DataBodyParser.State>
-
- org.eclipse.jetty.http2.parser.DataBodyParser.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DataBodyParser.State>
- Enclosing class:
- DataBodyParser
private static enum DataBodyParser.State extends java.lang.Enum<DataBodyParser.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA
PADDING
PADDING_LENGTH
PREPARE
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataBodyParser.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataBodyParser.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARE
public static final DataBodyParser.State PREPARE
-
PADDING_LENGTH
public static final DataBodyParser.State PADDING_LENGTH
-
DATA
public static final DataBodyParser.State DATA
-
PADDING
public static final DataBodyParser.State PADDING
-
-
Method Detail
-
values
public static DataBodyParser.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 (DataBodyParser.State c : DataBodyParser.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 DataBodyParser.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
-
-