public class ThymeleafProcessor extends AbstractRequestProcessor
Modifier and Type | Class and Description |
---|---|
static class |
ThymeleafProcessor.AppNG
This is a helper class to make it easier for the thymeleaf template tom interact with appNG's
Platform object. |
contentLength, contentType, env, marshallService, navigationBuilder, outputFormat, outputType, pathInfo, redirect, servletRequest, servletResponse, templatePath
Constructor and Description |
---|
ThymeleafProcessor(DocumentBuilderFactory dbf) |
Modifier and Type | Method and Description |
---|---|
protected void |
addTemplates(List<Template> templates) |
String |
processWithTemplate(Site applicationSite)
Processes the request, including the processing of the template.
|
determineActiveAuthentication, determineFormatAndType, getApplicationProvider, getContentLength, getContentType, getMarshallService, getOutputFormat, getOutputType, getPlatform, getTemplatePath, init, initPlatform, isRedirect, processPlatform, setMarshallService, setRedirect, setTemplatePath
public ThymeleafProcessor(@Autowired DocumentBuilderFactory dbf)
public String processWithTemplate(Site applicationSite) throws InvalidConfigurationException
RequestProcessor
RequestProcessor.init(HttpServletRequest, HttpServletResponse, PathInfo, String)
must have been called before.applicationSite
- the Site
for which the process the requestApplication
and applying the Template
. This should then be
written to the HttpServletResponse
InvalidConfigurationException
- if something goes wrong while processing the requestRequestProcessor.processPlatform(Site)
protected void addTemplates(List<Template> templates)
addTemplates
in class AbstractRequestProcessor
Copyright © 2011–2018 aiticon GmbH. All rights reserved.