Class FreeMarkerTemplateProcessor


  • public class FreeMarkerTemplateProcessor
    extends TemplateProcessor
    Template Processor implementation for FreeMarker templating language
    • Constructor Detail

      • FreeMarkerTemplateProcessor

        public FreeMarkerTemplateProcessor()
    • Method Detail

      • processTemplate

        public String processTemplate​(String template,
                                      String mediaType,
                                      MessageContext messageContext)
        Description copied from class: TemplateProcessor
        Process the given template and return the output as String
        Specified by:
        processTemplate in class TemplateProcessor
        Parameters:
        template - Template string
        mediaType - Output media type
        messageContext - MessageContext
        Returns:
        The processed output
      • getTemplateStatus

        public boolean getTemplateStatus()
        Get whether the template format was received
        Specified by:
        getTemplateStatus in class TemplateProcessor
        Returns:
        Status of the format of the template