protected static enum AbstractEndpoint.BindState extends java.lang.Enum<AbstractEndpoint.BindState>
| Enum Constant and Description |
|---|
BOUND_ON_INIT |
BOUND_ON_START |
SOCKET_CLOSED_ON_STOP |
UNBOUND |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBound() |
static AbstractEndpoint.BindState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractEndpoint.BindState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
boolean |
wasBound() |
public static final AbstractEndpoint.BindState UNBOUND
public static final AbstractEndpoint.BindState BOUND_ON_INIT
public static final AbstractEndpoint.BindState BOUND_ON_START
public static final AbstractEndpoint.BindState SOCKET_CLOSED_ON_STOP
public static AbstractEndpoint.BindState[] values()
for (AbstractEndpoint.BindState c : AbstractEndpoint.BindState.values()) System.out.println(c);
public static AbstractEndpoint.BindState 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 nullpublic boolean isBound()
public boolean wasBound()
Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.