org.atmosphere.jersey
Enum AtmosphereFilter.Action

java.lang.Object
  extended by java.lang.Enum<AtmosphereFilter.Action>
      extended by org.atmosphere.jersey.AtmosphereFilter.Action
All Implemented Interfaces:
Serializable, Comparable<AtmosphereFilter.Action>
Enclosing class:
AtmosphereFilter

protected static enum AtmosphereFilter.Action
extends Enum<AtmosphereFilter.Action>


Enum Constant Summary
ASYNCHRONOUS
           
BROADCAST
           
NONE
           
PUBLISH
           
RESUME
           
RESUME_ON_BROADCAST
           
SCHEDULE
           
SCHEDULE_RESUME
           
SUBSCRIBE
           
SUSPEND
           
SUSPEND_RESPONSE
           
SUSPEND_RESUME
           
 
Method Summary
static AtmosphereFilter.Action valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AtmosphereFilter.Action[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUSPEND

public static final AtmosphereFilter.Action SUSPEND

RESUME

public static final AtmosphereFilter.Action RESUME

BROADCAST

public static final AtmosphereFilter.Action BROADCAST

SUSPEND_RESUME

public static final AtmosphereFilter.Action SUSPEND_RESUME

SCHEDULE_RESUME

public static final AtmosphereFilter.Action SCHEDULE_RESUME

RESUME_ON_BROADCAST

public static final AtmosphereFilter.Action RESUME_ON_BROADCAST

NONE

public static final AtmosphereFilter.Action NONE

SCHEDULE

public static final AtmosphereFilter.Action SCHEDULE

SUSPEND_RESPONSE

public static final AtmosphereFilter.Action SUSPEND_RESPONSE

SUBSCRIBE

public static final AtmosphereFilter.Action SUBSCRIBE

PUBLISH

public static final AtmosphereFilter.Action PUBLISH

ASYNCHRONOUS

public static final AtmosphereFilter.Action ASYNCHRONOUS
Method Detail

values

public static AtmosphereFilter.Action[] 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 (AtmosphereFilter.Action c : AtmosphereFilter.Action.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AtmosphereFilter.Action 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


Copyright © 2013. All Rights Reserved.