public interface TemplateProcessor
Application of the requested Site
Platform-object
Template of the Site to that object
| Modifier and Type | Method and Description |
|---|---|
Integer |
getContentLength()
Returns the content-length of the response
|
String |
getContentType()
Returns the content-type of the response
|
void |
init(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
PathInfo pathInfo,
String templateDir)
Initializes the
RequestProcessor. |
boolean |
isRedirect()
Returns
true if a redirect has been send while processing the request, false otherwise. |
Platform |
processPlatform(Site site)
Processes the request, but without applying the template.
|
String |
processWithTemplate(Site site)
Processes the request, including the processing of the template.
|
Platform processPlatform(Site site) throws InvalidConfigurationException
init(HttpServletRequest, HttpServletResponse, PathInfo, String) must have been called before.site - the Site for which the process the requestPlatform representing the result of calling the Site's ApplicationInvalidConfigurationException - if something goes wrong while processing the requestprocessWithTemplate(Site)String processWithTemplate(Site site) throws InvalidConfigurationException
init(HttpServletRequest, HttpServletResponse, PathInfo, String) must have been called before.site - the Site for which the process the requestApplication and applying the Template. This should then be
written to the HttpServletResponseInvalidConfigurationException - if something goes wrong while processing the requestprocessPlatform(Site)String getContentType()
Integer getContentLength()
void init(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
PathInfo pathInfo,
String templateDir)
RequestProcessor.boolean isRedirect()
true if a redirect has been send while processing the request, false otherwise.Copyright © 2011–2023 aiticon GmbH. All rights reserved.