org.directwebremoting.servlet
Class BaseEngineHandler

java.lang.Object
  extended by org.directwebremoting.servlet.CachingHandler
      extended by org.directwebremoting.servlet.TemplateHandler
          extended by org.directwebremoting.servlet.JavaScriptHandler
              extended by org.directwebremoting.servlet.FileJavaScriptHandler
                  extended by 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]

Constructor Summary
BaseEngineHandler()
          Setup the default values
 
Method Summary
 void setAllowGetButMakeForgeryEasier(boolean allowGetButMakeForgeryEasier)
           
 void setCookieAttributes(java.lang.String attributeString)
          Extra attributes to append to the DWRSESSIONID cookie (domain, secure, etc)
 void setHtmlCallHandlerUrl(java.lang.String htmlCallHandlerUrl)
           
 void setHtmlPollHandlerUrl(java.lang.String htmlPollHandlerUrl)
           
 void setMaxWaitAfterWrite(int maxWaitAfterWrite)
          Sometimes with proxies, you need to close the stream all the time to make the flush work.
 void setOverrideContextPath(java.lang.String overridePath)
          If we need to override the default contextPath
 void setOverridePath(java.lang.String overridePath)
          If we need to override the default path
 void setPlainCallHandlerUrl(java.lang.String plainCallHandlerUrl)
           
 void setPlainPollHandlerUrl(java.lang.String plainPollHandlerUrl)
           
 void setRemoter(Remoter remoter)
           
 void setScriptSessionManager(ScriptSessionManager scriptSessionManager)
           
 void setScriptTagProtection(java.lang.String scriptTagProtection)
          What is the string we use for script tag hack protection
 void setServerLoadMonitor(ServerLoadMonitor serverLoadMonitor)
          Are we supporting streaming?
 
Methods inherited from class org.directwebremoting.servlet.FileJavaScriptHandler
generateCachableContent
 
Methods inherited from class org.directwebremoting.servlet.JavaScriptHandler
setCompressor, setDebug
 
Methods inherited from class org.directwebremoting.servlet.CachingHandler
getMimeType, handle, setIgnoreLastModified, setMimeType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseEngineHandler

public BaseEngineHandler()
Setup the default values

Method Detail

setServerLoadMonitor

public void setServerLoadMonitor(ServerLoadMonitor serverLoadMonitor)
Are we supporting streaming?

Parameters:
serverLoadMonitor - the serverLoadMonitor to set

setAllowGetButMakeForgeryEasier

public void setAllowGetButMakeForgeryEasier(boolean allowGetButMakeForgeryEasier)
Parameters:
allowGetButMakeForgeryEasier - Do we reduce security

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

setOverridePath

public void setOverridePath(java.lang.String overridePath)
If we need to override the default path

Parameters:
overridePath - The new override path

setOverrideContextPath

public void setOverrideContextPath(java.lang.String overridePath)
If we need to override the default contextPath

Parameters:
overridePath - The new contextPath

setCookieAttributes

public void setCookieAttributes(java.lang.String attributeString)
Extra attributes to append to the DWRSESSIONID cookie (domain, secure, etc)

Parameters:
attributeString - attribute string according to cookie syntax

Copyright ยจ 2008