Closed venusdrogon closed 6 years ago
<bean class="com.feilong.spring.web.servlet.interceptor.monitor.MonitorInterceptor">
<!-- 是否需要执行 preHandle方法 since feilong spring 1.12.9 -->
<property name="isNeedDoPreHandle" value="true" />
<!-- 是否需要执行 postHandle方法. since feilong spring 1.12.9 -->
<property name="isNeedDoPostHandle" value="true" />
<!-- 是否需要执行 AfterCompletion 方法. since feilong spring 1.12.9 -->
<property name="isNeedDoAfterCompletion" value="true" />
<!-- 是否需要执行 AfterConcurrentHandlingStarted 方法. since feilong spring 1.12.9 -->
<property name="isNeedDoAfterConcurrentHandlingStarted" value="true" />
...
AbstractHandlerMethodInterceptorAdapter 添加 四个boolean 属性, 来控制是否需要执行4个方法