Interceptors are not only confined to managing requests but also to establishing a set of behaviors of the applications, such as transaction logging, data transaction management, custom authorization and authentication, managing services, caching, and workflow simulation.
Spring 5.0 still supports AOP, which is a programming paradigm that implements a functionality or concern which may not be part of the business process but is essential to some areas of the application. These concerns or sets of behaviors are linked to some objects in order to work, like the HandlerInterceptor (which can intercept anywhere in the application).
There are two main classifications of concerns and these are the major concerns, which cater to only a single component of the Spring MVC, and the global concerns, which are applied throughout the application and also may affect the...