public static enum Action.TYPE extends Enum<Action.TYPE>
| Enum Constant and Description |
|---|
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 and interrupt the invocation of 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(). |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
AtmosphereHandlerpublic static final Action.TYPE CONTINUE
AtmosphereHandlerpublic static final Action.TYPE CREATED
AtmosphereHandlerpublic static final Action.TYPE DESTROYED
public static final Action.TYPE SUSPEND_MESSAGE
public static final Action.TYPE SKIP_ATMOSPHEREHANDLER
AtmosphereHandler and interrupt the invocation of all AtmosphereInterceptor.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 nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.