io.helidon.webserver.cors.CorsPathConfig
Description
Configuration of CORS for a specific path
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
allow- | List< | * | Set of allowed headers, defaults to all |
allow- | Boolean | false | Whether to allow credentials |
max- | String | PT1H | Max age as a duration |
allow- | List< | * | Set of allowed origins, defaults to all |
expose- | List< | Set of exposed headers, defaults to none | |
path- | String | Path pattern to apply this configuration for | |
allow- | List< | * | 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.