public final class Action extends Object
AtmosphereInterceptor
, AsyncSupport
and AtmosphereFramework
to determine
what to do with a request, e.g suspend it, resume it, etc.Modifier and Type | Class and Description |
---|---|
static class |
Action.TYPE
The action's type.
|
Modifier and Type | Field and Description |
---|---|
static Action |
CANCELLED |
static Action |
CONTINUE |
static Action |
CREATED |
static Action |
DESTROYED |
static Action |
RESUME |
static Action |
SKIP_ATMOSPHEREHANDLER |
static Action |
SUSPEND |
Constructor and Description |
---|
Action() |
Action(Action.TYPE type) |
Action(Action.TYPE type,
boolean immutable) |
Action(Action.TYPE type,
long timeout) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
long |
timeout() |
Action |
timeout(long timeout) |
String |
toString() |
Action.TYPE |
type() |
Action |
type(Action.TYPE type) |
public static final Action CANCELLED
public static final Action CONTINUE
public static final Action CREATED
public static final Action RESUME
public static final Action SUSPEND
public static final Action DESTROYED
public static final Action SKIP_ATMOSPHEREHANDLER
public Action()
public Action(Action.TYPE type)
public Action(Action.TYPE type, boolean immutable)
public Action(Action.TYPE type, long timeout)
public Action.TYPE type()
public Action type(Action.TYPE type)
public long timeout()
public Action timeout(long timeout)
Copyright © 2016. All rights reserved.