Package: io.vertx.groovy.ext.web.templ

## [Groovy] Class PebbleTemplateEngine

- io.vertx.groovy.ext.web.templ.PebbleTemplateEngine

- A template engine that uses the Pebble library.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `PebbleTemplateEngine (java.lang.Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static PebbleTemplateEngine` | `create(Vertx vertx)` Create a template engine using defaults
    `java.lang.Object` | `getDelegate()`
    `PebbleTemplateEngine` | `setExtension(java.lang.String extension)` Set the extension for the engine
    `PebbleTemplateEngine` | `setMaxCacheSize(int maxCacheSize)` Set the max cache size for the engine

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class TemplateEngine` | `getDelegate, render`
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Constructor Detail

    - #### PebbleTemplateEngine(java.lang.Object delegate)

  - ### Method Detail

    - #### static PebbleTemplateEngine create(Vertx vertx)

      Create a template engine using defaults

      Returns:
        the engine
      Parameters:
        vertx

    - #### java.lang.Object getDelegate()

    - #### PebbleTemplateEngine setExtension(java.lang.String extension)

      Set the extension for the engine

      Returns:
        a reference to this for fluency
      Parameters:
        `extension` - the extension

    - #### PebbleTemplateEngine setMaxCacheSize(int maxCacheSize)

      Set the max cache size for the engine

      Returns:
        a reference to this for fluency
      Parameters:
        `maxCacheSize` - the maxCacheSize