ch.mimo.netty.handler.codec.icap
Enum ReadChunkSizeState.DecisionState
java.lang.Object
java.lang.Enum<ReadChunkSizeState.DecisionState>
ch.mimo.netty.handler.codec.icap.ReadChunkSizeState.DecisionState
- All Implemented Interfaces:
- Serializable, Comparable<ReadChunkSizeState.DecisionState>
- Enclosing class:
- ReadChunkSizeState
public static enum ReadChunkSizeState.DecisionState
- extends Enum<ReadChunkSizeState.DecisionState>
Used to decide what state has to be processed next.
- Author:
- Michael Mimo Moratti (mimo@mimo.ch)
READ_CHUNK
public static final ReadChunkSizeState.DecisionState READ_CHUNK
READ_HUGE_CHUNK_IN_SMALER_CHUNKS
public static final ReadChunkSizeState.DecisionState READ_HUGE_CHUNK_IN_SMALER_CHUNKS
READ_TRAILING_HEADERS
public static final ReadChunkSizeState.DecisionState READ_TRAILING_HEADERS
IS_LAST_PREVIEW_CHUNK
public static final ReadChunkSizeState.DecisionState IS_LAST_PREVIEW_CHUNK
IS_LAST_CHUNK
public static final ReadChunkSizeState.DecisionState IS_LAST_CHUNK
RESET
public static final ReadChunkSizeState.DecisionState RESET
values
public static ReadChunkSizeState.DecisionState[] 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 (ReadChunkSizeState.DecisionState c : ReadChunkSizeState.DecisionState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ReadChunkSizeState.DecisionState valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getNextState
public StateEnum getNextState()
Copyright © 2011. All Rights Reserved.