io.helidon.webserver.cors.CorsPathConfig
Description
Configuration of CORS for a specific path
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
allow-headers | List<String> | * | Set of allowed headers, defaults to all |
allow-credentials | Boolean | false | Whether to allow credentials |
max-age | PathCustomMethods | PT1H | Max age as a duration |
allow-origins | List<String> | * | Set of allowed origins, defaults to all |
expose-headers | List<String> | Set of exposed headers, defaults to none | |
path-pattern | String | Path pattern to apply this configuration for | |
allow-methods | List<String> | * | Set of allowed methods, defaults to all |
enabled | Boolean | true | Whether this CORS configuration should be enabled or not |
Usages
See the manifest for all available types.