public static enum AbstractEndpoint.Handler.SocketState extends java.lang.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(java.lang.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(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 © 2000-2018 Apache Software Foundation. All Rights Reserved.