public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,
ModelAndView modelAndView) throws Exception {
if (handler instanceof HandlerMethod) {
HandlerMethod handlerMethod = (HandlerMethod) handler;
Navigation navSection = handlerMethod.getBean().getClass().getAnnotation(Navigation.class);
if (navSection != null && modelAndView != null) {
modelAndView.addObject("navSection", navSection.value().toString().toLowerCase());
}
}
}
});
}