public class AllHttpScopesHashModel extends SimpleHash
NOTHING| Constructor and Description |
|---|
AllHttpScopesHashModel(ObjectWrapper wrapper,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request)
Creates a new instance of AllHttpScopesHashModel for handling a single
HTTP servlet request.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateModel |
get(java.lang.String key)
Gets a TemplateModel from the hash.
|
void |
putUnlistedModel(java.lang.String key,
TemplateModel model)
Stores a model in the hash so that it doesn't show up in keys()
and values() methods.
|
containsKey, copyMap, isEmpty, keys, put, put, putAll, remove, size, synchronizedWrapper, toMap, toString, valuesgetDefaultObjectWrapper, getObjectWrapper, setDefaultObjectWrapper, setObjectWrapper, wrappublic AllHttpScopesHashModel(ObjectWrapper wrapper, javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request)
wrapper - the object wrapper to usecontext - the servlet context of the web applicationrequest - the HTTP servlet request being processedpublic void putUnlistedModel(java.lang.String key,
TemplateModel model)
key - the key under which the model is storedmodel - the stored modelpublic TemplateModel get(java.lang.String key) throws TemplateModelException
TemplateHashModelget in interface TemplateHashModelget in class SimpleHashkey - the name by which the TemplateModel
is identified in the template.TemplateModelException