public class WebEngineContext
extends org.thymeleaf.context.EngineContext
IEngineContext
interface for web processing.Constructor and Description |
---|
WebEngineContext(org.thymeleaf.IEngineConfiguration configuration,
org.thymeleaf.engine.TemplateData templateData,
Map<String,Object> templateResolutionAttributes,
HttpRequest<?> request,
Locale locale,
Map<String,Object> variables) |
Modifier and Type | Method and Description |
---|---|
HttpRequest<?> |
getRequest() |
containsVariable, decreaseLevel, getElementStack, getElementStackAbove, getInliner, getSelectionTarget, getStringRepresentationByLevel, getTemplateData, getTemplateStack, getVariable, getVariableNames, hasSelectionTarget, increaseLevel, isVariableLocal, level, removeVariable, setElementTag, setInliner, setSelectionTarget, setTemplateData, setVariable, setVariables, toString
buildLink, getConfiguration, getExpressionObjects, getIdentifierSequences, getLocale, getMessage, getModelFactory, getTemplateMode, getTemplateResolutionAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
buildLink, getIdentifierSequences, getMessage, getModelFactory, getTemplateMode, getTemplateResolutionAttributes
public WebEngineContext(org.thymeleaf.IEngineConfiguration configuration, org.thymeleaf.engine.TemplateData templateData, Map<String,Object> templateResolutionAttributes, HttpRequest<?> request, Locale locale, Map<String,Object> variables)
configuration
- the configuration instance being used.templateData
- the template data for the template to be processed.templateResolutionAttributes
- the template resolution attributes.request
- HTTP request.locale
- the locale.variables
- the context variables, probably coming from another IContext
implementation.EngineContext.EngineContext(IEngineConfiguration, TemplateData, Map, Locale, Map).
public HttpRequest<?> getRequest()