public class RouterInterceptorLimiter extends java.lang.Object implements RouterInterceptor
构造器和说明 |
---|
RouterInterceptorLimiter(RouterInterceptor interceptor,
PathRule rule) |
限定符和类型 | 方法和说明 |
---|---|
void |
doIntercept(Context ctx,
Handler mainHandler,
RouterInterceptorChain chain)
执行拦截
|
RouterInterceptor |
getInterceptor()
获取拦截器
|
protected boolean |
isMatched(Context ctx)
是否匹配
|
PathRule |
pathPatterns()
路径匹配模式
|
void |
postArguments(Context ctx,
ParamWrap[] args,
java.lang.Object[] vals)
提交参数(MethodWrap::invokeByAspect 执行前调用)
|
java.lang.Object |
postResult(Context ctx,
java.lang.Object result)
提交结果(action / render 执行前调用)
|
protected final PathRule rule
public RouterInterceptorLimiter(RouterInterceptor interceptor, PathRule rule)
protected boolean isMatched(Context ctx)
public RouterInterceptor getInterceptor()
public PathRule pathPatterns()
pathPatterns
在接口中 RouterInterceptor
public void doIntercept(Context ctx, Handler mainHandler, RouterInterceptorChain chain) throws java.lang.Throwable
RouterInterceptor
doIntercept
在接口中 RouterInterceptor
java.lang.Throwable
public void postArguments(Context ctx, ParamWrap[] args, java.lang.Object[] vals) throws java.lang.Throwable
RouterInterceptor
postArguments
在接口中 RouterInterceptor
java.lang.Throwable
public java.lang.Object postResult(Context ctx, java.lang.Object result) throws java.lang.Throwable
RouterInterceptor
postResult
在接口中 RouterInterceptor
java.lang.Throwable