Interface WebTemplateFactory

    • Method Detail

      • addTemplate

        WebTemplate addTemplate​(boolean isSecure,
                                java.lang.String applicationPath,
                                java.io.Reader templateContent)
        Adds a WebTemplate.
        Parameters:
        isSecure - Indicates if requires secure ServerHttpConnection to render the WebTemplate.
        applicationPath - Application path to the WebTemplate. May contain path parameters.
        templateContent - Reader to the template content.
        Returns:
        WebTemplate.
      • addTemplate

        WebTemplate addTemplate​(boolean isSecure,
                                java.lang.String applicationPath,
                                java.lang.String locationOfTemplate)
        Adds a WebTemplate.
        Parameters:
        isSecure - Indicates if requires secure ServerHttpConnection to render the WebTemplate.
        applicationPath - Application path to the WebTemplate. May contain path parameters.
        locationOfTemplate - Location of the template content.
        Returns:
        WebTemplate.