public static enum NanoWSD.State extends Enum<NanoWSD.State>
| Enum Constant and Description |
|---|
CLOSED |
CLOSING |
CONNECTING |
OPEN |
UNCONNECTED |
| Modifier and Type | Method and Description |
|---|---|
static NanoWSD.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NanoWSD.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NanoWSD.State UNCONNECTED
public static final NanoWSD.State CONNECTING
public static final NanoWSD.State OPEN
public static final NanoWSD.State CLOSING
public static final NanoWSD.State CLOSED
public static NanoWSD.State[] values()
for (NanoWSD.State c : NanoWSD.State.values()) System.out.println(c);
public static NanoWSD.State 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 © 2012–2016 nanohttpd. All rights reserved.