Uses of Class
io.helidon.webserver.cors.CrossOriginConfig.Builder
Package
Description
Support types for REST services.
Helidon SE CORS Support
-
Uses of CrossOriginConfig.Builder in io.helidon.servicecommon.rest
Modifier and TypeMethodDescriptionHelidonRestServiceSupport.Builder.crossOriginConfig
(CrossOriginConfig.Builder crossOriginConfigBuilder) Set the CORS config from the specifiedCrossOriginConfig
object.RestServiceSettings.Builder.crossOriginConfig
(CrossOriginConfig.Builder crossOriginConfigBuilder) Sets the cross-origin config builder for use in establishing CORS support for the service endpoints. -
Uses of CrossOriginConfig.Builder in io.helidon.webserver.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.