Uses of Class
io.helidon.cors.CrossOriginConfig
Packages that use 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
Methods in io.helidon.cors that return CrossOriginConfigModifier 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.Methods in io.helidon.cors that return types with arguments of type CrossOriginConfigModifier 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.Methods in io.helidon.cors with parameters of type CrossOriginConfigModifier 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.Method parameters in io.helidon.cors with type arguments of type CrossOriginConfigModifier 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
Methods in io.helidon.openapi that return types with arguments of type CrossOriginConfigModifier and TypeMethodDescriptionOpenApiFeatureConfig.BuilderBase.cors()
CORS config.OpenApiFeatureConfig.BuilderBase.OpenApiFeatureConfigImpl.cors()
Methods in io.helidon.openapi with parameters of type CrossOriginConfigModifier and TypeMethodDescriptionOpenApiFeatureConfig.BuilderBase.cors
(CrossOriginConfig cors) CORS config. -
Uses of CrossOriginConfig in io.helidon.security.providers.oidc.common
Methods in io.helidon.security.providers.oidc.common that return CrossOriginConfigModifier and TypeMethodDescriptionOidcConfig.crossOriginConfig()
Cross-origin resource sharing settings.Methods in io.helidon.security.providers.oidc.common with parameters of type CrossOriginConfigModifier and TypeMethodDescriptionOidcConfig.Builder.crossOriginConfig
(CrossOriginConfig crossOriginConfig) Assign cross-origin resource sharing settings. -
Uses of CrossOriginConfig in io.helidon.webserver.cors
Methods in io.helidon.webserver.cors with parameters of type CrossOriginConfigModifier 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
Methods in io.helidon.webserver.graphql with parameters of type CrossOriginConfigModifier and TypeMethodDescriptionGraphQlService.Builder.crossOriginConfig
(CrossOriginConfig crossOriginConfig) Set the CORS config from the specifiedCrossOriginConfig
object. -
Uses of CrossOriginConfig in io.helidon.webserver.observe
Methods in io.helidon.webserver.observe that return CrossOriginConfigModifier and TypeMethodDescriptionObserveFeatureConfig.BuilderBase.cors()
Cors support inherited by each observe provider, unless explicitly configured.ObserveFeatureConfig.BuilderBase.ObserveFeatureConfigImpl.cors()
Methods in io.helidon.webserver.observe with parameters of type CrossOriginConfigModifier and TypeMethodDescriptionObserveFeatureConfig.BuilderBase.cors
(CrossOriginConfig cors) Cors support inherited by each observe provider, unless explicitly configured.Method parameters in io.helidon.webserver.observe with type arguments of type CrossOriginConfigModifier 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
Methods in io.helidon.webserver.servicecommon that return CrossOriginConfigModifier and TypeMethodDescriptionRestServiceSettings.crossOriginConfig()
Returns the cross-origin config settings to be used for the service's endpoint.Methods in io.helidon.webserver.servicecommon with parameters of type CrossOriginConfigModifier 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).