Template management are delegated to delegate. Delegate must be registered to the TemplateManager before its activation (call to getManager() method).
Definition at line 47 of file TemplateManagerDelegate.java.
Public Member Functions | |
void | init () |
init template and cache management. | |
TemplateModelRoot | getTemplateModelRoot () |
initialize template structure for this request. | |
void | setDefaultTemplateContentType (String defaultTemplateContentType) |
Default content type of the response. | |
String | getDefaultTemplateContentType () |
return the default Content-Type of the template HTTP response |
void org.openmobileis.embedded.webserver.templates.TemplateManagerDelegate.init | ( | ) |
init template and cache management.
cache template is use to detect cache update during synchronization
Implemented in org.openmobileis.embedded.webserver.templates.Freemarkerv1TemplateDelegate.
Referenced by org.openmobileis.embedded.webserver.templates.TemplateManager.init().
void org.openmobileis.embedded.webserver.templates.TemplateManagerDelegate.setDefaultTemplateContentType | ( | String | defaultTemplateContentType | ) |
Default content type of the response.
If not set it's html/text. Use to force the default Content-Type header of template HTTP response. "text/html; charset=ISO-8859-1" for example.
encoding |
Implemented in org.openmobileis.embedded.webserver.templates.Freemarkerv1TemplateDelegate.
String org.openmobileis.embedded.webserver.templates.TemplateManagerDelegate.getDefaultTemplateContentType | ( | ) |
return the default Content-Type of the template HTTP response
Implemented in org.openmobileis.embedded.webserver.templates.Freemarkerv1TemplateDelegate.