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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    internalRenderTemplate(String templatePath, org.apache.click.Page page, Map<String,Object> model, Writer writer)
     

    Methods inherited from class org.apache.click.service.VelocityTemplateService

    getInitProperties, onDestroy, onInit, renderTemplate, renderTemplate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.apache.click.service.VelocityTemplateService
      Throws:
      IOException
      org.apache.click.service.TemplateException