org.directwebremoting.server.jetty
Class JettyContinuationSleeper
java.lang.Object
org.directwebremoting.impl.BaseSleeper
org.directwebremoting.server.jetty.JettyContinuationSleeper
- All Implemented Interfaces:
- java.io.Serializable, Sleeper
public class JettyContinuationSleeper
- extends BaseSleeper
A Sleeper that works with Jetty Continuations
- Author:
- Joe Walker [joe at getahead dot ltd dot uk], Tim Peierls [tim at peierls dot net], Mike Wilson
- See Also:
- Serialized Form
|
Method Summary |
static JettyContinuationSleeper |
getSleeper(javax.servlet.http.HttpServletRequest request)
Retrieve a stashed sleeper from a request. |
void |
resumeWork()
The method that should be called by a background thread when we are being awakened |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyContinuationSleeper
public JettyContinuationSleeper(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
RealScriptSession scriptSession,
ScriptConduit conduit)
throws java.io.IOException
- Parameters:
request - The request into which we store this as an attributeconduit - scriptSession - response -
- Throws:
java.io.IOException
resumeWork
public void resumeWork()
- The method that should be called by a background thread when we are being awakened
getSleeper
public static JettyContinuationSleeper getSleeper(javax.servlet.http.HttpServletRequest request)
- Retrieve a stashed sleeper from a request.