java.lang.Object
io.helidon.webserver.cors.CorsFeatureProvider
- All Implemented Interfaces:
ConfiguredProvider<CorsFeature>,ConfiguredProvider<CorsFeature>,ServerFeatureProvider<CorsFeature>
@Deprecated(forRemoval=true,
since="4.4.0")
public class CorsFeatureProvider
extends Object
implements ServerFeatureProvider<CorsFeature>
Deprecated, for removal: This API element is subject to removal in a future version.
ServiceLoader provider implementation for CORS feature for WebServer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Key this service implementation is stored under.Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance from the configuration located on the provided node.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.config.ConfiguredProvider
create
-
Constructor Details
-
CorsFeatureProvider
Deprecated.only forServiceLoaderRequired forServiceLoader.
-
-
Method Details
-
configKey
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ConfiguredProviderKey this service implementation is stored under. This is also considered the service "type" when used in a list in configuration, to allow the same service defined more than once.- Specified by:
configKeyin interfaceConfiguredProvider<CorsFeature>- Specified by:
configKeyin interfaceConfiguredProvider<CorsFeature>- Returns:
- key of this implementation
-
create
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ConfiguredProviderCreate a new instance from the configuration located on the provided node.API Note: the default method implementation is provided for backward compatibility and will be removed in the next major version
- Specified by:
createin interfaceConfiguredProvider<CorsFeature>- Parameters:
config- located atConfiguredProvider.configKey()nodename- name of the configured implementation- Returns:
- a new instance created from this config node
-
CorsFeatureeither fromServiceRegistry, or through one of the feature's static factory or builder methods; paths configured in config are registered first, before paths configured through service registry