public class CrossInterceptor extends AbstractCross<CrossInterceptor> implements RouterInterceptor
allowCredentials, allowedHeaders, allowedMethods, allowedOrigins, exposedHeaders, maxAge
构造器和说明 |
---|
CrossInterceptor() |
限定符和类型 | 方法和说明 |
---|---|
void |
doIntercept(Context ctx,
Handler mainHandler,
RouterInterceptorChain chain)
执行拦截
|
PathRule |
pathPatterns()
路径匹配模式
|
CrossInterceptor |
pathPatterns(java.lang.String... patterns)
设置路径匹配模式
|
allowCredentials, allowedHeaders, allowedMethods, allowedOrigins, doHandle, exposedHeaders, maxAge
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postArguments, postResult
public CrossInterceptor pathPatterns(java.lang.String... patterns)
public PathRule pathPatterns()
RouterInterceptor
pathPatterns
在接口中 RouterInterceptor
public void doIntercept(Context ctx, Handler mainHandler, RouterInterceptorChain chain) throws java.lang.Throwable
RouterInterceptor
doIntercept
在接口中 RouterInterceptor
java.lang.Throwable