Request Interceptors
Hasor provides three different ways to implement request interception:
- Intercept requests through the
InvokerFilterinterface (recommended). - Intercept requests through the
javax.servlet.Filterinterface. - Implement request interceptors through AOP.
The InvokerFilter and Filter interfaces work in an equivalent way and follow the same principle; they simply use different interfaces.