Class: FreeMarkerTemplateEngine

vertx-web-js/free_marker_template_engine~ FreeMarkerTemplateEngine

new FreeMarkerTemplateEngine()

A template engine that uses the FreeMarker library.
Source:

Methods

render(arg0, arg1, arg2)

Parameters:
Name Type Description
arg0 RoutingContext
arg1 string
arg2 function
Source:

setExtension(extension) → {FreeMarkerTemplateEngine}

Set the extension for the engine
Parameters:
Name Type Description
extension string the extension
Source:
Returns:
a reference to this for fluency
Type
FreeMarkerTemplateEngine

setMaxCacheSize(maxCacheSize) → {FreeMarkerTemplateEngine}

Set the max cache size for the engine
Parameters:
Name Type Description
maxCacheSize number the maxCacheSize
Source:
Returns:
a reference to this for fluency
Type
FreeMarkerTemplateEngine