public static enum AbstractEndpoint.Handler.SocketState extends Enum<AbstractEndpoint.Handler.SocketState>
Enum Constant and Description |
---|
ASYNC_END |
CLOSED |
LONG |
OPEN |
SENDFILE |
UPGRADED |
UPGRADING |
Modifier and Type | Method and Description |
---|---|
static AbstractEndpoint.Handler.SocketState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractEndpoint.Handler.SocketState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractEndpoint.Handler.SocketState OPEN
public static final AbstractEndpoint.Handler.SocketState CLOSED
public static final AbstractEndpoint.Handler.SocketState LONG
public static final AbstractEndpoint.Handler.SocketState ASYNC_END
public static final AbstractEndpoint.Handler.SocketState SENDFILE
public static final AbstractEndpoint.Handler.SocketState UPGRADING
public static final AbstractEndpoint.Handler.SocketState UPGRADED
public static AbstractEndpoint.Handler.SocketState[] values()
for (AbstractEndpoint.Handler.SocketState c : AbstractEndpoint.Handler.SocketState.values()) System.out.println(c);
public static AbstractEndpoint.Handler.SocketState 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 © 2000-2016 Apache Software Foundation. All Rights Reserved.