Uses of Class
io.helidon.cors.CrossOriginConfig.Builder
Package
Description
Common cross origin configuration and types used by all Helidon flavors.
Helidon OpenAPI support.
Helidon WebServer Observability Support.
Helidon WebServer Services Common.
-
Uses of CrossOriginConfig.Builder in io.helidon.cors
Modifier and TypeMethodDescriptionCrossOriginConfig.Builder.allowCredentials
(boolean allowCredentials) CrossOriginConfig.Builder.allowHeaders
(String... allowHeaders) CrossOriginConfig.Builder.allowMethods
(String... allowMethods) CrossOriginConfig.Builder.allowOrigins
(String... origins) static CrossOriginConfig.Builder
CrossOriginConfig.builder()
static CrossOriginConfig.Builder
Creates a newCrossOriginConfig.Builder
using the provided config node.static CrossOriginConfig.Builder
CrossOriginConfig.builder
(CrossOriginConfig original) Initializes a newCrossOriginConfig.Builder
from the values in an existingCrossOriginConfig
object.Augment or override existing settings using the providedConfig
node.CrossOriginConfig.Builder.enabled
(boolean enabled) CrossOriginConfig.Builder.exposeHeaders
(String... exposeHeaders) CrossOriginConfig.Builder.maxAgeSeconds
(long maxAgeSeconds) CrossOriginConfig.Builder.pathPattern
(String pathPattern) Updates the path prefix for this cross-origin config.Modifier and TypeMethodDescriptionMappedCrossOriginConfig.Builder.put
(String path, CrossOriginConfig.Builder builder) Adds a new builder to the collection, associating it with the given path. -
Uses of CrossOriginConfig.Builder in io.helidon.openapi
Modifier and TypeMethodDescriptionOpenApiFeatureConfig.BuilderBase.cors
(Consumer<CrossOriginConfig.Builder> consumer) CORS config. -
Uses of CrossOriginConfig.Builder in io.helidon.webserver.observe
Modifier and TypeMethodDescriptionObserveFeatureConfig.BuilderBase.cors
(Consumer<CrossOriginConfig.Builder> consumer) Cors support inherited by each observe provider, unless explicitly configured. -
Uses of CrossOriginConfig.Builder in io.helidon.webserver.servicecommon
Modifier and TypeMethodDescriptionRestServiceSettings.Builder.crossOriginConfig
(CrossOriginConfig.Builder crossOriginConfigBuilder) Sets the cross-origin config builder for use in establishing CORS support for the service endpoints.