org.directwebremoting.dwrp
Class BaseScriptConduit
java.lang.Object
org.directwebremoting.dwrp.BaseScriptConduit
- All Implemented Interfaces:
- ScriptConduit
- Direct Known Subclasses:
- HtmlScriptConduit, PlainScriptConduit
public abstract class BaseScriptConduit
- extends java.lang.Object
- implements ScriptConduit
A ScriptConduit that works with the parent Marshaller.
In some ways this is nasty because it has access to essentially private parts
of BasePollHandler, however there is nowhere sensible to store them
within that class, so this is a hacky simplification.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
|
Constructor Summary |
BaseScriptConduit(java.io.PrintWriter out,
java.lang.String instanceId)
Simple ctor |
|
Method Summary |
void |
setAccessLogLevel(java.lang.String accessLogLevel)
When and what should we log? Options are (specified in the DWR servlet's init-params):
1) call (start of call + successful return values). |
void |
setDebugScriptOutput(boolean debugScriptOutput)
Do we debug all the scripts that we output? |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseScriptConduit
public BaseScriptConduit(java.io.PrintWriter out,
java.lang.String instanceId)
- Simple ctor
setAccessLogLevel
public void setAccessLogLevel(java.lang.String accessLogLevel)
- When and what should we log? Options are (specified in the DWR servlet's init-params):
1) call (start of call + successful return values).
2) exception (checked) - default for debug.
3) runtimeexception (unchecked).
4) error - default for production.
5) off.
setDebugScriptOutput
public void setDebugScriptOutput(boolean debugScriptOutput)
- Do we debug all the scripts that we output?
- Parameters:
debugScriptOutput - true to debug all of the output scripts (verbose)