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