Class ClientResourceUrlFunctionMethod
- java.lang.Object
-
- org.springframework.extensions.webscripts.ClientResourceUrlFunctionMethod
-
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel,freemarker.template.TemplateMethodModelEx,freemarker.template.TemplateModel
public final class ClientResourceUrlFunctionMethod extends java.lang.Object implements freemarker.template.TemplateMethodModelEx- Author:
- muzquiano
Custom FreeMarker Template language method.
Render a client side javascript function to build resource urls to this service.
Usage: clientResourceUrlFunction(String funcName)
-
-
Constructor Summary
Constructors Constructor Description ClientResourceUrlFunctionMethod(WebScriptResponse res)Construct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectexec(java.util.List args)
-
-
-
Constructor Detail
-
ClientResourceUrlFunctionMethod
public ClientResourceUrlFunctionMethod(WebScriptResponse res)
Construct
-
-
Method Detail
-
exec
public java.lang.Object exec(java.util.List args) throws freemarker.template.TemplateModelException- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException- See Also:
TemplateMethodModel.exec(java.util.List)
-
-