public interface ViewsRenderer
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION_SEPARATOR
The extension separator.
|
static String |
FILE_SEPARATOR
The file separator to use.
|
Modifier and Type | Method and Description |
---|---|
boolean |
exists(String viewName) |
Writable |
render(String viewName,
Object data) |
static final String FILE_SEPARATOR
static final String EXTENSION_SEPARATOR
Writable render(String viewName, @Nullable Object data)
viewName
- view name to be renderdata
- response body to render it with a viewboolean exists(String viewName)
viewName
- view name to be render