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