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

## [Groovy] Class HandlebarsTemplateEngine

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

- A template engine that uses the Handlebars library.

- - ### Constructor Summary

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

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static HandlebarsTemplateEngine` | `create()` Create a template engine using defaults
    `java.lang.Object` | `getDelegate()`
    `HandlebarsTemplateEngine` | `setExtension(java.lang.String extension)` Set the extension for the engine
    `HandlebarsTemplateEngine` | `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

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

  - ### Method Detail

    - #### static HandlebarsTemplateEngine create()

      Create a template engine using defaults

      Returns:
        the engine

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

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

      Set the extension for the engine

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

    - #### HandlebarsTemplateEngine setMaxCacheSize(int maxCacheSize)

      Set the max cache size for the engine

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