Spring Cloud Gateway Cors
data class SpringCloudGatewayCors(val allowedHeaders: List<String>? = null, val allowedMethods: List<String>? = null, val allowedOriginPatterns: List<String>? = null, val allowedOrigins: List<String>? = null, val credentialsAllowed: Boolean? = null, val exposedHeaders: List<String>? = null, val maxAgeSeconds: Int? = null)
Properties
Link copied to clipboard
Allowed headers in cross-site requests. The special value *
allows actual requests to send any header.
Link copied to clipboard
Allowed HTTP methods on cross-site requests. The special value *
allows all methods. If not set, GET
and HEAD
are allowed by default. Possible values are DELETE
, GET
, HEAD
, MERGE
, POST
, OPTIONS
and PUT
.
Link copied to clipboard
Allowed origin patterns to make cross-site requests.
Link copied to clipboard
Allowed origins to make cross-site requests. The special value *
allows all domains.
Link copied to clipboard
is user credentials are supported on cross-site requests?
Link copied to clipboard
HTTP response headers to expose for cross-site requests.
Link copied to clipboard
How long, in seconds, the response from a pre-flight request can be cached by clients.