Class WebActivityEngineContext
java.lang.Object
org.thymeleaf.context.AbstractEngineContext
org.thymeleaf.context.WebEngineContext
com.aspectran.thymeleaf.context.web.WebActivityEngineContext
- All Implemented Interfaces:
CurrentActivityHolder
,org.thymeleaf.context.IContext
,org.thymeleaf.context.IEngineContext
,org.thymeleaf.context.IExpressionContext
,org.thymeleaf.context.ITemplateContext
,org.thymeleaf.context.IWebContext
public class WebActivityEngineContext
extends org.thymeleaf.context.WebEngineContext
implements CurrentActivityHolder
Created: 2024-11-27
-
Nested Class Summary
Nested classes/interfaces inherited from class org.thymeleaf.context.WebEngineContext
org.thymeleaf.context.WebEngineContext.RequestParameterValues
-
Constructor Summary
ConstructorsConstructorDescriptionWebActivityEngineContext
(Activity activity, org.thymeleaf.IEngineConfiguration configuration, org.thymeleaf.engine.TemplateData templateData, Map<String, Object> templateResolutionAttributes, org.thymeleaf.web.IWebExchange webExchange, Locale locale, Map<String, Object> variables) Creates a new instance of thisIEngineContext
implementation binding engine execution to the Servlet API. -
Method Summary
Methods inherited from class org.thymeleaf.context.WebEngineContext
containsVariable, decreaseLevel, getElementStack, getElementStackAbove, getExchange, getInliner, getSelectionTarget, getStringRepresentationByLevel, getTemplateData, getTemplateStack, getVariable, getVariableNames, hasSelectionTarget, increaseLevel, isVariableLocal, level, removeVariable, setElementTag, setInliner, setSelectionTarget, setTemplateData, setVariable, setVariables, toString
Methods inherited from class org.thymeleaf.context.AbstractEngineContext
buildLink, getConfiguration, getExpressionObjects, getIdentifierSequences, getLocale, getMessage, getModelFactory, getTemplateMode, getTemplateResolutionAttributes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.thymeleaf.context.IContext
getLocale
Methods inherited from interface org.thymeleaf.context.IExpressionContext
getConfiguration, getExpressionObjects
Methods inherited from interface org.thymeleaf.context.ITemplateContext
buildLink, getIdentifierSequences, getMessage, getModelFactory, getTemplateMode, getTemplateResolutionAttributes
-
Constructor Details
-
WebActivityEngineContext
public WebActivityEngineContext(Activity activity, org.thymeleaf.IEngineConfiguration configuration, org.thymeleaf.engine.TemplateData templateData, Map<String, Object> templateResolutionAttributes, org.thymeleaf.web.IWebExchange webExchange, Locale locale, Map<String, Object> variables) Creates a new instance of thisIEngineContext
implementation binding engine execution to the Servlet API.Note that implementations of
IEngineContext
are not meant to be used in order to call the template engine (use implementations ofIContext
such asContext
orWebContext
instead). This is therefore mostly an internal implementation, and users should have no reason to ever call this constructor except in very specific integration/extension scenarios.- Parameters:
activity
- the aspectran activityconfiguration
- the configuration instance being usedtemplateData
- the template data for the template to be processedtemplateResolutionAttributes
- the template resolution attributeswebExchange
- the web exchange objectlocale
- the localevariables
- the context variables, probably coming from anotherIContext
implementation
-
-
Method Details
-
getActivity
- Specified by:
getActivity
in interfaceCurrentActivityHolder
-