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 Detail

      • getExchange

        IWebExchange getExchange()

        Returns the IWebExchange object associated with the template execution.

        Returns:
        the web exchange object.