Uses of Class
io.helidon.cors.CrossOriginConfig
Package
Description
Common cross origin configuration and types used by all Helidon flavors.
Helidon OpenAPI support.
Open ID Connect (OIDC) classes usable from all OIDC related components.
Helidon WebServer CORS Support.
Helidon WebServer GraphQL Support.
Helidon WebServer Observability Support.
Helidon WebServer Services Common.
-
Uses of CrossOriginConfig in io.helidon.cors
Modifier and TypeMethodDescriptionCrossOriginConfig.Builder.build()
static CrossOriginConfig
CrossOriginConfig.create()
Creates a newCrossOriginConfig
instance which represents the default CORS behavior.static CrossOriginConfig
Creates a newCrossOriginConfig
instance based on the provided configuration node.Finds theCrossOriginConfig
associated with the given path expression, if any.Modifier and TypeMethodDescriptionMappedCrossOriginConfig.iterator()
Aggregator.lookupCrossOrigin
(String path, String method, Supplier<Optional<CrossOriginConfig>> secondaryLookup) Looks for a matching CORS config entry for the specified path among the provided CORS configuration information, returning anOptional
of the matchingCrossOrigin
instance for the path, if any.Modifier and TypeMethodDescriptionCorsSupportBase.Builder.addCrossOrigin
(CrossOriginConfig crossOrigin) Adds cross origin information associated with the default path.CorsSupportBase.Builder.addCrossOrigin
(String path, CrossOriginConfig crossOrigin) Adds cross origin information associated with a given path.static CrossOriginConfig.Builder
CrossOriginConfig.builder
(CrossOriginConfig original) Initializes a newCrossOriginConfig.Builder
from the values in an existingCrossOriginConfig
object.Modifier and TypeMethodDescriptionvoid
MappedCrossOriginConfig.forEach
(BiConsumer<String, CrossOriginConfig> consumer) Invokes the specified consumer for each entry in the mapped CORS config.Aggregator.lookupCrossOrigin
(String path, String method, Supplier<Optional<CrossOriginConfig>> secondaryLookup) Looks for a matching CORS config entry for the specified path among the provided CORS configuration information, returning anOptional
of the matchingCrossOrigin
instance for the path, if any.protected B
CorsSupportBase.Builder.secondaryLookupSupplier
(Supplier<Optional<CrossOriginConfig>> secondaryLookupSupplier) Not for developer use. Sets a back-up way to provide aCrossOriginConfig
instance if, during look-up for a given request, none is found from the aggregator.CorsSupportHelper.Builder.secondaryLookupSupplier
(Supplier<Optional<CrossOriginConfig>> secondaryLookup) Sets the supplier for the secondary lookup of CORS information (typically not contained in configuration). -
Uses of CrossOriginConfig in io.helidon.openapi
Modifier and TypeMethodDescriptionOpenApiFeatureConfig.BuilderBase.cors()
CORS config.OpenApiFeatureConfig.BuilderBase.OpenApiFeatureConfigImpl.cors()
Modifier and TypeMethodDescriptionOpenApiFeatureConfig.BuilderBase.cors
(CrossOriginConfig cors) CORS config. -
Uses of CrossOriginConfig in io.helidon.security.providers.oidc.common
Modifier and TypeMethodDescriptionOidcConfig.crossOriginConfig()
Cross-origin resource sharing settings.Modifier and TypeMethodDescriptionOidcConfig.Builder.crossOriginConfig
(CrossOriginConfig crossOriginConfig) Assign cross-origin resource sharing settings. -
Uses of CrossOriginConfig in io.helidon.webserver.cors
Modifier and TypeMethodDescriptionstatic CorsEnabledServiceHelper
CorsEnabledServiceHelper.create
(String serviceName, CrossOriginConfig crossOriginConfig) Creates a new helper based on the provided config. -
Uses of CrossOriginConfig in io.helidon.webserver.graphql
Modifier and TypeMethodDescriptionGraphQlService.Builder.crossOriginConfig
(CrossOriginConfig crossOriginConfig) Set the CORS config from the specifiedCrossOriginConfig
object. -
Uses of CrossOriginConfig in io.helidon.webserver.observe
Modifier and TypeMethodDescriptionObserveFeatureConfig.BuilderBase.cors()
Cors support inherited by each observe provider, unless explicitly configured.ObserveFeatureConfig.BuilderBase.ObserveFeatureConfigImpl.cors()
Modifier and TypeMethodDescriptionObserveFeatureConfig.BuilderBase.cors
(CrossOriginConfig cors) Cors support inherited by each observe provider, unless explicitly configured.Modifier and TypeMethodDescriptionObserveFeatureConfig.BuilderBase.cors
(Supplier<? extends CrossOriginConfig> supplier) Cors support inherited by each observe provider, unless explicitly configured. -
Uses of CrossOriginConfig in io.helidon.webserver.servicecommon
Modifier and TypeMethodDescriptionRestServiceSettings.crossOriginConfig()
Returns the cross-origin config settings to be used for the service's endpoint.Modifier and TypeMethodDescriptionHelidonFeatureSupport.Builder.crossOriginConfig
(CrossOriginConfig crossOriginConfig) Set the CORS config from the specifiedCrossOriginConfig
object.RestServiceSettings.Builder.crossOriginConfig
(CrossOriginConfig crossOriginConfig) Sets the cross-origin settings from existing settings (not from a builder).