org.apache.tomcat.util.net
public static enum AprEndpoint.Handler.SocketState extends java.lang.Enum<AprEndpoint.Handler.SocketState>
Modifier and Type | Method and Description |
---|---|
static AprEndpoint.Handler.SocketState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AprEndpoint.Handler.SocketState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AprEndpoint.Handler.SocketState OPEN
public static final AprEndpoint.Handler.SocketState CLOSED
public static final AprEndpoint.Handler.SocketState LONG
public static AprEndpoint.Handler.SocketState[] values()
for (AprEndpoint.Handler.SocketState c : AprEndpoint.Handler.SocketState.values()) System.out.println(c);
public static AprEndpoint.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-2014 Apache Software Foundation. All Rights Reserved.