public static enum AtmosphereResponseImpl.State extends Enum<AtmosphereResponseImpl.State>
| Enum Constant and Description |
|---|
CLOSED |
ERROR |
MESSAGE_PUBLISHED |
MESSAGE_RECEIVED |
OPENING |
RE_OPENING |
| Modifier and Type | Method and Description |
|---|---|
static AtmosphereResponseImpl.State |
fromString(String s) |
String |
toString() |
static AtmosphereResponseImpl.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AtmosphereResponseImpl.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AtmosphereResponseImpl.State MESSAGE_RECEIVED
public static final AtmosphereResponseImpl.State MESSAGE_PUBLISHED
public static final AtmosphereResponseImpl.State OPENING
public static final AtmosphereResponseImpl.State RE_OPENING
public static final AtmosphereResponseImpl.State CLOSED
public static final AtmosphereResponseImpl.State ERROR
public static AtmosphereResponseImpl.State[] values()
for (AtmosphereResponseImpl.State c : AtmosphereResponseImpl.State.values()) System.out.println(c);
public static AtmosphereResponseImpl.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 nullpublic String toString()
toString in class Enum<AtmosphereResponseImpl.State>public static AtmosphereResponseImpl.State fromString(String s)
Copyright © 2014. All Rights Reserved.