Enum ChunkExtension.State
- java.lang.Object
-
- java.lang.Enum<ChunkExtension.State>
-
- org.apache.tomcat.util.http.parser.ChunkExtension.State
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ChunkExtension.State>
- Enclosing class:
- ChunkExtension
public static enum ChunkExtension.State extends java.lang.Enum<ChunkExtension.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREQUALSNAMEPOST_NAMEPOST_VALUEPRE_NAMEQUOTED_VALUEVALUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChunkExtension.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ChunkExtension.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRE_NAME
public static final ChunkExtension.State PRE_NAME
-
NAME
public static final ChunkExtension.State NAME
-
POST_NAME
public static final ChunkExtension.State POST_NAME
-
EQUALS
public static final ChunkExtension.State EQUALS
-
VALUE
public static final ChunkExtension.State VALUE
-
QUOTED_VALUE
public static final ChunkExtension.State QUOTED_VALUE
-
POST_VALUE
public static final ChunkExtension.State POST_VALUE
-
CR
public static final ChunkExtension.State CR
-
-
Method Detail
-
values
public static ChunkExtension.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 (ChunkExtension.State c : ChunkExtension.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 ChunkExtension.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
-
-