| |
|
| java.lang.Object org.directwebremoting.impl.JettyContinuationSleeper
JettyContinuationSleeper | public class JettyContinuationSleeper implements Sleeper(Code) | | A Sleeper that works with Jetty Continuations
author: Joe Walker [joe at getahead dot ltd dot uk] |
ATTRIBUTE_JETTY_CONDUIT | final public static String ATTRIBUTE_JETTY_CONDUIT(Code) | | We remember the notify conduit so we can reuse it
|
resumed | protected boolean resumed(Code) | | Has the continuation been restarted already?
|
JettyContinuationSleeper | public JettyContinuationSleeper(HttpServletRequest request)(Code) | | Parameters: request - The request into which we store this as an attribute |
isRestart | public static boolean isRestart(HttpServletRequest request)(Code) | | Is this a restarted continuation?
Parameters: request - The request on which a Sleeper might be stored true if this request is from a restarted Continuation |
restart | public static void restart(HttpServletRequest request)(Code) | | Act on a restarted continuation by executing the onAwakening action
Parameters: request - The request on which the Sleeper is stored |
wakeUp | public void wakeUp()(Code) | | |
|
|
|