|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.server.jetty.JettyContinuationContainerAbstraction
public class JettyContinuationContainerAbstraction
An abstraction of the servlet container that is specific to Jetty
| Constructor Summary | |
|---|---|
JettyContinuationContainerAbstraction()
|
|
| Method Summary | |
|---|---|
Sleeper |
createSleeper(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
RealScriptSession scriptSession,
ScriptConduit conduit)
Create a sleeper that is appropriate for the given servlet container |
java.lang.Class<? extends ServerLoadMonitor> |
getServerLoadMonitorImplementation()
The setup process allows the ContainerAbstraction to select a special ServerLoadMonitor implementation |
boolean |
handleResumedRequest(javax.servlet.http.HttpServletRequest request)
Some async-servlet implementations (Jetty) restart requests, when we might have already completed dealing with them. |
boolean |
isNativeEnvironment(javax.servlet.ServletConfig servletConfig)
We ask ContainerAbstractions to identify if the environment given is 'theirs'. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JettyContinuationContainerAbstraction()
| Method Detail |
|---|
public boolean isNativeEnvironment(javax.servlet.ServletConfig servletConfig)
ContainerAbstraction
isNativeEnvironment in interface ContainerAbstractionservletConfig - Access to ServletContext etc.
public java.lang.Class<? extends ServerLoadMonitor> getServerLoadMonitorImplementation()
ContainerAbstraction
getServerLoadMonitorImplementation in interface ContainerAbstractionpublic boolean handleResumedRequest(javax.servlet.http.HttpServletRequest request)
ContainerAbstraction
handleResumedRequest in interface ContainerAbstractionrequest - The request that we might be finished with
public Sleeper createSleeper(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
RealScriptSession scriptSession,
ScriptConduit conduit)
throws java.io.IOException
ContainerAbstraction
createSleeper in interface ContainerAbstractionrequest - The Sleeper will probably need to know about the requestresponse - The Sleeper will probably need to know about the responsescriptSession - The Sleeper will probably need to know about the scriptSessionconduit - The Sleeper will probably need to know about the conduit
java.io.IOException
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||