Package org.eclipse.jetty.fcgi
Enum FCGI.FrameType
- java.lang.Object
-
- java.lang.Enum<FCGI.FrameType>
-
- org.eclipse.jetty.fcgi.FCGI.FrameType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FCGI.FrameType>
- Enclosing class:
- FCGI
public static enum FCGI.FrameType extends java.lang.Enum<FCGI.FrameType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORT_REQUEST
BEGIN_REQUEST
DATA
END_REQUEST
GET_VALUES
GET_VALUES_RESULT
PARAMS
STDERR
STDIN
STDOUT
-
Field Summary
Fields Modifier and Type Field Description int
code
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FCGI.FrameType
from(int code)
static FCGI.FrameType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FCGI.FrameType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEGIN_REQUEST
public static final FCGI.FrameType BEGIN_REQUEST
-
ABORT_REQUEST
public static final FCGI.FrameType ABORT_REQUEST
-
END_REQUEST
public static final FCGI.FrameType END_REQUEST
-
PARAMS
public static final FCGI.FrameType PARAMS
-
STDIN
public static final FCGI.FrameType STDIN
-
STDOUT
public static final FCGI.FrameType STDOUT
-
STDERR
public static final FCGI.FrameType STDERR
-
DATA
public static final FCGI.FrameType DATA
-
GET_VALUES
public static final FCGI.FrameType GET_VALUES
-
GET_VALUES_RESULT
public static final FCGI.FrameType GET_VALUES_RESULT
-
-
Method Detail
-
values
public static FCGI.FrameType[] 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 (FCGI.FrameType c : FCGI.FrameType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FCGI.FrameType 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
-
from
public static FCGI.FrameType from(int code)
-
-