public static class RenderConfiguration.RenderConfigurationBuilder extends Object
| Constructor and Description |
|---|
RenderConfigurationBuilder(String templatecontent,
File serverbundlefile)
Create a new render configuration builder that can be used to build the render configuration.
|
| Modifier and Type | Method and Description |
|---|---|
RenderConfiguration |
build()
Build a new render configuration.
|
RenderConfiguration.RenderConfigurationBuilder |
charset(Charset charset)
Specify the charset of the application.
|
RenderConfiguration.RenderConfigurationBuilder |
engines(int engines)
Specify the number of used render engines.
|
RenderConfiguration.RenderConfigurationBuilder |
liveReload(boolean livereload)
Enable or disable live reload.
|
RenderConfiguration.RenderConfigurationBuilder |
routes(List<String> routes)
Specify the routes of the application.
|
public RenderConfigurationBuilder(String templatecontent, File serverbundlefile)
templatecontent - Content of the template used for renderingserverbundlefile - Server bundle file used for renderingpublic RenderConfiguration.RenderConfigurationBuilder engines(int engines)
engines - Number of enginespublic RenderConfiguration.RenderConfigurationBuilder liveReload(boolean livereload)
livereload - Status of live reloadingpublic RenderConfiguration.RenderConfigurationBuilder charset(Charset charset)
charset - Charset of the applicationpublic RenderConfiguration.RenderConfigurationBuilder routes(List<String> routes)
routes - Routes of the applicationpublic RenderConfiguration build()
Copyright © 2018. All rights reserved.