Spring Interceptor
Function Can constitute a stack of interceptors to complete specific functions, such as logging, login judgment, permission check and so on. Benefits Interceptors also allow you to modularize generic code as reusable classes. Applications of interceptors: AOP; needs some business logic (need to inject beans, etc.) Understand An interceptor acts Read more…