Class PebbleViewDispatcher

  • All Implemented Interfaces:
    ViewDispatcher

    public class PebbleViewDispatcher
    extends java.lang.Object
    implements ViewDispatcher
    The Class PebbleViewDispatcher.

    Created: 2016. 1. 27.

    Since:
    2.0.0
    • Constructor Detail

      • PebbleViewDispatcher

        public PebbleViewDispatcher​(com.mitchellbosecke.pebble.PebbleEngine pebbleEngine)
    • Method Detail

      • setContentType

        public void setContentType​(java.lang.String contentType)
      • setTemplateNamePrefix

        public void setTemplateNamePrefix​(java.lang.String templateNamePrefix)
        Sets the prefix for the template name.
        Parameters:
        templateNamePrefix - the new prefix for the template name
      • setTemplateNameSuffix

        public void setTemplateNameSuffix​(java.lang.String templateNameSuffix)
        Sets the suffix for the template name.
        Parameters:
        templateNameSuffix - the new suffix for the template name
      • isSingleton

        public boolean isSingleton()
        Description copied from interface: ViewDispatcher
        Return whether this view dispatcher corresponds to a singleton instance.
        Specified by:
        isSingleton in interface ViewDispatcher
        Returns:
        whether this view dispatcher corresponds to a singleton instance