Skip to content

io.helidon.webserver.cors.CorsPathConfig

Description

Configuration of CORS for a specific path

Configuration options

KeyTypeDefaultDescription
allow-headersList<String>*Set of allowed headers, defaults to all
allow-credentialsBooleanfalseWhether to allow credentials
max-agePathCustomMethodsPT1HMax age as a duration
allow-originsList<String>*Set of allowed origins, defaults to all
expose-headersList<String>Set of exposed headers, defaults to none
path-patternStringPath pattern to apply this configuration for
allow-methodsList<String>*Set of allowed methods, defaults to all
enabledBooleantrueWhether this CORS configuration should be enabled or not

Usages


See the manifest for all available types.