public enum WsnStatus extends Enum<WsnStatus>
| Enum Constant and Description |
|---|
BAD_DATA |
BAD_MESSAGE |
EXTENSIONS_REQUIRED |
GOING_AWAY |
MESSAGE_TOO_LARGE |
NORMAL_CLOSE |
PROTOCOL_ERROR |
RESERVED |
RESERVED_ABNORMAL_CLOSE |
RESERVED_NO_STATUS |
UNACCEPTABLE_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static WsnStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WsnStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WsnStatus NORMAL_CLOSE
public static final WsnStatus GOING_AWAY
public static final WsnStatus PROTOCOL_ERROR
public static final WsnStatus UNACCEPTABLE_TYPE
public static final WsnStatus RESERVED
public static final WsnStatus RESERVED_NO_STATUS
public static final WsnStatus RESERVED_ABNORMAL_CLOSE
public static final WsnStatus BAD_DATA
public static final WsnStatus BAD_MESSAGE
public static final WsnStatus MESSAGE_TOO_LARGE
public static final WsnStatus EXTENSIONS_REQUIRED
public static WsnStatus[] values()
for (WsnStatus c : WsnStatus.values()) System.out.println(c);
public static WsnStatus 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 © 2014–2016. All rights reserved.