org.atmosphere.cpr
Class Action
java.lang.Object
org.atmosphere.cpr.Action
public final class Action
- extends Object
An Action is used by AtmosphereInterceptor, AsyncSupport and AtmosphereFramework to determine
what to do with a request, e.g suspend it, resume it, etc.
- Author:
- Jeanfrancois Arcand
|
Nested Class Summary |
static class |
Action.TYPE
The action's type. |
CANCELLED
public static final Action CANCELLED
CONTINUE
public static final Action CONTINUE
CREATED
public static final Action CREATED
RESUME
public static final Action RESUME
SUSPEND
public static final Action SUSPEND
DESTROYED
public static final Action DESTROYED
SKIP_ATMOSPHEREHANDLER
public static final Action SKIP_ATMOSPHEREHANDLER
Action
public Action()
Action
public Action(Action.TYPE type)
Action
public Action(Action.TYPE type,
long timeout)
type
public Action.TYPE type()
type
public Action type(Action.TYPE type)
timeout
public long timeout()
timeout
public Action timeout(long timeout)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.