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

## [Groovy] Class MVELTemplateEngine

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

- A template engine that uses the Handlebars library.

- - ### Constructor Summary

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

  - ### Methods Summary

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

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

  - ### Method Detail

    - #### static MVELTemplateEngine create()

      Create a template engine using defaults

      Returns:
        the engine

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

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

      Set the extension for the engine

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

    - #### MVELTemplateEngine setMaxCacheSize(int maxCacheSize)

      Set the max cache size for the engine

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