...
The base idea is to allow pre and post actions to be executed before and after the call of the next interceptors :
Each interceptor process the pre action, call the next interceptor, wait for the response, execute the post action, and returns. We have to implement this chain of interceptors in a way which allows us to add new interceptors, or new pre or post actions, without having to modify the existing code or mechanism.
...