|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.server.tomcat.TomcatContainerAbstraction
public class TomcatContainerAbstraction
An abstraction of the servlet container that is specific to Tomcat
| Constructor Summary | |
|---|---|
TomcatContainerAbstraction()
|
|
| Method Summary | |
|---|---|
Sleeper |
createSleeper(javax.servlet.http.HttpServletRequest request)
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 |
isNativeEnvironment(javax.servlet.ServletConfig servletConfig)
We ask ContainerAbstractions to identify if the environment given is 'theirs'. |
boolean |
isResponseCompleted(javax.servlet.http.HttpServletRequest request)
Some async-servlet implementations (Jetty) restart requests, when we might have already completed dealing with them. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TomcatContainerAbstraction()
| Method Detail |
|---|
public boolean isResponseCompleted(javax.servlet.http.HttpServletRequest request)
ContainerAbstraction
isResponseCompleted in interface ContainerAbstractionrequest - The request that we might be finished with
public boolean isNativeEnvironment(javax.servlet.ServletConfig servletConfig)
ContainerAbstraction
isNativeEnvironment in interface ContainerAbstractionservletConfig - Access to ServletContext etc.
public Sleeper createSleeper(javax.servlet.http.HttpServletRequest request)
ContainerAbstraction
createSleeper in interface ContainerAbstractionrequest - The Sleeper will probably need to know about the request
public java.lang.Class<? extends ServerLoadMonitor> getServerLoadMonitorImplementation()
ContainerAbstraction
getServerLoadMonitorImplementation in interface ContainerAbstraction
|
Copyright ¨ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||