接口 Interceptor
-
public interface InterceptorProxy implementation interface class- 作者:
- liujieyu
-
-
方法概要
所有方法 实例方法 默认方法 修饰符和类型 方法 说明 default voiddoAfter()Execute the proceed() method post methoddefault voiddoAfterThrowing(Throwable throwable)Execute the method after the error in the proceed() methoddefault voiddoBefore()Execute the proceed() method predecessor methoddefault intorder()Interceptor weightsdefault Objectproceed(ProceedPoint proceed)Doing an interception and executing Proceed.proceed() method is to continue executing the proxied method
-
-
-
方法详细资料
-
doBefore
default void doBefore()
Execute the proceed() method predecessor method
-
doAfter
default void doAfter()
Execute the proceed() method post method
-
doAfterThrowing
default void doAfterThrowing(Throwable throwable) throws Throwable
Execute the method after the error in the proceed() method- 抛出:
Throwable
-
proceed
default Object proceed(ProceedPoint proceed) throws Throwable
Doing an interception and executing Proceed.proceed() method is to continue executing the proxied method- 参数:
proceed-- 返回:
- 抛出:
Throwable
-
order
default int order()
Interceptor weights- 返回:
-
-