public class CrossInterceptor extends AbstractCross<CrossInterceptor> implements org.noear.solon.core.route.RouterInterceptor
allowCredentials, allowedHeaders, allowedMethods, allowedOrigins, exposedHeaders, maxAge| 构造器和说明 |
|---|
CrossInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doIntercept(org.noear.solon.core.handle.Context ctx,
org.noear.solon.core.handle.Handler mainHandler,
org.noear.solon.core.route.RouterInterceptorChain chain) |
org.noear.solon.core.route.PathRule |
pathPatterns() |
CrossInterceptor |
pathPatterns(String... patterns)
设置路径匹配模式
|
allowCredentials, allowedHeaders, allowedMethods, allowedOrigins, doHandle, exposedHeaders, maxAgepublic CrossInterceptor pathPatterns(String... patterns)
public org.noear.solon.core.route.PathRule pathPatterns()
pathPatterns 在接口中 org.noear.solon.core.route.RouterInterceptorCopyright © 2024. All rights reserved.