public enum DecodingState extends Enum<DecodingState>
Describes the states of the decoding process.
This is used internally by the handler implementations to signal their current decoding state. It has impact on which actions need to be performed in each state.
Enum Constant and Description |
---|
FINISHED
Decoding is finished.
|
INITIAL
Decoding is not currently taking place.
|
STARTED
Decoding has started and is currently taking place.
|
Modifier and Type | Method and Description |
---|---|
static DecodingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecodingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecodingState INITIAL
public static final DecodingState STARTED
public static final DecodingState FINISHED
public static DecodingState[] values()
for (DecodingState c : DecodingState.values()) System.out.println(c);
public static DecodingState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 Couchbase, Inc.. All rights reserved.