Uses of Class
io.helidon.cors.MappedCrossOriginConfig.Builder
Package
Description
Common cross origin configuration and types used by all Helidon flavors.
-
Uses of MappedCrossOriginConfig.Builder in io.helidon.cors
Modifier and TypeMethodDescriptionMappedCrossOriginConfig.builder()
Returns a new builder for creating aCrossOriginConfig.Mapped
instance.Creates a newMapped.Builder
instance using the provided configuration.Applies data in the provided config node.MappedCrossOriginConfig.Builder.enabled
(boolean enabled) Sets whether the resultingMapped
cross-origin config should be enabled.Sets the name for the CORS-enabled component or app (primarily for logging).MappedCrossOriginConfig.Builder.put
(String path, CrossOriginConfig.Builder builder) Adds a new builder to the collection, associating it with the given path.