Class ThymeleafHstContext

java.lang.Object
org.thymeleaf.context.AbstractContext
org.onehippo.forge.templating.support.thymeleaf.servlet.ThymeleafHstContext
All Implemented Interfaces:
org.thymeleaf.context.IContext, org.thymeleaf.context.IWebContext

public class ThymeleafHstContext extends org.thymeleaf.context.AbstractContext implements org.thymeleaf.context.IWebContext
  • Constructor Summary

    Constructors
    Constructor
    Description
    ThymeleafHstContext(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.ServletContext servletContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.thymeleaf.web.IWebExchange
     
    jakarta.servlet.http.HttpServletRequest
     
    jakarta.servlet.http.HttpServletResponse
     
    jakarta.servlet.ServletContext
     
    jakarta.servlet.http.HttpSession
     

    Methods inherited from class org.thymeleaf.context.AbstractContext

    clearVariables, containsVariable, getLocale, getVariable, getVariableNames, removeVariable, setLocale, setVariable, setVariables

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.thymeleaf.context.IContext

    containsVariable, getLocale, getVariable, getVariableNames
  • Constructor Details

    • ThymeleafHstContext

      public ThymeleafHstContext(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.ServletContext servletContext)
  • Method Details

    • getRequest

      public jakarta.servlet.http.HttpServletRequest getRequest()
    • getSession

      public jakarta.servlet.http.HttpSession getSession()
    • getResponse

      public jakarta.servlet.http.HttpServletResponse getResponse()
    • getServletContext

      public jakarta.servlet.ServletContext getServletContext()
    • getExchange

      public org.thymeleaf.web.IWebExchange getExchange()
      Specified by:
      getExchange in interface org.thymeleaf.context.IWebContext