| java.lang.Object org.directwebremoting.dwrp.BaseCallMarshaller
All known Subclasses: org.directwebremoting.dwrp.PlainCallMarshaller, org.directwebremoting.dwrp.HtmlCallMarshaller,
BaseCallMarshaller | abstract public class BaseCallMarshaller implements Marshaller(Code) | | A Marshaller that output plain Javascript.
This marshaller can be tweaked to output Javascript in an HTML context.
This class works in concert with CallScriptConduit, they should be
considered closely related and it is important to understand what one does
while editing the other.
author: Joe Walker [joe at getahead dot ltd dot uk] |
Inner Class :protected class CallScriptConduit extends ScriptConduit | |
ATTRIBUTE_BATCH | final protected static String ATTRIBUTE_BATCH(Code) | | How we stash away the results of the request parse
|
crossDomainSessionSecurity | protected boolean crossDomainSessionSecurity(Code) | | To we perform cross-domain session security checks?
|
debugScriptOutput | protected boolean debugScriptOutput(Code) | | Do we debug all the scripts that we output?
|
jsonOutput | protected boolean jsonOutput(Code) | | Are we outputting in JSON mode?
|
log | final protected static Log log(Code) | | The log stream
|
pageNormalizer | protected PageNormalizer pageNormalizer(Code) | | How we turn pages into the canonical form.
|
sessionCookieName | protected String sessionCookieName(Code) | | The session cookie name
|
getOutboundMimeType | abstract protected String getOutboundMimeType()(Code) | | What mime type should we send to the browser for this data?
A mime-type |
isConvertable | public boolean isConvertable(Class> paramType)(Code) | | |
isJsonOutput | public boolean isJsonOutput()(Code) | | Are we outputting in JSON mode? |
marshallInbound | public Calls marshallInbound(Batch batch)(Code) | | Convert batch into calls.
Parameters: batch - The data we've parsed from the request The function calls to make |
sendOutboundScriptPrefix | abstract protected void sendOutboundScriptPrefix(PrintWriter out, String batchId) throws IOException(Code) | | iframe mode starts as HTML, so get into script mode
Parameters: out - The stream to write to Parameters: batchId - The batch identifier so we can prepare the environment throws: IOException - If the write fails |
sendOutboundScriptSuffix | abstract protected void sendOutboundScriptSuffix(PrintWriter out, String batchId) throws IOException(Code) | | iframe mode needs to get out of script mode
Parameters: out - The stream to write to Parameters: batchId - The batch identifier so we can prepare the environment throws: IOException - If the write fails |
sendScript | abstract protected void sendScript(PrintWriter out, String script) throws IOException(Code) | | Send a script to the browser
Parameters: out - The stream to write to Parameters: script - The script to send throws: IOException - If the write fails |
setAccessControl | public void setAccessControl(AccessControl accessControl)(Code) | | Accessor for the security manager
Parameters: accessControl - The accessControl to set. |
setAllowGetForSafariButMakeForgeryEasier | public void setAllowGetForSafariButMakeForgeryEasier(boolean allowGetForSafariButMakeForgeryEasier)(Code) | | Parameters: allowGetForSafariButMakeForgeryEasier - Do we reduce security to help Safari |
setConverterManager | public void setConverterManager(ConverterManager converterManager)(Code) | | Accessor for the DefaultCreatorManager that we configure
Parameters: converterManager - The new DefaultConverterManager |
setCreatorManager | public void setCreatorManager(CreatorManager creatorManager)(Code) | | Accessor for the DefaultCreatorManager that we configure
Parameters: creatorManager - The new DefaultConverterManager |
setCrossDomainSessionSecurity | public void setCrossDomainSessionSecurity(boolean crossDomainSessionSecurity)(Code) | | To we perform cross-domain session security checks?
Parameters: crossDomainSessionSecurity - the cross domain session security setting |
setDebugScriptOutput | public void setDebugScriptOutput(boolean debugScriptOutput)(Code) | | Do we debug all the scripts that we output?
Parameters: debugScriptOutput - true to debug all of the output scripts (verbose) |
setJsonOutput | public void setJsonOutput(boolean jsonOutput)(Code) | | Parameters: jsonOutput - Are we outputting in JSON mode? |
setPageNormalizer | public void setPageNormalizer(PageNormalizer pageNormalizer)(Code) | | Accessor for the PageNormalizer.
Parameters: pageNormalizer - The new PageNormalizer |
setSessionCookieName | public void setSessionCookieName(String sessionCookieName)(Code) | | Alter the session cookie name from the default JSESSIONID.
Parameters: sessionCookieName - the sessionCookieName to set |
|
|