| Package | Description |
|---|---|
| io.mangoo.templating | |
| io.mangoo.templating.freemarker | |
| io.mangoo.templating.pebble |
| Modifier and Type | Method and Description |
|---|---|
String |
TemplateEngine.render(Flash flash,
Session session,
Form form,
Messages messages,
String templatePath,
Map<String,Object> content)
Renders a template for a specific controller class and method
|
String |
TemplateEngine.render(String pathPrefix,
String templateName,
Map<String,Object> content)
Renders a template for a specific controller class and method
|
String |
TemplateEngine.renderException(io.undertow.server.HttpServerExchange exchange,
Throwable cause,
boolean templateException)
When in dev mode, this method is used to pass the framework exception to the frontend
|
| Modifier and Type | Method and Description |
|---|---|
String |
TemplateEngineFreemarker.render(Flash flash,
Session session,
Form form,
Messages messages,
String templatePath,
Map<String,Object> content) |
String |
TemplateEngineFreemarker.render(String pathPrefix,
String templateName,
Map<String,Object> content) |
String |
TemplateEngineFreemarker.renderException(io.undertow.server.HttpServerExchange exchange,
Throwable cause,
boolean templateException) |
| Modifier and Type | Method and Description |
|---|---|
String |
TemplateEnginePebble.render(Flash flash,
Session session,
Form form,
Messages messages,
String templatePath,
Map<String,Object> content) |
String |
TemplateEnginePebble.render(String pathPrefix,
String templateName,
Map<String,Object> content) |
String |
TemplateEnginePebble.renderException(io.undertow.server.HttpServerExchange exchange,
Throwable cause,
boolean templateException) |
Copyright © 2016. All rights reserved.