Class NavigationHandlerInterceptor
java.lang.Object
org.eclipse.rdf4j.common.webapp.navigation.NavigationHandlerInterceptor
- All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor
public class NavigationHandlerInterceptor
extends Object
implements org.springframework.web.servlet.HandlerInterceptor
Interceptor that inserts the navigation model for the current Spring view into the model.
- Author:
- Herko ter Horst
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterCompletion
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Exception ex) void
postHandle
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, org.springframework.web.servlet.ModelAndView mav) boolean
preHandle
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) void
setNavigationModel
(NavigationModel navigationModel)
-
Constructor Details
-
NavigationHandlerInterceptor
public NavigationHandlerInterceptor()
-
-
Method Details
-
afterCompletion
public void afterCompletion(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Exception ex) - Specified by:
afterCompletion
in interfaceorg.springframework.web.servlet.HandlerInterceptor
-
postHandle
public void postHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, org.springframework.web.servlet.ModelAndView mav) - Specified by:
postHandle
in interfaceorg.springframework.web.servlet.HandlerInterceptor
-
preHandle
public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) - Specified by:
preHandle
in interfaceorg.springframework.web.servlet.HandlerInterceptor