Announcement Announcement Module
No announcement yet.
How to use interceptors with RESTFul webservices ? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to use interceptors with RESTFul webservices ?

    Hello Everyone

    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 ?