FreeMarkerTemplateEngine
instead.@Deprecated public interface FreeMarkerTemplateEngine extends FreeMarkerTemplateEngine
DEFAULT_MAX_CACHE_SIZE, DEFAULT_TEMPLATE_EXTENSION
Modifier and Type | Method and Description |
---|---|
static FreeMarkerTemplateEngine |
create(io.vertx.core.Vertx vertx)
Deprecated.
Create a template engine using defaults
|
default void |
render(RoutingContext context,
String templateFileName,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler)
Deprecated.
|
setExtension, setMaxCacheSize
isCachingEnabled, render, render
static FreeMarkerTemplateEngine create(io.vertx.core.Vertx vertx)
create
in interface FreeMarkerTemplateEngine
@Deprecated default void render(RoutingContext context, String templateFileName, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler)
context
- the routing contexttemplateFileName
- the template file name to usehandler
- the handler that will be called with a result containing the buffer or a failure.Copyright © 2019 Eclipse. All rights reserved.