Package org.craftercms.engine.util.freemarker
package org.craftercms.engine.util.freemarker
-
ClassesClassDescriptionExtension of Freemarker's
Configurationthat caches the result ofgetTemplate()in Crafter's own cache, which handles key-based smart locking so that the same template is not compiled several times by concurrent threads.Just likeHttpRequestHashModel, but besides returning request attributes, it also returns values for the following properties of the request: scheme serverName serverPort contextPath servletPath requestURI queryStringImplementation ofTemplateHashModelExto safely expose theSiteContextinstance in templates