public abstract class AbstractCross<T extends AbstractCross>
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
allowCredentials |
protected java.lang.String |
allowedHeaders |
protected java.lang.String |
allowedMethods |
protected java.lang.String |
allowedOrigins |
protected java.lang.String |
exposedHeaders |
protected int |
maxAge |
构造器和说明 |
---|
AbstractCross() |
限定符和类型 | 方法和说明 |
---|---|
T |
allowCredentials(boolean allowCredentials) |
T |
allowedHeaders(java.lang.String allowHeaders) |
T |
allowedMethods(java.lang.String allowMethods) |
T |
allowedOrigins(java.lang.String allowOrigin)
原点
|
protected void |
doHandle(Context ctx) |
T |
exposedHeaders(java.lang.String exposeHeaders) |
T |
maxAge(int maxAge) |
protected int maxAge
protected java.lang.String allowedOrigins
protected java.lang.String allowedMethods
protected java.lang.String allowedHeaders
protected boolean allowCredentials
protected java.lang.String exposedHeaders
public T maxAge(int maxAge)
public T allowedOrigins(java.lang.String allowOrigin)
public T allowedMethods(java.lang.String allowMethods)
public T allowedHeaders(java.lang.String allowHeaders)
public T allowCredentials(boolean allowCredentials)
public T exposedHeaders(java.lang.String exposeHeaders)
protected void doHandle(Context ctx) throws java.lang.Throwable
java.lang.Throwable