Deprecated API
Contents
- Terminally Deprecated
- Modules
- Packages
- Interfaces
- Classes
- Enum Classes
- Exception Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Enum Constants
- Annotation Interface Elements
-
Terminally Deprecated ElementsElementDescriptionuse
Prototype.PrototypeFactoryMethod,Prototype.ConfigFactoryMethod, orPrototype.RuntimeTypeFactoryMethodfor other types this annotation could have been used for in the pastthis is an unnecessary duplication of what is required on the blueprint, use only blueprintPrototype.Factoryinstead.usePrototypeInfo.BuilderBase.prototypeFactories(), orPrototypeInfo.BuilderBase.runtimeTypeFactories(), orPrototypeInfo.BuilderBase.configFactories()instead, only present for backwards compatibilityusePrototypeInfo.BuilderBase.prototypeFactories(), orPrototypeInfo.BuilderBase.runtimeTypeFactories(), orPrototypeInfo.BuilderBase.configFactories()instead, only present for backwards compatibilityusePrototypeInfo.BuilderBase.prototypeFactories(), orPrototypeInfo.BuilderBase.runtimeTypeFactories(), orPrototypeInfo.BuilderBase.configFactories()instead, only present for backwards compatibilityusePrototypeInfo.BuilderBase.prototypeFactories(), orPrototypeInfo.BuilderBase.runtimeTypeFactories(), orPrototypeInfo.BuilderBase.configFactories()instead, only present for backwards compatibilityusePrototypeInfo.prototypeFactories(), orPrototypeInfo.runtimeTypeFactories(), orPrototypeInfo.configFactories()instead, only present for backwards compatibilitythis API will be package local in the future, use through Helidon codegen onlythis is intended for internal use. This will be a package private type in the future.this is an internal API, all usage should be done throughhelidon-codegenAPIs, such asCodegenContext.typeInfo(io.helidon.common.types.TypeName); this type will be package local in the futurethis is an internal API, all usage should be done throughhelidon-codegenAPIs, such asCodegenContext.typeInfo(io.helidon.common.types.TypeName)useElementKindinsteaduseCodegen.process(java.util.List, java.util.List)insteaduseDataReader.create(java.util.function.Supplier)insteaduseAimdLimit.create(io.helidon.config.Config)insteaduseFixedLimit.create(io.helidon.config.Config)insteadthis is only provided for backward compatibility and will be removed, useFixedLimit.create()to get unlimited limitDO NOT USE except for backward compatibility with semaphore based handlingthis only exists for backward compatibility of Helidon WebServer and will be removeduseThroughputLimit.create(io.helidon.config.Config)insteaduseio.helidon.config:helidon-configmodule insteaduseio.helidon.config.Configinsteaduseio.helidon.config.ConfigBuilderSupportinsteadthis class is no longer used, switch tohelidon-configmodule with its own config exception classuseio.helidon.config.ConfiguredProviderinsteaduse types inio.helidon.configpackage insteadUseServices.get(Class), orServiceRegistry.get(Class)if you have an instance ready to obtain the "global" configuration; in case you are writing a registry service, simply inject the config instance; useServices.set(Class, Object[])to use a custom instance of configuration, just make sure it is registered before it is used the first timeuseServices.get(Class)insteaduseServices.set(Class, Object[])insteaduseServices.set(Class, Object[])insteaduseio.helidon.config.NamedServiceinsteadthere is no replacement for this type, use factory methods on the implementation directlyuseAllowList.create(io.helidon.config.Config)insteadkindly useLruCache, we are removing this from the configurable module, as cache has only a single option, and we need it from modules that do not use configurationuseResource.create(io.helidon.config.Config)insteaduseContext.builder()insteadplease useErrors.collector()insteaduseFeatures.Aotinstead.useFeatures.Name,Features.Pathetc. instead.useFeatures.Incubatinginstead.useFeatures.Previewinstead.useMappersinsteaduseMappers.builder()insteaduseMappersConfig.Builder, obtained fromMappers.builder()we have switched to using weights instead of priority, this method will be removed without replacementuseMappers.create()insteaduseServices.get(Class)- i.e.Services.get(Mappers.class), or use your registry instance in a similar wayuseServices.set(Class, Object[])- i.e.Services.get(Mappers.class, myMappers)before the program starts (must be configured before it is first used)Please useIoMulti.outputStreamMultiBuilder()please useIoMulti.multiFromStream(java.io.InputStream)Please useIoMulti.outputStreamMulti()please useOutputStreamMultiinsteaduseSingleSubscriberHolder.create()instead.this method is not used in Helidon, and will be removeduseTls.create(io.helidon.config.Config)insteaduseAnnotation.properties()instead, and accessor methods on this interfaceuseAnnotation.properties()instead, and accessor methods on this interfaceuseAnnotation.properties()instead, and accessor methods on this interfaceuseAnnotation.properties()instead, and accessor methods on this interfaceuseAnnotation.properties()instead, and accessor methods on this interfaceThis option is deprecated, useTypedElementInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.kindinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.kindinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypedElementInfo.kind()insteadThis option is deprecated, useTypedElementInfo.elementModifiers()insteadThis option is deprecated, useTypeInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypeInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypeInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypeInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypeInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypeInfo.BuilderBase.kindinsteadThis option is deprecated, useTypeInfo.BuilderBase.kindinsteadThis option is deprecated, useTypeInfo.elementModifiers()insteadThis option is deprecated, useTypeInfo.kind()insteaduseElementKind,ModifierandAccessModifierinstead, and appropriate methods that return these typesuseServices.set(Class, Object[])to register a static instance for the global service registry; when using a custom service registry instance, set is on the registry configuration builderuseConfig.as(java.util.function.Function)insteaduseConfig.asList(java.util.function.Function)insteaduseConfiguredProvider.create(Config, String)insteadthis class is not used anymore and will be removedthis class is not used anymore and will be removedthis class is only for common config, which will be removedThis attribute is unsupported and will be removed in the next major releaseThis attribute is unsupported and will be removed in the next major releaseThis attribute is unsupported and will be removed in the next major releaseThis attribute is unsupported and will be removed in the next major releasethis module will be removed, use APIs available onhelidon-webserver-corsthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of HelidonuseDbClient.builder(io.helidon.config.Config)insteaduseDbStatements.create(io.helidon.config.Config)insteaduseDbClientBuilder.config(io.helidon.config.Config)insteaduseDbClientTracing.create(io.helidon.config.Config)insteadthis method will be removed without replacement; each fault tolerance component that supports executor service can be configured with such explicitly in its builder (i.e.AsyncConfig.BuilderBase.executor(java.util.concurrent.ExecutorService)). When using declarative, the executor service can be configured as a named service.this method was not intended for public use, and will be removed in a future version of Helidonthis method was not intended for public use, and will be removed in a future version of HelidonuseValue.get()useUriValidatorinsteaduseUriValidator.validateHost(String)insteaduseUriValidator.validateIpLiteral(String)insteaduseUriValidator.validateNonIpLiteral(String)insteaduseGsonSupport.create(io.helidon.config.Config)insteaduseJacksonSupport.create(io.helidon.config.Config)insteaduseJsonbSupport.create(io.helidon.config.Config)insteaduseJsonpSupport.create(io.helidon.config.Config)insteaduseMediaContext.create(io.helidon.config.Config)insteadThis annotation is slated for removal.This class is slated for removal.This class is slated for removal.An equivalent class now exists in Narayana itself.An equivalent class now exists in Narayana itself.This class is slated for removal. It makes incorrect assumptions about threading in a JTA environment. Specifically, this class' implementation incorrectly assumes that theJtaDataSource.afterCompletion(int)method will be invoked on the same thread as the governing transaction, which is not necessarily the case, especially in the case of asynchronous rollbacks. As a result,Connections acquired by instances of this class may not be closed properly.This method is slated for removal with no replacement.This class is slated for removal with no replacement.UseAi.ChatMemoryProviderinstead.UseAi.ChatMemoryProviderinstead.This option is deprecated, useMcpClientConfig.BuilderBase.uriinsteadThis option is deprecated, useMcpClientConfig.BuilderBase.uriinsteadThis option is deprecated, useMcpClientConfig.uri()insteadTo be removed in a future release. No replacement.Use the Helidon neutral metrics API andunwrapits types to their Micrometer counterpartsUse the normal Helidon/metricsendpoint and configuration instead of/micrometer.Microstream is no longer maintained, the project has been renamed to Eclipse storeMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updateduseMicrostreamHealthCheck.Builder.timeout(Duration)insteadMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updateduseNeo4j.Builder.config(io.helidon.config.Config)insteaduseNeo4j.create(io.helidon.config.Config)insteadreplaced withhelidon-integrations-ocimodulereplaced withhelidon-integrations-ocimoduleio.helidon.integrations.vault.secrets.kv1.Kv1SecurityProvider.Kv1SecretConfig.Builder.config(Config) io.helidon.integrations.vault.secrets.kv2.Kv2SecurityProvider.Kv2SecretConfig.Builder.config(Config) useVault.Builder.config(io.helidon.config.Config)insteaduseVault.create(Config)insteadthis method is not intended to be broadly used. Will be removed later.UseMetadataConstants.FEATURE_REGISTRY_FILEinstead.useMeterRegistry.create()insteaduseMeterRegistry.create(MetricsConfig)insteaduse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementglobal instances are deprecated in general, andServicescan be used to get such an instance; until these methods are removed, the behavior may differuseTag.create(String, String)insteaduseTag.create(String, String)insteadProvided for backward compatibility only; no replacementProvided for backward compatibility only; no replacementProvided for backward compatibility only; no replacementUserest-request.enabledinstead.use annotations fromCorsto configure CORS; each method in this annotation is equivalent to an annotation class in the referenced class. I.e.CrossOrigin.value()is replaced withCors.AllowOrigins; this class will be removed from a future version of Helidon.useJwtAuthProvider.create(io.helidon.config.Config)insteaduseJwtAuthProvider.create(io.helidon.config.Config)insteadNo need to invoke addExtensions any longer; extensions are handled by the custom property utils implementation.No need to invoke addRef any longer; refs are handled by the custom property utils implementation.useScheduling.FixedRateinsteaduseScheduling.CroninsteaduseOpenApiFeature.create(io.helidon.config.Config)insteadfeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featureThis option is deprecated, useFixedRateConfig.BuilderBase.intervalinsteadThis option is deprecated, useFixedRateConfig.BuilderBase.intervalinsteadThis option is deprecated, useFixedRateConfig.BuilderBase.delayByinsteadThis option is deprecated, useFixedRateConfig.BuilderBase.delayByinsteadas duration is used for new options, this option is not neededas duration is used for new options, this option is not neededThis option is deprecated, useFixedRateConfig.interval()insteadThis option is deprecated, useFixedRateConfig.delayBy()insteadas duration is used for new options, this option is not neededuseFixedRateInvocation.interval()insteaduseFixedRateInvocation.delayBy()insteaduse eitherFixedRateInvocation.delayBy()orFixedRateInvocation.interval()insteaduseCron.builder()insteaduseCron.builder()insteaduseCronConfig.BuilderinsteaduseFixedRate.builder()insteaduseFixedRate.builder()insteaduseFixedRateConfig.BuilderinsteadusePolicyValidator.create(io.helidon.config.Config)insteaduseScopeValidator.create(io.helidon.config.Config)insteaduseScopeValidator.create(io.helidon.config.Config)insteaduseJwtValidator.Builder.addUserPrincipalValidator()insteaduseJwtValidator.Builder.addDefaultTimeValidators()insteaduseJwtValidator.Builder.addExpirationValidator()insteaduseJwtValidator.Builder.addFieldValidator(Consumer)insteaduseJwtValidator.Builder.addIssueTimeValidator()insteaduseJwtValidator.Builder.addNotBeforeValidator()insteaduseJwtValidator.validate(Jwt)insteaduseJwtValidator.validate(Jwt)insteaduseJwtValidator.validate(Jwt)insteaduseJwtValidator.validate(Jwt)insteaduseJwtValidator.validate(Jwt)insteaduseAbacProvider.create(io.helidon.config.Config)insteaduseEvictableCache.create(io.helidon.config.Config)insteaduseOutboundConfig.create(io.helidon.config.Config)insteaduseOutboundTarget.create(io.helidon.config.Config)insteadgoing away from reflection, useAnnotationAnalyzer.analyze(io.helidon.common.types.TypeName, java.util.List, io.helidon.security.providers.common.spi.AnnotationAnalyzer.AnalyzerResponse)insteaduse our OpenID Connect security provider insteaduseConfigUserStore.create(io.helidon.config.Config)insteaduseHttpDigest.Qop.create(io.helidon.config.Config)insteaduseJwtProvider.create(io.helidon.config.Config)insteaduseJwtProvider.create(io.helidon.config.Config)insteaduseBaseBuilder.config(io.helidon.config.Config)insteadfeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featureuse proxy configuration on the webclient. SeeOidcConfig.Builder.webclient(Consumer)use proxy configuration on the webclient. SeeOidcConfig.Builder.webclient(Consumer)use proxy configuration on the webclient. SeeOidcConfig.Builder.webclient(Consumer)use OIDC webclient configuration instead. SeeOidcConfig.Builder.webclient(Consumer)useOidcConfig.create(io.helidon.config.Config)insteadthis option is now configured on the webclient directlyuseOidcProvider.create(io.helidon.config.Config)insteaduseSecurity.create(io.helidon.config.Config)insteaduseSecurityLevel.annotations()insteaduseSecurityLevel.classAnnotations()insteaduseSecurityLevel.typeName()insteaduseSecurityLevel.methodAnnotations()insteaduseSecurityLevel.methodName()insteaduseSecurityTime.create(io.helidon.config.Config)insteaduseDigestProvider.digest(io.helidon.config.Config)insteaduseSecretsProvider.secret(io.helidon.config.Config)insteaduseTokenHandler.create(io.helidon.config.Config)insteadthis class is not part of public API and does not have any public elements, it will be package private in a future releaseuse one of the scope annotations instead (Service.Singleton,Service.PerLookup).useTracingConfig.create(io.helidon.config.Config)insteadSE apps should migrate to use another provider, such as io.helidon.tracing.provicders.opentelemetry; MP apps should migrate to using one of OpenTelemetry's OTLP exporters (http/protoorgrpc).Use a different tracing provider such as OpenTelemetry.Use another tracing provider, such as OpenTelemetry.UseSpan.baggage()and thenBaggage.get(String).UseSpan.baggage()and thenWritableBaggage.set(String, String)}.we are switching to service registry for global instances, kindly useServices.get(Class)insteadwe are switching to Service registry for global instances, kindly useServices.set(Class, Object[])before using tracing instead of calling this methodUseTracerBuilder.config(io.helidon.config.Config)instead.useTracerBuilder.create(io.helidon.config.Config)insteadreadTimeout is deprecated to be part of the connection key. UseConnectionKey.create(String, String, int, Tls, DnsResolver, DnsAddressLookup, Proxy)instead.useProxy.Builder.config(io.helidon.config.Config)insteaduseProxy.create(io.helidon.config.Config)insteadthis constructor was left public by accident, please use #create(Config)useHttp1Client.create(io.helidon.config.Config)insteaduseHttp2Client.create(io.helidon.config.Config)insteadthis method is no longer invoked and may be removed in the futureuseLimitsFeature.create(io.helidon.config.Config)insteadthis method will be removed without a replacement, path based configuration is now handled byCorsConfig.BuilderBase.paths()this method will be removed without a replacement, path based configuration is now handled byCorsConfig.paths()Helidon is centralizing CORS handling into a single feature, you can configure this feature using config, or set it up through builder and register it with a web server - seeCorsFeature; additional protected paths can be specified usingCorsConfig.BuilderBase.addPath(CorsPathConfig), or by creating aServiceRegistrythat provides an instance ofCorsPathConfig.useCorsFeature.create(io.helidon.config.Config)insteadthis class should never be used directly, and will be removed, you can get an instance ofCorsFeatureeither 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 registryCORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of HelidonuseCorsSupport.create(io.helidon.config.Config)insteaduseio.helidon.grpc.core.CollectingObserverinstead.Use the Helidon context to pass a descriptor insteadto be moved toio.helidon.webserver.grpc.tracing.will be removed in a future version, please useResponseHelperreplaced bySinkProvider.create(SinkProviderContext)this switch exists for temporary backward compatible behavior, and will be removed in a future Helidon versionthis switch exists for temporary backward compatible behavior, and will be removed in a future Helidon versionthis switch exists for temporary backward compatible behavior, and will be removed in a future Helidon versionuseListenerConfig.BuilderBase.connectionOptions()insteaduseListenerConfig.BuilderBase.connectionOptions()insteaduseListenerConfig.BuilderBase.connectionOptions()insteadio.helidon.webserver.ListenerConfig.BuilderBase.connectionConfig(Consumer<ConnectionConfig.Builder>) useListenerConfig.BuilderBase.connectionOptions()insteaduseListenerConfig.BuilderBase.connectionOptions()insteaduseListenerConfig.connectionOptions()insteaduseMetricsObserver.create(io.helidon.config.Config)insteaduseObserveFeature.create(io.helidon.config.Config)insteadfeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver feature; reason for existence of this class was CORS configuration - as this is now not needed, this class will most likely be removed in a future version of Helidon; implement anHttpFeaturedirectly insteadfeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver feature; as this class's reason for existence was mostly CORS, it will be removed in a future release of Helidon; implementHttpServicedirectly insteadfeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featureimplementServerConnection.handle(io.helidon.common.concurrency.limits.Limit)insteadreplaced bySseSinkProvider.create(SinkProviderContext)static content has been refactored to use server feature, with a new service, using new configuration approach, useStaticContentFeatureinstead, or if specific services are desired, kindly useStaticContentFeature.createService(ClasspathHandlerConfig)and/orStaticContentFeature.createService(FileSystemHandlerConfig)useClasspathHandlerConfig.builder()insteaduseClasspathHandlerConfig.builder()insteaduseFileSystemHandlerConfig.builder()insteadreplaced withFileSystemHandlerConfigandClasspathHandlerConfig
-
Deprecated ModulesModuleDescriptionuse
io.helidon.config:helidon-configmodule insteadthis module will be removed, use APIs available onhelidon-webserver-corsMicrostream is no longer maintained, the project has been renamed to Eclipse storeMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedreplaced withhelidon-integrations-ocimoduleuse our OpenID Connect security provider insteadthis is a feature in progress of development, there may be backward incompatible changes done to it, so please use with careSE apps should migrate to use another provider, such as io.helidon.tracing.provicders.opentelemetry; MP apps should migrate to using one of OpenTelemetry's OTLP exporters (http/protoorgrpc).Use a different tracing provider such as OpenTelemetry.
-
Deprecated PackagesPackageDescriptionThis package is slated for removal with no replacement.
-
Deprecated InterfacesInterfaceDescriptionthis is only present for backward compatibility and will be removed in a future versionthis API will be package local in the future, use through Helidon codegen onlyDO NOT USE except for backward compatibility with semaphore based handlinguse
io.helidon.config.Configinsteaduseio.helidon.config.ConfiguredProviderinsteaduse types inio.helidon.configpackage insteaduseio.helidon.config.NamedServiceinsteadthere is no replacement for this type, use factory methods on the implementation directlyuseMappersinsteadthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonreplaced withhelidon-integrations-ocimodulethis API is part of incubating features of Helidon. This API may change including backward incompatible changes and full removal. We welcome feedback for incubating features.this is a feature in progress of development, there may be backward incompatible changes done to it, so please use with carethis is a feature in progress of development, there may be backward incompatible changes done to it, so please use with carethis is a feature in progress of development, there may be backward incompatible changes done to it, so please use with carethis is a feature in progress of development, there may be backward incompatible changes done to it, so please use with careuseSocketOptionsBlueprintinsteadUse the Helidon context to pass a descriptor insteadto be moved toio.helidon.webserver.grpc.tracing.this API is part of incubating features of Helidon. This API may change including backward incompatible changes and full removal. We welcome feedback for incubating features.feature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver feature; as this class's reason for existence was mostly CORS, it will be removed in a future release of Helidon; implementHttpServicedirectly insteadstatic content has been refactored to use server feature, with a new service, using new configuration approach, useStaticContentFeatureinstead, or if specific services are desired, kindly useStaticContentFeature.createService(ClasspathHandlerConfig)and/orStaticContentFeature.createService(FileSystemHandlerConfig)
-
Deprecated ClassesClassDescriptionthis is intended for internal use. This will be a package private type in the future.this is an internal API, all usage should be done through
helidon-codegenAPIs, such asCodegenContext.typeInfo(io.helidon.common.types.TypeName); this type will be package local in the futurethis is only provided for backward compatibility and will be removed, useFixedLimit.create()to get unlimited limituseio.helidon.config.ConfigBuilderSupportinsteadUseServices.get(Class), orServiceRegistry.get(Class)if you have an instance ready to obtain the "global" configuration; in case you are writing a registry service, simply inject the config instance; useServices.set(Class, Object[])to use a custom instance of configuration, just make sure it is registered before it is used the first timekindly useLruCache, we are removing this from the configurable module, as cache has only a single option, and we need it from modules that do not use configurationthis API is part of incubating features of Helidon. This API may change including backward incompatible changes and full removal. We welcome feedback for incubating features.useMappersConfig.Builder, obtained fromMappers.builder()please useOutputStreamMultiinsteaduseElementKind,ModifierandAccessModifierinstead, and appropriate methods that return these typesthis API is part of incubating features of Helidon. This API may change including backward incompatible changes and full removal. We welcome feedback for incubating features.this class is not used anymore and will be removedthis class is not used anymore and will be removedthis class is only for common config, which will be removedthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonthis module will be removed, CORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of HelidonuseUriValidatorinsteadthis API is part of incubating features of Helidon. This API may change including backward incompatible changes and full removal. We welcome feedback for incubating features.Only a CDI container should instantiate this class.Please usePersistenceExtensioninstead.This class is slated for removal.This class is slated for removal.An equivalent class now exists in Narayana itself.An equivalent class now exists in Narayana itself.This class is slated for removal. It makes incorrect assumptions about threading in a JTA environment. Specifically, this class' implementation incorrectly assumes that theJtaDataSource.afterCompletion(int)method will be invoked on the same thread as the governing transaction, which is not necessarily the case, especially in the case of asynchronous rollbacks. As a result,Connections acquired by instances of this class may not be closed properly.This class is slated for removal with no replacement.To be removed in a future release. No replacement.Use the Helidon neutral metrics API andunwrapits types to their Micrometer counterpartsUse the normal Helidon/metricsendpoint and configuration instead of/micrometer.Microstream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updateduseCronConfig.BuilderinsteaduseFixedRateConfig.BuilderinsteaduseJwtValidator.Builder.addExpirationValidator()insteaduseJwtValidator.Builder.addFieldValidator(Consumer)insteaduseJwtValidator.Builder.addIssueTimeValidator()insteaduseJwtValidator.Builder.addNotBeforeValidator()insteadthis class is not part of public API and does not have any public elements, it will be package private in a future releasethis is a feature in progress of development, there may be backward incompatible changes done to it, so please use with carethis is a feature in progress of development, there may be backward incompatible changes done to it, so please use with careUse another tracing provider, such as OpenTelemetry.this API is part of incubating features of Helidon. This API may change including backward incompatible changes and full removal. We welcome feedback for incubating features.This class should only be used viaServiceLoader. UseGrpcClientTracinginstead.This class should only be used viaServiceLoader. UseWebClientMetricsinsteadThis class should only be used viaServiceLoader. UseWebClientSecurityinsteadThis class should only be used viaServiceLoader. UseWebClientTracinginsteadthis API is part of incubating features of Helidon. This API may change including backward incompatible changes and full removal. We welcome feedback for incubating features.Helidon is centralizing CORS handling into a single feature, you can configure this feature using config, or set it up through builder and register it with a web server - seeCorsFeature; additional protected paths can be specified usingCorsConfig.BuilderBase.addPath(CorsPathConfig), or by creating aServiceRegistrythat provides an instance ofCorsPathConfig.this class should never be used directly, and will be removed, you can get an instance ofCorsFeatureeither 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 registryCORS configuration is centralized to modulehelidon-webserver-corswithio.helidon.webserver.cors.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; this class will be removed in a future version of Helidonuseio.helidon.grpc.core.CollectingObserverinstead.to be moved toio.helidon.webserver.grpc.tracing.will be removed in a future version, please useResponseHelperthis API is part of incubating features of Helidon. This API may change including backward incompatible changes and full removal. We welcome feedback for incubating features.this API is part of incubating features of Helidon. This API may change including backward incompatible changes and full removal. We welcome feedback for incubating features.only forServiceLoaderthis type is only to be used fromServiceLoaderonly forServiceLoaderonly forServiceLoaderonly forServiceLoaderthis type is only to be used fromServiceLoaderfeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver feature; reason for existence of this class was CORS configuration - as this is now not needed, this class will most likely be removed in a future version of Helidon; implement anHttpFeaturedirectly insteadreplaced withFileSystemHandlerConfigandClasspathHandlerConfig
-
Deprecated Enum Classes
-
Deprecated Exception ClassesException ClassDescriptionthis class is no longer used, switch to
helidon-configmodule with its own config exception classMicrostream is renamed to Eclipse store and no longer updated
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionuse
Prototype.PrototypeFactoryMethod,Prototype.ConfigFactoryMethod, orPrototype.RuntimeTypeFactoryMethodfor other types this annotation could have been used for in the pastthis is an unnecessary duplication of what is required on the blueprint, use only blueprintPrototype.Factoryinstead.useFeatures.Aotinstead.useFeatures.Name,Features.Pathetc. instead.useFeatures.Incubatinginstead.useFeatures.Previewinstead.This annotation is slated for removal.UseAi.ChatMemoryProviderinstead.UseAi.ChatMemoryProviderinstead.Microstream is renamed to Eclipse store and no longer updatedMicrostream is renamed to Eclipse store and no longer updateduse annotations fromCorsto configure CORS; each method in this annotation is equivalent to an annotation class in the referenced class. I.e.CrossOrigin.value()is replaced withCors.AllowOrigins; this class will be removed from a future version of Helidon.useScheduling.FixedRateinsteaduseScheduling.CroninsteadUseAddBeaninsteadUseAddBeansinsteadUseAddConfiginsteadUseAddConfigBlockinsteadUseAddConfigsinsteadUseAddExtensioninsteadUseAddExtensionsinsteadUseAddJaxRsinsteadUseAfterStopinsteadUseConfigurationinsteadUseSocketinsteadUseAddBeaninsteadUseAddBeansinsteadUseAddConfiginsteadUseAddConfigBlockinsteadUseAddConfigsinsteadUseAddExtensioninsteadUseAddExtensionsinsteadUseAddJaxRsinsteadUseConfigurationinsteadthis API is part of incubating features of Helidon. This API may change including backward incompatible changes and full removal. We welcome feedback for incubating features.use one of the scope annotations instead (Service.Singleton,Service.PerLookup).this is a feature in progress of development, there may be backward incompatible changes done to it, so please use with carethis is a feature in progress of development, there may be backward incompatible changes done to it, so please use with carethis is a feature in progress of development, there may be backward incompatible changes done to it, so please use with care
-
Deprecated FieldsFieldDescriptionIt is strongly recommended not to use this algorithm as stated here RFC6151 - 2.It is strongly recommended not to use this algorithm as stated here RFC6149 - Section 6.It is strongly recommended not to use this algorithm as stated here RFC6151 - Section 2.1.SHA-1 is unsafe to use alone due to its vulnerability to collision attacksHMAC-MD5 should not be used for signature purposes, for more information see RFC6151 - Section 2.3.It is strongly recommended not to use this algorithm for signature purposes as stated here RFC6149 - Section 6.It is strongly recommended not to use this algorithm for signature purposes as stated here RFC6149 - Section 2.Use
MetadataConstants.FEATURE_REGISTRY_FILEinstead.this is internal constant, and it will not be public in a future version of Helidon
-
Deprecated MethodsMethodDescriptionuse
PrototypeInfo.BuilderBase.prototypeFactories(), orPrototypeInfo.BuilderBase.runtimeTypeFactories(), orPrototypeInfo.BuilderBase.configFactories()instead, only present for backwards compatibilityusePrototypeInfo.BuilderBase.prototypeFactories(), orPrototypeInfo.BuilderBase.runtimeTypeFactories(), orPrototypeInfo.BuilderBase.configFactories()instead, only present for backwards compatibilityusePrototypeInfo.BuilderBase.prototypeFactories(), orPrototypeInfo.BuilderBase.runtimeTypeFactories(), orPrototypeInfo.BuilderBase.configFactories()instead, only present for backwards compatibilityusePrototypeInfo.BuilderBase.prototypeFactories(), orPrototypeInfo.BuilderBase.runtimeTypeFactories(), orPrototypeInfo.BuilderBase.configFactories()instead, only present for backwards compatibilityusePrototypeInfo.prototypeFactories(), orPrototypeInfo.runtimeTypeFactories(), orPrototypeInfo.configFactories()instead, only present for backwards compatibilitythis is an internal API, all usage should be done throughhelidon-codegenAPIs, such asCodegenContext.typeInfo(io.helidon.common.types.TypeName)useCodegen.process(java.util.List, java.util.List)insteaduseAimdLimit.create(io.helidon.config.Config)insteaduseFixedLimit.create(io.helidon.config.Config)insteadthis only exists for backward compatibility of Helidon WebServer and will be removeduseThroughputLimit.create(io.helidon.config.Config)insteaduseServices.get(Class)insteaduseServices.set(Class, Object[])insteaduseServices.set(Class, Object[])insteaduseAllowList.create(io.helidon.config.Config)insteaduseResource.create(io.helidon.config.Config)insteaduseMappers.builder()insteadwe have switched to using weights instead of priority, this method will be removed without replacementuseMappers.create()insteaduseServices.get(Class)- i.e.Services.get(Mappers.class), or use your registry instance in a similar wayuseServices.set(Class, Object[])- i.e.Services.get(Mappers.class, myMappers)before the program starts (must be configured before it is first used)useMediaType.text()useKeystoreKeys.BuilderBase.passphrase(String)insteaduseAwaitable.await(Duration)insteadPlease useIoMulti.outputStreamMultiBuilder()please useIoMulti.multiFromStream(java.io.InputStream)Please useIoMulti.outputStreamMulti()useMulti.create(io.helidon.common.reactive.Single)insteaduseMulti.create(java.lang.Iterable)insteaduseMulti.create(java.util.stream.Stream)insteaduseSingle.create(io.helidon.common.reactive.Single)insteadthis method is not used in Helidon, and will be removeduseTls.create(io.helidon.config.Config)insteaduseAnnotation.properties()instead, and accessor methods on this interfaceuseAnnotation.properties()instead, and accessor methods on this interfaceuseAnnotation.properties()instead, and accessor methods on this interfaceuseAnnotation.properties()instead, and accessor methods on this interfaceuseAnnotation.properties()instead, and accessor methods on this interfaceThis option is deprecated, useTypedElementInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.kindinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.kindinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypedElementInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypedElementInfo.kind()insteadThis option is deprecated, useTypedElementInfo.elementModifiers()insteadThis option is deprecated, useTypeInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypeInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypeInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypeInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypeInfo.BuilderBase.elementModifiersinsteadThis option is deprecated, useTypeInfo.BuilderBase.kindinsteadThis option is deprecated, useTypeInfo.BuilderBase.kindinsteadThis option is deprecated, useTypeInfo.elementModifiers()insteadThis option is deprecated, useTypeInfo.kind()insteaduseServices.set(Class, Object[])to register a static instance for the global service registry; when using a custom service registry instance, set is on the registry configuration builderuseConfig.as(java.util.function.Function)insteaduseConfig.asList(java.util.function.Function)insteaduse new time API, such asZonedDateTimeUse one of the time API classes, such asInstantorZonedDateTimeuse new time API, such asZonedDateTimeuse new time API, such asZoneIduse new time API, such asZoneIduseConfiguredProvider.create(Config, String)insteadThis method will be moved to a new modulethis method will be removed once a separate module for encryption is createdThis attribute is unsupported and will be removed in the next major releaseThis attribute is unsupported and will be removed in the next major releaseThis attribute is unsupported and will be removed in the next major releaseThis attribute is unsupported and will be removed in the next major releasewill be removed with Jakarta Persistence 3.2will be removed with Jakarta Persistence 3.2useDbClient.builder(io.helidon.config.Config)insteaduseDbStatements.create(io.helidon.config.Config)insteaduseDbClientHealthCheck.Builder.timeout(Duration)insteaduseDbClientBuilder.config(io.helidon.config.Config)insteaduseDbClientTracing.create(io.helidon.config.Config)insteadthis method will be removed without replacement; each fault tolerance component that supports executor service can be configured with such explicitly in its builder (i.e.AsyncConfig.BuilderBase.executor(java.util.concurrent.ExecutorService)). When using declarative, the executor service can be configured as a named service.this method was not intended for public use, and will be removed in a future version of Helidonthis method was not intended for public use, and will be removed in a future version of HelidonuseValue.get()use other methods to handle headers, preferably using pull approachuseUriValidator.validateHost(String)insteaduseUriValidator.validateIpLiteral(String)insteaduseUriValidator.validateNonIpLiteral(String)insteaduseGsonSupport.create(io.helidon.config.Config)insteaduseJacksonSupport.create(io.helidon.config.Config)insteaduseJsonbSupport.create(io.helidon.config.Config)insteaduseJsonpSupport.create(io.helidon.config.Config)insteaduseMediaContext.create(io.helidon.config.Config)insteaduseMethod.text()instead, this method conflicts with enumFor Hibernate use only.For Hibernate use only.For Hibernate use only.For Hibernate use only.For Hibernate use only.This method exists for backwards compatibility only and has no replacement.This method exists for backwards compatibility only. Please use theAbstractConfigurableExtension.names()method instead.This method exists for backwards compatibility only. Please use theAbstractConfigurableExtension.configPropertyNames()method instead.This method exists for backwards compatibility only. Please use theAbstractConfigurableExtension.initializeNamedProperties()method instead.This method exists for backwards compatibility only. Please use theAbstractConfigurableExtension.put(String, Properties)method instead.This method is slated for removal with no replacement.This option is deprecated, useMcpClientConfig.BuilderBase.uriinsteadThis option is deprecated, useMcpClientConfig.BuilderBase.uriinsteadThis option is deprecated, useMcpClientConfig.uri()insteadio.helidon.integrations.langchain4j.providers.coherence.CoherenceEmbeddingStoreConfig.create(Config) io.helidon.integrations.langchain4j.providers.oci.genai.OciGenAiCohereChatModelConfig.create(Config) io.helidon.integrations.langchain4j.providers.oracle.EmbeddingTableConfig.BuilderBase.config(Config) This option is deprecated, useOracleEmbeddingStoreConfig.BuilderBase.vectorIndexinsteadThis option is deprecated, useOracleEmbeddingStoreConfig.BuilderBase.vectorIndexinsteadThis option is deprecated, useOracleEmbeddingStoreConfig.BuilderBase.vectorIndexinsteadThis option is deprecated, useOracleEmbeddingStoreConfig.vectorIndex()insteaduseMicrostreamHealthCheck.Builder.timeout(Duration)insteaduseNeo4j.Builder.config(io.helidon.config.Config)insteaduseNeo4j.create(io.helidon.config.Config)insteadFor use by the Helidon Config subsystem only.For use by the Helidon Config subsystem only.For use by the Helidon Config subsystem only.io.helidon.integrations.vault.secrets.kv1.Kv1SecurityProvider.Kv1SecretConfig.Builder.config(Config) io.helidon.integrations.vault.secrets.kv2.Kv2SecurityProvider.Kv2SecretConfig.Builder.config(Config) useVault.Builder.config(io.helidon.config.Config)insteaduseVault.create(Config)insteadthis method is not intended to be broadly used. Will be removed later.useMeterRegistry.create()insteaduseMeterRegistry.create(MetricsConfig)insteaduse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementuse theMeterRegistryAPI instead, as this method is just a shortcut toMetrics.globalRegistry(); this method will be removed without a replacementglobal instances are deprecated in general, andServicescan be used to get such an instance; until these methods are removed, the behavior may differuseTag.create(String, String)insteaduseTag.create(String, String)insteadProvided for backward compatibility only; no replacementProvided for backward compatibility only; no replacementProvided for backward compatibility only; no replacementUserest-request.enabledinstead.useJwtAuthProvider.create(io.helidon.config.Config)insteaduseJwtAuthProvider.create(io.helidon.config.Config)insteadNo need to invoke addExtensions any longer; extensions are handled by the custom property utils implementation.No need to invoke addRef any longer; refs are handled by the custom property utils implementation.useOpenApiFeature.create(io.helidon.config.Config)insteadfeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featureThis option is deprecated, useFixedRateConfig.BuilderBase.intervalinsteadThis option is deprecated, useFixedRateConfig.BuilderBase.intervalinsteadThis option is deprecated, useFixedRateConfig.BuilderBase.delayByinsteadThis option is deprecated, useFixedRateConfig.BuilderBase.delayByinsteadas duration is used for new options, this option is not neededas duration is used for new options, this option is not neededThis option is deprecated, useFixedRateConfig.interval()insteadThis option is deprecated, useFixedRateConfig.delayBy()insteadas duration is used for new options, this option is not neededuseFixedRateInvocation.interval()insteaduseFixedRateInvocation.delayBy()insteaduse eitherFixedRateInvocation.delayBy()orFixedRateInvocation.interval()insteaduseCron.builder()insteaduseCron.builder()insteaduseFixedRate.builder()insteaduseFixedRate.builder()insteadusePolicyValidator.create(io.helidon.config.Config)insteaduseScopeValidator.create(io.helidon.config.Config)insteaduseScopeValidator.create(io.helidon.config.Config)insteaduseJwtValidator.Builder.addUserPrincipalValidator()insteaduseJwtValidator.Builder.addDefaultTimeValidators()insteaduseJwtValidator.validate(Jwt)insteaduseJwtValidator.validate(Jwt)insteaduseJwtValidator.validate(Jwt)insteaduseJwtValidator.validate(Jwt)insteaduseJwtValidator.validate(Jwt)insteaduseAbacProvider.create(io.helidon.config.Config)insteaduseEvictableCache.create(io.helidon.config.Config)insteaduseOutboundConfig.create(io.helidon.config.Config)insteaduseOutboundTarget.create(io.helidon.config.Config)insteadthis method will be made default in a future version, and marked for removal; it will be removed in two major versions from now (most likely version 6). UseAnnotationAnalyzer.analyze(io.helidon.common.types.TypeName, java.util.List)instead.going away from reflection, useAnnotationAnalyzer.analyze(io.helidon.common.types.TypeName, java.util.List, io.helidon.security.providers.common.spi.AnnotationAnalyzer.AnalyzerResponse)insteaduseConfigUserStore.create(io.helidon.config.Config)insteaduseHttpDigest.Qop.create(io.helidon.config.Config)insteaduseJwtProvider.create(io.helidon.config.Config)insteaduseJwtProvider.create(io.helidon.config.Config)insteaduseBaseBuilder.config(io.helidon.config.Config)insteadfeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featureuse proxy configuration on the webclient. SeeOidcConfig.Builder.webclient(Consumer)use proxy configuration on the webclient. SeeOidcConfig.Builder.webclient(Consumer)use proxy configuration on the webclient. SeeOidcConfig.Builder.webclient(Consumer)use OIDC webclient configuration instead. SeeOidcConfig.Builder.webclient(Consumer)useOidcConfig.create(io.helidon.config.Config)insteadthis option is now configured on the webclient directlyuseOidcProvider.create(io.helidon.config.Config)insteaduseSecurity.create(io.helidon.config.Config)insteaduseSecurityContext.isAuthorized()insteaduseSecurityLevel.annotations()insteaduseSecurityLevel.classAnnotations()insteaduseSecurityLevel.typeName()insteaduseSecurityLevel.methodAnnotations()insteaduseSecurityLevel.methodName()insteaduseSecurityTime.create(io.helidon.config.Config)insteaduseDigestProvider.digest(io.helidon.config.Config)insteaduseSecretsProvider.secret(io.helidon.config.Config)insteaduseTokenHandler.create(io.helidon.config.Config)insteaduseTracingConfig.create(io.helidon.config.Config)insteadUseJaegerGrpcSpanExporterBuilder.setEndpoint(String). If you have a use case not satisfied by the methods on this builder, please file an issue to let us know what it is.UseSpan.baggage()and thenBaggage.get(String).UseSpan.baggage()and thenWritableBaggage.set(String, String)}.we are switching to service registry for global instances, kindly useServices.get(Class)insteadwe are switching to Service registry for global instances, kindly useServices.set(Class, Object[])before using tracing instead of calling this methodUseTracerBuilder.config(io.helidon.config.Config)instead.useTracerBuilder.create(io.helidon.config.Config)insteaduseProxy.Builder.config(io.helidon.config.Config)insteaduseProxy.create(io.helidon.config.Config)insteaduseHttp1Client.create(io.helidon.config.Config)insteaduseHttp2Client.create(io.helidon.config.Config)insteadthis method is no longer invoked and may be removed in the futureuseLimitsFeature.create(io.helidon.config.Config)insteadthis method will be removed without a replacement, path based configuration is now handled byCorsConfig.BuilderBase.paths()this method will be removed without a replacement, path based configuration is now handled byCorsConfig.paths()useCorsFeature.create(io.helidon.config.Config)insteaduseCorsSupport.create(io.helidon.config.Config)insteadreplaced bySinkProvider.create(SinkProviderContext)this switch exists for temporary backward compatible behavior, and will be removed in a future Helidon versionthis switch exists for temporary backward compatible behavior, and will be removed in a future Helidon versionthis switch exists for temporary backward compatible behavior, and will be removed in a future Helidon versionuseListenerConfig.BuilderBase.connectionOptions()insteaduseListenerConfig.BuilderBase.connectionOptions()insteaduseListenerConfig.BuilderBase.connectionOptions()insteadio.helidon.webserver.ListenerConfig.BuilderBase.connectionConfig(Consumer<ConnectionConfig.Builder>) useListenerConfig.BuilderBase.connectionOptions()insteaduseListenerConfig.BuilderBase.connectionOptions()insteaduseListenerConfig.connectionOptions()insteaduseMetricsObserver.create(io.helidon.config.Config)insteaduseObserveFeature.create(io.helidon.config.Config)insteadfeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featurefeature specific CORS configuration is deprecated and will be removed; use either config based CORS setup (configuration keycors, or programmatic setup using theio.helidon.webserver.cors.CorsFeatureserver featureimplementServerConnection.handle(io.helidon.common.concurrency.limits.Limit)insteadreplaced bySseSinkProvider.create(SinkProviderContext)useClasspathHandlerConfig.builder()insteaduseClasspathHandlerConfig.builder()insteaduseFileSystemHandlerConfig.builder()instead
-
Deprecated ConstructorsConstructorDescriptionplease do not use directlyuse
DataReader.create(java.util.function.Supplier)insteaduseContext.builder()insteadplease useErrors.collector()insteaduseSingleSubscriberHolder.create()instead.only forServiceLoaderUseHoconConfigParser.builder()to construct a customized instance, orHoconConfigParser.create()to get an instance with defaultsThis method should not be directly used, useYamlConfigParser.create()required by JavaServiceLoaderrequired by JavaServiceLoaderrequired by service loaderrequired by JavaServiceLoaderrequired by JavaServiceLoaderrequired by JavaServiceLoaderrequired by JavaServiceLoaderrequired by JavaServiceLoaderrequired by JavaServiceLoaderOnly a CDI container should invoke this constructor.For Hibernate use only.For use byServiceLoaderinstances only.For invocation by CDI only.For use by CDI only.For use by CDI only.ForServiceLoaderuse only.This constructor continues to exist for backwards compatibility only and its use is strongly discouraged. Please use theConditionallyCloseableConnection(Connection, boolean, boolean)constructor instead and consider supplyingtruefor itsstrictClosedCheckingparameter. In the future, this constructor may change, without prior notice, to cause newConditionallyCloseableConnectioninstances created by it to behave as if they were created by invocations of theConditionallyCloseableConnection(Connection, boolean, boolean)constructor instead, withtruesupplied for itsstrictClosedCheckingparameter.This constructor continues to exist for backwards compatibility only and its use is strongly discouraged. Please use theConditionallyCloseableConnection(Connection, boolean, boolean)constructor instead and consider supplyingtruefor itsstrictClosedCheckingparameter. In the future, this constructor may change, without prior notice, to cause newConditionallyCloseableConnectioninstances created by it to behave as if they were created by invocations of theConditionallyCloseableConnection(Connection, boolean, boolean)constructor instead, withtruesupplied for itsstrictClosedCheckingparameter.This constructor exists only to handle certain XA-aware connection pools that allow an end-user caller to "borrow"XAConnections and to "return" them using theirclose()methods, a non-standard practice which is discouraged by the documentation ofPooledConnection(from whichXAConnectioninherits). For such connection pools,XAConnections that are "borrowed" must be returned in this manner to avoid leaks. This constructor implements this behavior. Before using it, you should make sure that the connection pool in question implementing or supplying theXADataSourcehas the behavior described above; normally anXAConnectionshould not be used directly or closed by end-user code.This constructor exists only to handle certain XA-aware connection pools that allow an end-user caller to "borrow"XAConnections and to "return" them using theirclose()methods, a non-standard practice which is discouraged by the documentation ofPooledConnection(from whichXAConnectioninherits). For such connection pools,XAConnections that are "borrowed" must be returned in this manner to avoid leaks. This constructor implements this behavior. Before using it, you should make sure that the connection pool in question implementing or supplying theXADataSourcehas the behavior described above; normally anXAConnectionshould not be used directly or closed by end-user code.Only intended for service loader, do not instantiateForServiceLoaderuse only.this is a Java ServiceLoader implementation and the constructor should not be used directlyFor use byServiceLoaderonly.For use by the Helidon Config subsystem only.this is a Java ServiceLoader implementation and the constructor should not be used directlyto be used solely byServiceLoaderplease useAppRoleVaultAuth.builder()please useK8sVaultAuth.builder()Do not use this constructor, this is a service loader service!Do not use this constructor, this is a service loader service!Do not use this constructor, this is a service loader service!Do not use this constructor, this is a service loader service!please do not use directlyplease do not use directlyFor CDI use only.This constructor is only to be used byServiceLoader.only forServiceLoaderdo not use, this should only be invoked by Java Service Loaderonly forServiceLoader.only forServiceLoaderrequired byServiceLoaderplease do not use directlyreadTimeout is deprecated to be part of the connection key. UseConnectionKey.create(String, String, int, Tls, DnsResolver, DnsAddressLookup, Proxy)instead.do not use directlythis constructor was left public by accident, please use #create(Config)This class should only be used viaServiceLoader.do not use directly, use Http1ClientProtocoldo not use directly, use Http1ClientProtocolThis class should only be used viaServiceLoader.This class should only be used viaServiceLoader.This class should only be used viaServiceLoader.do not use directly, use WsClientProtocolConfigonly forServiceLoaderonly forServiceLoaderonly forServiceLoaderplease do not use directly outside of testing, this is reserved for JavaServiceLoaderonly forServiceLoaderto be used solely byServiceLoaderto be used solely byServiceLoaderto be used solely byServiceLoaderonly forServiceLoaderthis constructor must be public forServiceLoaderonly forServiceLoaderonly forServiceLoaderonly forServiceLoaderonly forServiceLoaderthis constructor must be public forServiceLoaderonly forServiceLoaderThis constructor is only to be used byServiceLoader, useWsUpgrader.create(WsConfig)for manual setup
-
Deprecated Enum Constants
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionThis attribute is unsupported and will be removed in the next major releaseThis attribute is unsupported and will be removed in the next major releaseThis attribute is unsupported and will be removed in the next major releaseThis attribute is unsupported and will be removed in the next major release