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.HandlerInterceptorpostHandle in class org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionprotected 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.HandlerInterceptorpreHandle in class org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionpublic void setWebApplicationConfiguration(WebApplicationConfiguration webApplicationConfiguration)
Copyright © 2014. All Rights Reserved.