org.atmosphere.gwt20.client
Enum AtmosphereResponseImpl.State
java.lang.Object
java.lang.Enum<AtmosphereResponseImpl.State>
org.atmosphere.gwt20.client.AtmosphereResponseImpl.State
- All Implemented Interfaces:
- Serializable, Comparable<AtmosphereResponseImpl.State>
- Enclosing class:
- AtmosphereResponseImpl
public static enum AtmosphereResponseImpl.State
- extends Enum<AtmosphereResponseImpl.State>
MESSAGE_RECEIVED
public static final AtmosphereResponseImpl.State MESSAGE_RECEIVED
MESSAGE_PUBLISHED
public static final AtmosphereResponseImpl.State MESSAGE_PUBLISHED
OPENING
public static final AtmosphereResponseImpl.State OPENING
RE_OPENING
public static final AtmosphereResponseImpl.State RE_OPENING
CLOSED
public static final AtmosphereResponseImpl.State CLOSED
ERROR
public static final AtmosphereResponseImpl.State ERROR
values
public static AtmosphereResponseImpl.State[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AtmosphereResponseImpl.State c : AtmosphereResponseImpl.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AtmosphereResponseImpl.State valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<AtmosphereResponseImpl.State>
fromString
public static AtmosphereResponseImpl.State fromString(String s)
Copyright © 2014. All Rights Reserved.