public class FreeMarkerTemplateEngine extends TemplateEngine
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<FreeMarkerTemplateEngine> |
__TYPE_ARG |
static int |
DEFAULT_MAX_CACHE_SIZE
Default max number of templates to cache
|
static String |
DEFAULT_TEMPLATE_EXTENSION
Default template extension
|
Constructor and Description |
---|
FreeMarkerTemplateEngine(io.vertx.ext.web.templ.freemarker.FreeMarkerTemplateEngine delegate) |
Modifier and Type | Method and Description |
---|---|
static FreeMarkerTemplateEngine |
create(Vertx vertx)
Create a template engine using defaults
|
boolean |
equals(Object o) |
io.vertx.ext.web.templ.freemarker.FreeMarkerTemplateEngine |
getDelegate() |
int |
hashCode() |
static FreeMarkerTemplateEngine |
newInstance(io.vertx.ext.web.templ.freemarker.FreeMarkerTemplateEngine arg) |
FreeMarkerTemplateEngine |
setExtension(String extension)
Deprecated.
|
FreeMarkerTemplateEngine |
setMaxCacheSize(int maxCacheSize)
Set the max cache size for the engine
|
String |
toString() |
isCachingEnabled, newInstance, render, render, renderObservable, renderObservable, rxRender, rxRender
public static final TypeArg<FreeMarkerTemplateEngine> __TYPE_ARG
public static final int DEFAULT_MAX_CACHE_SIZE
public static final String DEFAULT_TEMPLATE_EXTENSION
public FreeMarkerTemplateEngine(io.vertx.ext.web.templ.freemarker.FreeMarkerTemplateEngine delegate)
public String toString()
toString
in class TemplateEngine
public boolean equals(Object o)
equals
in class TemplateEngine
public int hashCode()
hashCode
in class TemplateEngine
public io.vertx.ext.web.templ.freemarker.FreeMarkerTemplateEngine getDelegate()
getDelegate
in class TemplateEngine
public static FreeMarkerTemplateEngine create(Vertx vertx)
vertx
- @Deprecated public FreeMarkerTemplateEngine setExtension(String extension)
extension
- the extensionpublic FreeMarkerTemplateEngine setMaxCacheSize(int maxCacheSize)
maxCacheSize
- the maxCacheSizepublic static FreeMarkerTemplateEngine newInstance(io.vertx.ext.web.templ.freemarker.FreeMarkerTemplateEngine arg)
Copyright © 2019 Eclipse. All rights reserved.