Package io.netty.handler.codec.stomp
Enum StompSubframeDecoder.State
- java.lang.Object
-
- java.lang.Enum<StompSubframeDecoder.State>
-
- io.netty.handler.codec.stomp.StompSubframeDecoder.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StompSubframeDecoder.State>
- Enclosing class:
- StompSubframeDecoder
static enum StompSubframeDecoder.State extends java.lang.Enum<StompSubframeDecoder.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_FRAME
FINALIZE_FRAME_READ
INVALID_CHUNK
READ_CONTENT
READ_HEADERS
SKIP_CONTROL_CHARACTERS
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StompSubframeDecoder.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StompSubframeDecoder.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKIP_CONTROL_CHARACTERS
public static final StompSubframeDecoder.State SKIP_CONTROL_CHARACTERS
-
READ_HEADERS
public static final StompSubframeDecoder.State READ_HEADERS
-
READ_CONTENT
public static final StompSubframeDecoder.State READ_CONTENT
-
FINALIZE_FRAME_READ
public static final StompSubframeDecoder.State FINALIZE_FRAME_READ
-
BAD_FRAME
public static final StompSubframeDecoder.State BAD_FRAME
-
INVALID_CHUNK
public static final StompSubframeDecoder.State INVALID_CHUNK
-
-
Method Detail
-
values
public static StompSubframeDecoder.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 (StompSubframeDecoder.State c : StompSubframeDecoder.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 StompSubframeDecoder.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
-
-