org.directwebremoting.servlet
Class BaseEngineHandler
java.lang.Object
org.directwebremoting.servlet.CachingHandler
org.directwebremoting.servlet.TemplateHandler
org.directwebremoting.servlet.JavaScriptHandler
org.directwebremoting.servlet.FileJavaScriptHandler
org.directwebremoting.servlet.BaseEngineHandler
- All Implemented Interfaces:
- Handler
- Direct Known Subclasses:
- AmdEngineHandler, DojoEngineHandler, EngineHandler
public class BaseEngineHandler
- extends FileJavaScriptHandler
A Handler that supports requests for engine.js
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseEngineHandler
public BaseEngineHandler()
- Setup the default values
setServerLoadMonitor
public void setServerLoadMonitor(ServerLoadMonitor serverLoadMonitor)
- Are we supporting streaming?
- Parameters:
serverLoadMonitor - the serverLoadMonitor to set
setAllowGetForSafariButMakeForgeryEasier
public void setAllowGetForSafariButMakeForgeryEasier(boolean allowGetForSafariButMakeForgeryEasier)
- Parameters:
allowGetForSafariButMakeForgeryEasier - Do we reduce security to help Safari
setScriptTagProtection
public void setScriptTagProtection(java.lang.String scriptTagProtection)
- What is the string we use for script tag hack protection
- Parameters:
scriptTagProtection - the scriptTagProtection to set
setMaxWaitAfterWrite
public void setMaxWaitAfterWrite(int maxWaitAfterWrite)
- Sometimes with proxies, you need to close the stream all the time to
make the flush work. A value of -1 indicated that we do not do early
closing after writes.
- Parameters:
maxWaitAfterWrite - the maxWaitAfterWrite to set
setPlainCallHandlerUrl
public void setPlainCallHandlerUrl(java.lang.String plainCallHandlerUrl)
- Parameters:
plainCallHandlerUrl - the plainCallHandlerUrl to set
setPlainPollHandlerUrl
public void setPlainPollHandlerUrl(java.lang.String plainPollHandlerUrl)
- Parameters:
plainPollHandlerUrl - the plainPollHandlerUrl to set
setHtmlCallHandlerUrl
public void setHtmlCallHandlerUrl(java.lang.String htmlCallHandlerUrl)
- Parameters:
htmlCallHandlerUrl - the htmlCallHandlerUrl to set
setHtmlPollHandlerUrl
public void setHtmlPollHandlerUrl(java.lang.String htmlPollHandlerUrl)
- Parameters:
htmlPollHandlerUrl - the htmlPollHandlerUrl to set
setRemoter
public void setRemoter(Remoter remoter)
- Parameters:
remoter - the remoter to set
setScriptSessionManager
public void setScriptSessionManager(ScriptSessionManager scriptSessionManager)
- Parameters:
scriptSessionManager - the scriptSessionManager to set