| Modifier and Type | Required Element and Description |
|---|---|
int |
maxAge
Specify a cache time for pre-flight CORS requests
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
allowCredentials
By default, cookies are not included in CORS requests.
|
String[] |
allowOrigin
Origins allowed to make cors requests to this service.
|
String |
allowOriginConfigFile
Origins allowed to make cors requests to this service.
|
String[] |
exposeHeaders
Cors requests can only access the following headers by default: Cache-Control, Content-Language
Content-Type, Expires, Last-Modified and Pragma.
|
public abstract int maxAge
public abstract String[] allowOrigin
public abstract String allowOriginConfigFile
public abstract boolean allowCredentials
public abstract String[] exposeHeaders
Copyright © 2016. All rights reserved.