public class WebMenuInterceptor
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
Modifier and Type | Field and Description |
---|---|
protected static WebMenuItem |
NOT_FOUND |
protected WebApplicationConfiguration |
webApplicationConfiguration |
protected Map<Object,WebMenuItem> |
webMenuItemCache |
Constructor and Description |
---|
WebMenuInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected WebMenuItem |
findMenuItem(Object handler) |
void |
postHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
org.springframework.web.servlet.ModelAndView modelAndView) |
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler) |
void |
setWebApplicationConfiguration(WebApplicationConfiguration webApplicationConfiguration) |
protected static WebMenuItem NOT_FOUND
protected WebApplicationConfiguration webApplicationConfiguration
protected Map<Object,WebMenuItem> webMenuItemCache
public void postHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, org.springframework.web.servlet.ModelAndView modelAndView) throws Exception
postHandle
in interface org.springframework.web.servlet.HandlerInterceptor
postHandle
in class org.springframework.web.servlet.handler.HandlerInterceptorAdapter
Exception
protected WebMenuItem findMenuItem(Object handler)
public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) throws Exception
preHandle
in interface org.springframework.web.servlet.HandlerInterceptor
preHandle
in class org.springframework.web.servlet.handler.HandlerInterceptorAdapter
Exception
public void setWebApplicationConfiguration(WebApplicationConfiguration webApplicationConfiguration)
Copyright © 2014. All Rights Reserved.