| |
|
| java.lang.Object org.directwebremoting.impl.DefaultRemoter
All known Subclasses: org.directwebremoting.contrib.ParallelDefaultRemoter, org.directwebremoting.jaxer.impl.JaxerRemoter,
DefaultRemoter | public class DefaultRemoter implements Remoter(Code) | | In implementation of Remoter that delegates requests to a set of Modules
author: Joe Walker [joe at getahead dot ltd dot uk] author: Mike Wilson |
allowImpossibleTests | protected boolean allowImpossibleTests(Code) | | This helps us test that access rules are being followed
|
converterManager | protected ConverterManager converterManager(Code) | | How we convert beans - or in this case create client side classes
|
maxCallCount | protected int maxCallCount(Code) | | To prevent a DoS attack we limit the max number of calls that can be
made in a batch
|
overridePath | protected String overridePath(Code) | | If we need to override the default path
|
createMethodDefinitions | protected String createMethodDefinitions(String fullCreatorName)(Code) | | Create a list of method definitions for the given creator.
Parameters: fullCreatorName - To allow AccessControl to allow/deny requests |
createParameterDefinitions | protected String createParameterDefinitions(String scriptName)(Code) | | Output the class definitions for all the converted objects.
An optimization for this class might be to only generate class
definitions for classes used as parameters in the class that we are
currently generating a proxy for.
Currently the scriptName parameter is not used, we just
generate the class definitions for all types, however conceptually, it
should be used
Parameters: scriptName - The script for which we are generating parameter classes |
createPathDefinition | protected String createPathDefinition(String scriptName, String path)(Code) | | Create a _path member to point at DWR
Parameters: scriptName - The class that we are creating a member for Parameters: path - The default path to the DWR servlet |
execute | public Reply execute(Call call)(Code) | | Execute a single call object
Parameters: call - The call to execute A Reply to the Call |
getMethodJS | protected String getMethodJS(String scriptName, Method method)(Code) | | Generates Javascript for a given Java method
Parameters: scriptName - Name of the Javascript file, without ".js" suffix Parameters: method - Target method Javascript implementing the DWR call for the target method |
setAccessControl | public void setAccessControl(AccessControl accessControl)(Code) | | Accessor for the security manager
Parameters: accessControl - The accessControl to set. |
setAjaxFilterManager | public void setAjaxFilterManager(AjaxFilterManager ajaxFilterManager)(Code) | | Accessor for the AjaxFilterManager
Parameters: ajaxFilterManager - The AjaxFilterManager to set. |
setAllowImpossibleTests | public void setAllowImpossibleTests(boolean allowImpossibleTests)(Code) | | Do we allow impossible tests for debug purposes
Parameters: allowImpossibleTests - The allowImpossibleTests to set. |
setConverterManager | public void setConverterManager(ConverterManager converterManager)(Code) | | Accessor for the ConverterManager that we configure
Parameters: converterManager - The new ConverterManager |
setCreatorManager | public void setCreatorManager(CreatorManager creatorManager)(Code) | | Accessor for the CreatorManager that we configure
Parameters: creatorManager - The new ConverterManager |
setDebug | public void setDebug(boolean debug)(Code) | | Set the debug status
Parameters: debug - The new debug setting |
setMaxCallCount | public void setMaxCallCount(int maxCallCount)(Code) | | To prevent a DoS attack we limit the max number of calls that can be
made in a batch
Parameters: maxCallCount - the maxCallCount to set |
setOverridePath | public void setOverridePath(String overridePath)(Code) | | If we need to override the default path
Parameters: overridePath - The new override path |
setUseAbsolutePath | public void setUseAbsolutePath(boolean useAbsolutePath)(Code) | | By default we use a relative path to the DWR servlet which can help if
there are several routes to the servlet. However it can be a pain if
the DWR engine is running on a different port from the web-server.
However this is a minority case so this is not officially supported.
Parameters: useAbsolutePath - Does DWR generate an absolute _path property |
|
|
|