public static enum AtmosphereResponseImpl.State extends java.lang.Enum<AtmosphereResponseImpl.State>
| Enum Constant and Description |
|---|
CLOSED |
ERROR |
MESSAGE_PUBLISHED |
MESSAGE_RECEIVED |
OPENING |
RE_OPENING |
UNSUBSCRIBE |
| Modifier and Type | Method and Description |
|---|---|
static AtmosphereResponseImpl.State |
fromString(java.lang.String s) |
java.lang.String |
toString() |
static AtmosphereResponseImpl.State |
valueOf(java.lang.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 UNSUBSCRIBE
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(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 java.lang.String toString()
toString in class java.lang.Enum<AtmosphereResponseImpl.State>public static AtmosphereResponseImpl.State fromString(java.lang.String s)
Copyright © 2019. All Rights Reserved.