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 Summary
ConstructorDescriptionWebAppPathResolverExposingInterceptor
(@NonNull WebAppPathResolver webAppPathResolver) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.HandlerInterceptor
afterCompletion, postHandle
-
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 interfaceorg.springframework.web.servlet.HandlerInterceptor
- Throws:
jakarta.servlet.ServletException
IOException
-