Class SpringVersionSpecificUtils
Object
org.thymeleaf.extras.springsecurity6.util.SpringVersionSpecificUtils
- Since:
- 2.1.1
- Author:
- Daniel Fernández
-
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.servlet.http.HttpServletRequestgetHttpServletRequest(org.thymeleaf.context.IContext context) static jakarta.servlet.http.HttpServletResponsegetHttpServletResponse(org.thymeleaf.context.IContext context) static org.springframework.web.server.ServerWebExchangegetServerWebExchange(org.thymeleaf.context.IContext context) static booleanisWebContext(org.thymeleaf.context.IContext context) static booleanisWebFluxContext(org.thymeleaf.context.IContext context) static booleanisWebMvcContext(org.thymeleaf.context.IContext context) static org.springframework.expression.EvaluationContextwrapEvaluationContext(org.springframework.expression.EvaluationContext evaluationContext, org.thymeleaf.expression.IExpressionObjects expresionObjects)
-
Method Details
-
wrapEvaluationContext
public static org.springframework.expression.EvaluationContext wrapEvaluationContext(org.springframework.expression.EvaluationContext evaluationContext, org.thymeleaf.expression.IExpressionObjects expresionObjects) -
isWebContext
public static boolean isWebContext(org.thymeleaf.context.IContext context) -
isWebMvcContext
public static boolean isWebMvcContext(org.thymeleaf.context.IContext context) -
isWebFluxContext
public static boolean isWebFluxContext(org.thymeleaf.context.IContext context) -
getHttpServletRequest
public static jakarta.servlet.http.HttpServletRequest getHttpServletRequest(org.thymeleaf.context.IContext context) -
getHttpServletResponse
public static jakarta.servlet.http.HttpServletResponse getHttpServletResponse(org.thymeleaf.context.IContext context) -
getServerWebExchange
public static org.springframework.web.server.ServerWebExchange getServerWebExchange(org.thymeleaf.context.IContext context)
-