Package com.avoka.fc.core.click
Class CdnVelocityTemplateService
java.lang.Object
org.apache.click.service.VelocityTemplateService
com.avoka.fc.core.click.CdnVelocityTemplateService
- All Implemented Interfaces:
org.apache.click.service.TemplateService
public class CdnVelocityTemplateService
extends org.apache.click.service.VelocityTemplateService
The CdnVelocityTemplateService class is used for click to replace cdn url.
-
Field Summary
Fields inherited from class org.apache.click.service.VelocityTemplateService
configService, DEFAULT_TEMPLATE_PROPS, deployedErrorTemplate, deployedNotFoundTemplate, ERROR_PAGE_PATH, MACRO_VM_FILE_NAME, NOT_FOUND_PAGE_PATH, velocityEngine, VM_FILE_PATH, WRITER_BUFFER_SIZE, writerPool
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.click.service.VelocityTemplateService
getInitProperties, onDestroy, onInit, renderTemplate, renderTemplate
-
Constructor Details
-
CdnVelocityTemplateService
public CdnVelocityTemplateService()
-
-
Method Details
-
internalRenderTemplate
protected void internalRenderTemplate(String templatePath, org.apache.click.Page page, Map<String, Object> model, Writer writer) throws IOException, org.apache.click.service.TemplateException- Overrides:
internalRenderTemplate
in classorg.apache.click.service.VelocityTemplateService
- Throws:
IOException
org.apache.click.service.TemplateException
-