public class AllHttpScopesAndAppContextHashModel
extends freemarker.template.SimpleHash
AllHttpScopesHashModel
, but also lookup keys in the Application Context.Constructor and Description |
---|
AllHttpScopesAndAppContextHashModel(freemarker.template.ObjectWrapper wrapper,
ApplicationContextAccessor applicationContextAccessor,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
boolean disableVariableRestrictions) |
Modifier and Type | Method and Description |
---|---|
freemarker.template.TemplateModel |
get(String key) |
containsKey, copyMap, isEmpty, keys, keyValuePairIterator, put, put, putAll, remove, size, synchronizedWrapper, toMap, toString, values
public AllHttpScopesAndAppContextHashModel(freemarker.template.ObjectWrapper wrapper, ApplicationContextAccessor applicationContextAccessor, javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, boolean disableVariableRestrictions)
public freemarker.template.TemplateModel get(String key) throws freemarker.template.TemplateModelException
get
in interface freemarker.template.TemplateHashModel
get
in class freemarker.template.SimpleHash
freemarker.template.TemplateModelException
Copyright © 2021 CrafterCMS. All rights reserved.