Enum SnappyFrameDecoder.ChunkType
- java.lang.Object
-
- java.lang.Enum<SnappyFrameDecoder.ChunkType>
-
- io.netty.handler.codec.compression.SnappyFrameDecoder.ChunkType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SnappyFrameDecoder.ChunkType>
- Enclosing class:
- SnappyFrameDecoder
private static enum SnappyFrameDecoder.ChunkType extends java.lang.Enum<SnappyFrameDecoder.ChunkType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPRESSED_DATA
RESERVED_SKIPPABLE
RESERVED_UNSKIPPABLE
STREAM_IDENTIFIER
UNCOMPRESSED_DATA
-
Constructor Summary
Constructors Modifier Constructor Description private
ChunkType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SnappyFrameDecoder.ChunkType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SnappyFrameDecoder.ChunkType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STREAM_IDENTIFIER
public static final SnappyFrameDecoder.ChunkType STREAM_IDENTIFIER
-
COMPRESSED_DATA
public static final SnappyFrameDecoder.ChunkType COMPRESSED_DATA
-
UNCOMPRESSED_DATA
public static final SnappyFrameDecoder.ChunkType UNCOMPRESSED_DATA
-
RESERVED_UNSKIPPABLE
public static final SnappyFrameDecoder.ChunkType RESERVED_UNSKIPPABLE
-
RESERVED_SKIPPABLE
public static final SnappyFrameDecoder.ChunkType RESERVED_SKIPPABLE
-
-
Method Detail
-
values
public static SnappyFrameDecoder.ChunkType[] 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 (SnappyFrameDecoder.ChunkType c : SnappyFrameDecoder.ChunkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SnappyFrameDecoder.ChunkType 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
-
-