What are Interceptors?
- boolean
prehandle() : called just before the handler method. Return type of this method is boolean,it tells to process request further (on true) or not (on false). - void
posthandle() : called just after the handler method is executed. - void
afterCompletion() : called immediately after view is generated.