Class PebbleTemplateEngine


  • public class PebbleTemplateEngine
    extends TemplateEngine
    A template engine that uses the Pebble library. The TemplateEngine.unwrap() shall return an object of class

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • PebbleTemplateEngine

        public PebbleTemplateEngine​(io.vertx.ext.web.templ.pebble.PebbleTemplateEngine delegate)
      • PebbleTemplateEngine

        public PebbleTemplateEngine​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.web.templ.pebble.PebbleTemplateEngine getDelegate()
        Overrides:
        getDelegate in class TemplateEngine
      • create

        public static PebbleTemplateEngine create​(Vertx vertx)
        Create a template engine using defaults
        Parameters:
        vertx -
        Returns:
        the engine
      • create

        public static PebbleTemplateEngine create​(Vertx vertx,
                                                  String extension)
        Create a template engine using defaults
        Parameters:
        vertx -
        extension -
        Returns:
        the engine
      • create

        public static PebbleTemplateEngine create​(Vertx vertx,
                                                  com.mitchellbosecke.pebble.PebbleEngine engine)
        Create a template engine using a custom Builder, e.g. if you want use custom Filters or Functions.
        Parameters:
        vertx -
        engine -
        Returns:
        the engine
      • create

        public static PebbleTemplateEngine create​(Vertx vertx,
                                                  String extension,
                                                  com.mitchellbosecke.pebble.PebbleEngine engine)
        Create a template engine using a custom Builder, e.g. if you want use custom Filters or Functions.
        Parameters:
        vertx -
        extension -
        engine -
        Returns:
        the engine
      • newInstance

        public static PebbleTemplateEngine newInstance​(io.vertx.ext.web.templ.pebble.PebbleTemplateEngine arg)