Class PebbleTemplateEngine

  • All Implemented Interfaces:
    io.vertx.lang.rx.RxDelegate

    public class PebbleTemplateEngine
    extends TemplateEngine
    implements io.vertx.lang.rx.RxDelegate
    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​(Object delegate)
    • Method Detail

      • 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,
                                                  io.pebbletemplates.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,
                                                  io.pebbletemplates.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