Class 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.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.click.service.VelocityTemplateService

        org.apache.click.service.VelocityTemplateService.LogChuteAdapter
    • 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 Detail

      • CdnVelocityTemplateService

        public CdnVelocityTemplateService()
    • Method Detail

      • internalRenderTemplate

        protected void internalRenderTemplate​(String templatePath,
                                              org.apache.click.Page page,
                                              Map<String,​?> 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