Filter是Web容器Servlet,执行最靠前,默认针对所有请求,用于收集入参,(限流)拦截等
Interceptor是SpringMVC基础能力,在Dispatcher之后,Controller前执行,默认针对所有请求,用于将入参写入mtrace
Aspect是AOP提供能力,控制粒度更细,可以灵活定义切入点,比如只想控制某个URL入口必须登录(前置)、必须进行爬虫处理(后置)
###testfilterinterceptor ThreadLocalRemoveFilter init
###testfilterinterceptor RhinoFlowControlFilter init
###testfilterinterceptor ThreadLocalRemoveFilter doFilter
###testfilterinterceptor RhinoFlowControlFilter doFilter
###testfilterinterceptor CommonData2MtraceInterceptor preHandle
###testfilterinterceptor loginaspect init
###testfilterinterceptor CommonData2MtraceInterceptor postHandle
###testfilterinterceptor CommonData2MtraceInterceptor afterCompletion
###testfilterinterceptor RhinoFlowControlFilter destroy
###testfilterinterceptor ThreadLocalRemoveFilter destroy