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
ConstructorsConstructorDescriptionThymeleafHstContext(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.ServletContext servletContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.thymeleaf.web.IWebExchangejakarta.servlet.http.HttpServletRequestjakarta.servlet.http.HttpServletResponsejakarta.servlet.ServletContextjakarta.servlet.http.HttpSessionMethods inherited from class org.thymeleaf.context.AbstractContext
clearVariables, containsVariable, getLocale, getVariable, getVariableNames, removeVariable, setLocale, setVariable, setVariablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getExchangein interfaceorg.thymeleaf.context.IWebContext
-