Ok I am getting access to the handlermethod (thanks for that link!), but having an issue with the annotation, it is always null for some reason.
First time created an annotation so that might be the issue 
Code:
public @interface SomeThing {
}
Controller:
Code:
@SomeThing
@RequestMapping("/products")
@Controller
public class ProductController {
@SomeThing
@RequestMapping("/")
public ModelAndView index(HttpServletRequest request, HttpServletResponse response) {
...
}
}
I added the annotation on both the class and method level just for testing, now in my interceptor:
Code:
HandlerMethod method = (HandlerMethod) handler;
SomeThing annotation1 = method.getMethodAnnotation(SomeThing.class);
SomeThing annotation2 = method.getMethod().getAnnotation(SomeThing.class);
Both values are null when I am in the ProductController.
What am I doing wrong?