Article directory
1. Interceptor
There is no concept of interceptor in the Servlet specification, it is derived from the Spring framework.
There are three methods of interceptors in Spring:
- preHandle represents the control layer method corresponding to the intercepted URL, the custom processing logic before execution
- postHandle represents the control layer method corresponding to the intercepted URL, the custom processing logic after execution, and the modelAndView has not been rendered at this time.