Conditional redirecting
So far, we have seen many applications of the interceptor in Spring MVC, such as performance logging, internationalization, and audit logging. However, using interceptor, not only can we intercept the web request, but even bypass or redirect the original web request.