Package | Description |
---|---|
com.oracle.bmc.apigateway.model |
Modifier and Type | Method and Description |
---|---|
CorsPolicy.Builder |
CorsPolicy.Builder.allowedHeaders(List<String> allowedHeaders)
The list of headers that will be allowed from the client via the
Access-Control-Allow-Headers header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.allowedMethods(List<String> allowedMethods)
The list of allowed HTTP methods that will be returned for the preflight OPTIONS request
in the Access-Control-Allow-Methods header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.allowedOrigins(List<String> allowedOrigins)
The list of allowed origins that the CORS handler will use to respond to CORS requests.
|
static CorsPolicy.Builder |
CorsPolicy.builder()
Create a new builder.
|
CorsPolicy.Builder |
CorsPolicy.Builder.copy(CorsPolicy model) |
CorsPolicy.Builder |
CorsPolicy.Builder.exposedHeaders(List<String> exposedHeaders)
The list of headers that the client will be allowed to see from the response as indicated
by the Access-Control-Expose-Headers header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.isAllowCredentialsEnabled(Boolean isAllowCredentialsEnabled)
Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with
cookies.
|
CorsPolicy.Builder |
CorsPolicy.Builder.maxAgeInSeconds(Integer maxAgeInSeconds)
The time in seconds for the client to cache preflight responses.
|
CorsPolicy.Builder |
CorsPolicy.toBuilder() |
Copyright © 2016–2024. All rights reserved.