Package io.vertx.ext.web.templ.rocker

## Interface RockerTemplateEngine

- All Superinterfaces:
    `TemplateEngine`

      public interface RockerTemplateEngine
      extends TemplateEngine

  A template engine that uses the Rocker library.
  Author:
    Xianguang Zhou

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static String` | `DEFAULT_TEMPLATE_EXTENSION` | Default template extension

  - ### Method Summary

    Static Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static RockerTemplateEngine` | `create()` | Create a template engine using defaults
    `static RockerTemplateEngine` | `create​(String extension)` | Create a template engine using a custom extension

    - ### Methods inherited from interface io.vertx.ext.web.common.template.TemplateEngine

      `clearCache, render, render, unwrap`

- - ### Field Detail

    - #### DEFAULT_TEMPLATE_EXTENSION

          static final String DEFAULT_TEMPLATE_EXTENSION

      Default template extension
      See Also:
        Constant Field Values

  - ### Method Detail

    - #### create

          static RockerTemplateEngine create()

      Create a template engine using defaults
      Returns:
        the engine

    - #### create

          static RockerTemplateEngine create​(String extension)

      Create a template engine using a custom extension
      Returns:
        the engine