Serializable
, Comparable<Status.STATUS>
public static enum Status.STATUS extends Enum<Status.STATUS>
Enum Constant | Description |
---|---|
CLOSED_BY_APPLICATION |
Connection closed by the application
|
CLOSED_BY_CLIENT |
Connection closed by the client
|
CLOSED_BY_TIMEOUT |
Connection closed by a timeout
|
OPEN |
Connection is open
|
UNEXPECTED_CLOSE |
Connection closed abruptly
|
Modifier and Type | Method | Description |
---|---|---|
static Status.STATUS |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Status.STATUS[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.STATUS OPEN
public static final Status.STATUS CLOSED_BY_APPLICATION
public static final Status.STATUS CLOSED_BY_TIMEOUT
public static final Status.STATUS CLOSED_BY_CLIENT
public static final Status.STATUS UNEXPECTED_CLOSE
public static Status.STATUS[] values()
for (Status.STATUS c : Status.STATUS.values()) System.out.println(c);
public static Status.STATUS 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 © 2018. All rights reserved.