org.atmosphere.gwt20.client
Enum AtmosphereResponseImpl.State

java.lang.Object
  extended by java.lang.Enum<AtmosphereResponseImpl.State>
      extended by 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>


Enum Constant Summary
CLOSED
           
ERROR
           
MESSAGE_PUBLISHED
           
MESSAGE_RECEIVED
           
OPENING
           
RE_OPENING
           
UNSUBSCRIBE
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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

UNSUBSCRIBE

public static final AtmosphereResponseImpl.State UNSUBSCRIBE

ERROR

public static final AtmosphereResponseImpl.State ERROR
Method Detail

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 © 2015. All Rights Reserved.