Package org.atmosphere.interceptor
Enum InvokationOrder.PRIORITY
- java.lang.Object
-
- java.lang.Enum<InvokationOrder.PRIORITY>
-
- org.atmosphere.interceptor.InvokationOrder.PRIORITY
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InvokationOrder.PRIORITY>
- Enclosing interface:
- InvokationOrder
public static enum InvokationOrder.PRIORITY extends java.lang.Enum<InvokationOrder.PRIORITY>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_DEFAULTThe AtmosphereInterceptor must be executed after the default set of AtmosphereInterceptorBEFORE_DEFAULTThe AtmosphereInterceptor must be executed before the default set of AtmosphereInterceptor.FIRST_BEFORE_DEFAULTThe AtmosphereInterceptor must be executed at first, before any AtmosphereInterceptor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InvokationOrder.PRIORITYvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InvokationOrder.PRIORITY[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AFTER_DEFAULT
public static final InvokationOrder.PRIORITY AFTER_DEFAULT
The AtmosphereInterceptor must be executed after the default set of AtmosphereInterceptor
-
BEFORE_DEFAULT
public static final InvokationOrder.PRIORITY BEFORE_DEFAULT
The AtmosphereInterceptor must be executed before the default set of AtmosphereInterceptor. You can only add one instance perAtmosphereInterceptor
-
FIRST_BEFORE_DEFAULT
public static final InvokationOrder.PRIORITY FIRST_BEFORE_DEFAULT
The AtmosphereInterceptor must be executed at first, before any AtmosphereInterceptor.
-
-
Method Detail
-
values
public static InvokationOrder.PRIORITY[] 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 (InvokationOrder.PRIORITY c : InvokationOrder.PRIORITY.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvokationOrder.PRIORITY valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-