public abstract class AbstractCross<T extends AbstractCross> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowCredentials |
protected String |
allowedHeaders |
protected String |
allowedMethods |
protected String |
allowedOrigins |
protected String |
exposedHeaders |
protected int |
maxAge |
| Constructor and Description |
|---|
AbstractCross() |
| Modifier and Type | Method and Description |
|---|---|
T |
allowCredentials(boolean allowCredentials) |
T |
allowedHeaders(String allowHeaders) |
T |
allowedMethods(String allowMethods) |
T |
allowedOrigins(String allowOrigin)
原点
|
protected void |
doHandle(org.noear.solon.core.handle.Context ctx) |
T |
exposedHeaders(String exposeHeaders) |
T |
maxAge(int maxAge) |
protected int maxAge
protected String allowedOrigins
protected String allowedMethods
protected String allowedHeaders
protected boolean allowCredentials
protected String exposedHeaders
Copyright © 2025. All rights reserved.