public enum ProtocolDetectionState extends java.lang.Enum<ProtocolDetectionState>
Enum Constant and Description |
---|
DETECTED
Protocol was detected,
|
INVALID
The data was invalid.
|
NEEDS_MORE_DATA
Need more data to detect the protocol.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolDetectionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolDetectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolDetectionState NEEDS_MORE_DATA
public static final ProtocolDetectionState INVALID
public static final ProtocolDetectionState DETECTED
public static ProtocolDetectionState[] values()
for (ProtocolDetectionState c : ProtocolDetectionState.values()) System.out.println(c);
public static ProtocolDetectionState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2008–2018 The Netty Project. All rights reserved.