@FilterWith(value=CORS.Filter.class) @Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Inherited @Documented public @interface CORS
To be used in conjunction with the CORS
controller.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
allowCredentials
Allow credentials (cookies, http authentication).
|
String[] |
allowOrigin
Allowed origins.
|
String[] |
exposeHeaders
Exposed headers.
|
public abstract String[] allowOrigin
public abstract boolean allowCredentials
public abstract String[] exposeHeaders