Aug 16th, 2012, 12:32 PM
How to use interceptors with RESTFul webservices ?
I am trying to implement RESTFul web services. Currently we use SimpleUrlHandlerMapping to map incoming urls to appropriate controllers. I have read quite some material regarding implementation for RESTFul webservices. My initial understanding is that I will be required to use annotations.
My question is how to take advantage of a interceptors in web services. SimpleUrlHandlerMapping has a property called interceptors.
I guess with direct mapping (@RequestMapping) we will be able to map to controllers directly. How to intercept such requests then ?