|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Action.TYPE>
org.atmosphere.cpr.Action.TYPE
public static enum Action.TYPE
The action's type.
| Enum Constant Summary | |
|---|---|
CANCELLED
Cancel the current connection/response and close it. |
|
CONTINUE
Continue the processing of the request. |
|
CREATED
Mark this action as created. |
|
DESTROYED
Mark this action as destroyed. |
|
RESUME
Resume the underlying connection/response. |
|
SKIP_ATMOSPHEREHANDLER
Skip the invocation of AtmosphereHandler, but invoke all AtmosphereInterceptor. |
|
SUSPEND
SUSPEND the underlying connection/response. |
|
SUSPEND_MESSAGE
Fake suspend for WebSocket Message |
|
TIMEOUT
Timeout the underlying connection/response and invoke the AtmosphereResource.resume(). |
|
| Method Summary | |
|---|---|
static Action.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Action.TYPE[] |
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 |
|---|
public static final Action.TYPE SUSPEND
AtmosphereHandler.onStateChange(AtmosphereResourceEvent)
public static final Action.TYPE RESUME
AtmosphereHandler.onStateChange(AtmosphereResourceEvent)
public static final Action.TYPE TIMEOUT
AtmosphereResource.resume().
The request will be dispatched to framework/container via AtmosphereHandler.onStateChange(AtmosphereResourceEvent)
public static final Action.TYPE CANCELLED
AtmosphereHandler
public static final Action.TYPE CONTINUE
AtmosphereHandler
public static final Action.TYPE CREATED
AtmosphereHandler
public static final Action.TYPE DESTROYED
public static final Action.TYPE SUSPEND_MESSAGE
public static final Action.TYPE SKIP_ATMOSPHEREHANDLER
AtmosphereHandler, but invoke all AtmosphereInterceptor.
| Method Detail |
|---|
public static Action.TYPE[] values()
for (Action.TYPE c : Action.TYPE.values()) System.out.println(c);
public static Action.TYPE valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||