Class WebAppPathResolverExposingInterceptor

java.lang.Object
com.foreach.across.modules.web.mvc.WebAppPathResolverExposingInterceptor
All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor

public class WebAppPathResolverExposingInterceptor extends Object implements org.springframework.web.servlet.HandlerInterceptor
Puts the configured WebAppPathResolver on the request context. Views can use this resolver by default for all
Author:
Arne Vandamme
See Also:
  • Constructor Details

    • WebAppPathResolverExposingInterceptor

      public WebAppPathResolverExposingInterceptor(@NonNull @NonNull WebAppPathResolver webAppPathResolver)
  • Method Details

    • preHandle

      public boolean preHandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object handler) throws jakarta.servlet.ServletException, IOException
      Specified by:
      preHandle in interface org.springframework.web.servlet.HandlerInterceptor
      Throws:
      jakarta.servlet.ServletException
      IOException