public class LimitIntercept extends Object implements ListenIntercept
Constructor and Description |
---|
LimitIntercept() |
Modifier and Type | Method and Description |
---|---|
boolean |
intercept(ListenInterceptContext context)
拦截执行函数
|
int |
sort()
优先级为+3
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo
public int sort()
sort
in interface Interceptor<ListenerMethod,ListenInterceptContext>
public boolean intercept(ListenInterceptContext context)
intercept
in interface Interceptor<ListenerMethod,ListenInterceptContext>
context
- 上下文对象Copyright © 2020. All rights reserved.