public enum DecoderState extends Enum<DecoderState>
Enum Constant and Description |
---|
BODY
receiving HTTP body slices
|
HEAD
accumulating the HTTP request head (everything before the body)
|
NEW
waiting for a new HTTP requests, the session is new of last request was completed
|
Modifier and Type | Method and Description |
---|---|
static DecoderState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecoderState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecoderState NEW
public static final DecoderState HEAD
public static final DecoderState BODY
public static DecoderState[] values()
for (DecoderState c : DecoderState.values()) System.out.println(c);
public static DecoderState 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 © 2004–2022 Apache MINA Project. All rights reserved.