Package org.thymeleaf.context
Interface IWebContext
-
- All Superinterfaces:
IContext
- All Known Implementing Classes:
WebContext,WebEngineContext,WebExpressionContext
public interface IWebContext extends IContext
Specialization of the
IContextinterface to be implemented by contexts used for template processing in web environments.Objects implementing this interface add to the usual
IContextdata the web related artifacts needed to perform web-oriented functions such as URL rewriting or request/session access.Note this interface was modified in a backwards-incompatible way in Thymeleaf 3.1.0.
- Since:
- 3.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IWebExchangegetExchange()Returns theIWebExchangeobject associated with the template execution.-
Methods inherited from interface org.thymeleaf.context.IContext
containsVariable, getLocale, getVariable, getVariableNames
-
-
-
-
Method Detail
-
getExchange
IWebExchange getExchange()
Returns the
IWebExchangeobject associated with the template execution.- Returns:
- the web exchange object.
-
-