Package org.thymeleaf.context
Interface IWebContext
-
- All Superinterfaces:
IContext
- All Known Implementing Classes:
WebContext
,WebEngineContext
,WebExpressionContext
public interface IWebContext extends IContext
Specialization of the
IContext
interface to be implemented by contexts used for template processing in web environments.Objects implementing this interface add to the usual
IContext
data 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
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IWebExchange
getExchange()
Returns theIWebExchange
object associated with the template execution.-
Methods inherited from interface org.thymeleaf.context.IContext
containsVariable, getLocale, getVariable, getVariableNames
-
-
-
-
Method Detail
-
getExchange
IWebExchange getExchange()
Returns the
IWebExchange
object associated with the template execution.- Returns:
- the web exchange object.
-
-