public final class ThymeleafViewProcessor extends AbstractTemplateProcessor<org.thymeleaf.TemplateEngine>
Template processor providing support for Thymeleaf templates.| Constructor and Description |
|---|
ThymeleafViewProcessor(Configuration config,
InjectionManager injectionManager)
Create an instance of this processor with injected
config. |
| Modifier and Type | Method and Description |
|---|---|
protected org.thymeleaf.TemplateEngine |
resolve(String templatePath,
Reader reader) |
void |
writeTo(org.thymeleaf.TemplateEngine templateEngine,
Viewable viewable,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream out) |
getBasePath, getEncoding, getServletContext, getTemplateObjectFactory, resolve, setContentType@Inject public ThymeleafViewProcessor(Configuration config, InjectionManager injectionManager)
config.config - config to configure this processor from.injectionManager - injection manager.protected org.thymeleaf.TemplateEngine resolve(String templatePath, Reader reader) throws Exception
resolve in class AbstractTemplateProcessor<org.thymeleaf.TemplateEngine>Exceptionpublic void writeTo(org.thymeleaf.TemplateEngine templateEngine,
Viewable viewable,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream out)
throws IOException
IOExceptionCopyright © 2007-2024,Oracleand/or its affiliates.All Rights Reserved. Use is subject to license terms.