Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Enum Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Enum Constants
- Annotation Interface Elements
-
Terminally Deprecated ElementsElementDescriptionthis method will be removed without replacementuse constructor with a cause and outcome insteaduse constructor with a message and outcome insteaduse
TlsManager.reload(TlsMaterial), this method will be removed in the next major version of HelidonuseEncryptionFilter.builder()insteaduseDbClientContext.builder()insteaduseDbExecuteContext.builder()insteaddirect public use is not supported; useDbExecuteContext.builder()for the built-in execution context builderdirect public use is not supported; useDbClientMetrics.counter()orDbClientMetrics.timer()for the built-in metric buildersuseio.helidon.microprofile.grpc.client.GrpcChannel.useio.helidon.microprofile.grpc.core.GrpcMarshaller.useio.helidon.microprofile.grpc.client.GrpcProxy.useio.helidon.microprofile.grpc.core.RequestType.useio.helidon.microprofile.grpc.core.ResponseType.useHealthCheckResponse.builder()insteadThe retired DNT specification defines "TSV" as an ABNF production for values of theTkheader field, not as an HTTP header field nameThe retired DNT specification defines "TSV" as an ABNF production for values of theTkheader field, not as an HTTP header field nameuseMethod.create(String), which is case-sensitiveuseMetricsFactory.clockSystem(), you can getMetricsFactoryfromServices.get(Class)for the global metrics factorythis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.counterBuilder(String)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.distributionStatisticsConfigBuilder()insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.distributionSummaryBuilder(String, io.helidon.metrics.api.DistributionStatisticsConfig.Builder)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.distributionSummaryBuilder(String, io.helidon.metrics.api.DistributionStatisticsConfig.Builder)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.functionalCounterBuilder(String, Object, java.util.function.Function)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.gaugeBuilder(String, java.util.function.Supplier)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.gaugeBuilder(String, Object, java.util.function.ToDoubleFunction)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.histogramSnapshotEmpty(long, double, double)insteadCore metrics does not assign scopes, and this method will be removed.No-op, will be removed.Core metrics does not assign scopes, and this method will be removed.Core metrics ignores scope values, and this type will be removed.Core metrics ignores scope values, and this constant will be removed.Core metrics ignores scope values, and this constant will be removed.Core metrics ignores scope values, and this constant will be removed.Core metrics ignores scope values, and this constant will be removed.Core metrics ignores scope values, and this constant will be removed.either useServiceRegistry.get(Class)to get the global meter registry, or get theMetricsFactory.createMeterRegistry(MetricsConfig)to get a custom instanceeither useServiceRegistry.get(Class)to get the global meter registry, or get theMetricsFactory.createMeterRegistry(MetricsConfig)to get a custom instanceUseMeterRegistry.isMeterEnabled(String, Map). Scope is ignored and this method will be removed.UseMeterRegistry.meters(). Scope selection is ignored and this method will be removed.UseMeterRegistry.remove(Meter.Id). Scope is ignored and this method will be removed.UseMeterRegistry.remove(String, Iterable). Scope is ignored and this method will be removed.Always returns an empty iterable and will be removed.Core metrics ignores this value, and this element will be removed.Core metrics ignores this value, and this element will be removed.Core metrics ignores this value, and this element will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.UseMetricsConfig.isMeterEnabled(String). Scope is ignored and this method will be removed.Core metrics does not apply scope filtering, and this method will be removed.Core metrics ignores these settings, and this method will be removed.since 27.0.0, for removal. Metrics instances obtained from the service registry are closed by the service registry lifecycle.since 27.0.0, for removal. UseServices.get(MetricsFactory.class)for the shared metrics factory, or create non-global metrics objects using the programmatic API.since 27.0.0, for removal. Static config-based access is no longer supported. UseServices.get(MetricsFactory.class)for the shared metrics factory, or create non-global metrics objects using the programmatic API.since 27.0.0, for removal. Obtain the shared registry fromServices.get(MeterRegistry.class). This method remains for metrics implementation compatibility.since 27.0.0, for removal. Obtain the shared registry fromServices.get(MeterRegistry.class). To create a non-global registry with custom configuration, useMetricsFactory.createMeterRegistry(MetricsConfig).since 27.0.0, for removal. Obtain the shared registry fromServices.get(MeterRegistry.class). Listeners can be enrolled with a custom registry usingMetricsFactory.createMeterRegistry(MetricsConfig, Consumer, Consumer).since 27.0.0, for removal. This constant is no longer used because publisher availability is specific to each meter registry.Core metrics ignores these settings, and this type will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.UseScopeConfig.BuilderBase.exclude(Pattern). Core metrics ignores scope configuration, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.UseScopeConfig.BuilderBase.include(Pattern). Core metrics ignores scope configuration, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics does not apply scope filtering, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores these settings, and this type will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores this value, and this method will be removed.No-op, will be removed.Core metrics does not assign scopes, and this method will be removed.Core metrics does not assign scopes, and this method will be removed.since 27.0.0, for removal. UseServices.get(SystemTagsManager.class)for the shared system tags manager, orSystemTagsManager.create(MetricsConfig)for a non-global instance.useServices.get(SystemTagsManager.class)insteadsince 27.0.0, for removal. Obtain the shared manager fromServices.get(SystemTagsManager.class). To use different metrics configuration, create a non-global manager usingSystemTagsManager.create(MetricsConfig).Core metrics does not manage scope tags, and this method will be removed.Core metrics does not manage scope tags, and this method will be removed.UseSystemTagsManager.withoutSystemTags(Iterable). Scope tags are treated as ordinary tags, and this method will be removed.No-op, will be removed.No-op, will be removed.useMetricsFactory.tagCreate(String, String)insteadthis method getsMetricsFactoryfromServiceRegistry, which may be inefficient. CallMetricsFactory.timerBuilder(String)insteadthis method getsMetricsFactoryfromServiceRegistry, which may be inefficient. callMetricsFactory.timerStart()insteadthis method getsMetricsFactoryfromServiceRegistry, which may be inefficient. callMetricsFactory.timerStart(Clock)insteadcallMetricsFactory.timerStart(MeterRegistry)on the registry's owning factory insteaduseWrapperinsteadNo-op, will be removed.No-op, will be removed.UseMicrometerPrometheusFormatterProvider.formatter(MediaType, MetricsConfig, MeterRegistry, Map, Iterable). Scope-specific arguments are ignored and this method will be removed.UseMeterRegistryFormatterProvider.formatter(MediaType, MetricsConfig, MeterRegistry, Map, Iterable). Scope-specific arguments are ignored and this method will be removed.since 27.0.0, for removal. Metrics factory lifecycle is managed by the service registry.useServices.get(Class)insteadCore metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.UseRoleValidator.RoleConfig.builder()instead.UseAuthorizationResponse.builder()instead.UseClassToInstanceStore.create(Object...)instead.RSA1_5 is no longer supported for JWE key management.UseOutboundSecurityResponse.builder()instead.UseEvictableCache.builder()instead.UseAnnotationAnalyzer.AnalyzerResponse.builder()instead.UseConfigUserStore.create(Config)instead.UseOidcProvider.builder()instead.UseServices.set(Class, Object[])to configure a custom telemetry instance, or let Helidon resolve the correct instance.useServices.get(Class)to obtain the application-wideTracerfrom the service registryuseServices.set(Class, Object[])to register aTracerin the service registry before tracing is requesteduseWrapperinsteadGraphQL request processing does not use a dedicated executorGraphQL request processing does not use a dedicated executoruseHttpConfig.log()useHttpConfig.log()useListenerConfig.BuilderBase.proxyProtocol()insteaduseListenerConfig.BuilderBase.proxyProtocol()insteadThis option is deprecated, useListenerConfig.BuilderBase.maxConnectionsinsteadThis option is deprecated, useListenerConfig.BuilderBase.maxConnectionsinsteaduseListenerConfig.proxyProtocol()insteadThis option is deprecated, useListenerConfig.maxConnections()insteadUseJsonMeterRegistryFormatterProvider.formatter(MediaType, MetricsConfig, MeterRegistry, Map, Iterable). Scope-specific arguments are ignored and this method will be removed.
-
Deprecated ClassesClassDescriptionCore metrics ignores scope values, and this type will be removed.
-
Deprecated Enum ClassesEnum ClassDescriptionWill be replaced by Jakarta Persistence 3.2 API
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionsubscription execution is reserved for future GraphQL support and is currently ignoreduse
io.helidon.microprofile.grpc.client.GrpcChannel.useio.helidon.microprofile.grpc.core.GrpcMarshaller.useio.helidon.microprofile.grpc.client.GrpcProxy.useio.helidon.microprofile.grpc.core.RequestType.useio.helidon.microprofile.grpc.core.ResponseType.
-
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.The retired DNT specification defines "TSV" as an ABNF production for values of the
Tkheader field, not as an HTTP header field nameThe retired DNT specification defines "TSV" as an ABNF production for values of theTkheader field, not as an HTTP header field nameCore metrics ignores scope values, and this constant will be removed.Core metrics ignores scope values, and this constant will be removed.Core metrics ignores scope values, and this constant will be removed.Core metrics ignores scope values, and this constant will be removed.Core metrics ignores scope values, and this constant will be removed.since 27.0.0, for removal. This constant is no longer used because publisher availability is specific to each meter registry.this is internal constant, and it will not be public in a future version of Helidon
-
Deprecated MethodsMethodDescriptionthis method will be removed without replacementuse
Limit.init(InitializationContext)to provide initialization details explicitly.useMediaType.text()useAwaitable.await(Duration)insteaduseMulti.create(io.helidon.common.reactive.Single)insteaduseMulti.create(java.lang.Iterable)insteaduseMulti.create(java.util.stream.Stream)insteaduseSingle.create(io.helidon.common.reactive.Single)insteaduseTlsManager.reload(TlsMaterial), this method will be removed in the next major version of Helidonuse 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 asZoneIdThis method will be moved to a new modulethis method will be removed once a separate module for encryption is createduseDbClientHealthCheck.Builder.timeout(Duration)insteaduse other methods to handle headers, preferably using pull approachuseMethod.create(String), which is case-sensitiveuseMethod.text()instead, this method conflicts with enumuseMetricsFactory.clockSystem(), you can getMetricsFactoryfromServices.get(Class)for the global metrics factorythis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.counterBuilder(String)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.distributionStatisticsConfigBuilder()insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.distributionSummaryBuilder(String, io.helidon.metrics.api.DistributionStatisticsConfig.Builder)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.distributionSummaryBuilder(String, io.helidon.metrics.api.DistributionStatisticsConfig.Builder)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.functionalCounterBuilder(String, Object, java.util.function.Function)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.gaugeBuilder(String, java.util.function.Supplier)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.gaugeBuilder(String, Object, java.util.function.ToDoubleFunction)insteadthis method uses service registry to get aMetricsFactoryinstance, which may be inefficient, useMetricsFactory.histogramSnapshotEmpty(long, double, double)insteadCore metrics does not assign scopes, and this method will be removed.No-op, will be removed.Core metrics does not assign scopes, and this method will be removed.either useServiceRegistry.get(Class)to get the global meter registry, or get theMetricsFactory.createMeterRegistry(MetricsConfig)to get a custom instanceeither useServiceRegistry.get(Class)to get the global meter registry, or get theMetricsFactory.createMeterRegistry(MetricsConfig)to get a custom instanceUseMeterRegistry.isMeterEnabled(String, Map). Scope is ignored and this method will be removed.UseMeterRegistry.meters(). Scope selection is ignored and this method will be removed.UseMeterRegistry.remove(Meter.Id). Scope is ignored and this method will be removed.UseMeterRegistry.remove(String, Iterable). Scope is ignored and this method will be removed.Always returns an empty iterable and will be removed.Core metrics ignores this value, and this element will be removed.Core metrics ignores this value, and this element will be removed.Core metrics ignores this value, and this element will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.UseMetricsConfig.isMeterEnabled(String). Scope is ignored and this method will be removed.Core metrics does not apply scope filtering, and this method will be removed.Core metrics ignores these settings, and this method will be removed.since 27.0.0, for removal. Metrics instances obtained from the service registry are closed by the service registry lifecycle.since 27.0.0, for removal. UseServices.get(MetricsFactory.class)for the shared metrics factory, or create non-global metrics objects using the programmatic API.since 27.0.0, for removal. Static config-based access is no longer supported. UseServices.get(MetricsFactory.class)for the shared metrics factory, or create non-global metrics objects using the programmatic API.since 27.0.0, for removal. Obtain the shared registry fromServices.get(MeterRegistry.class). This method remains for metrics implementation compatibility.since 27.0.0, for removal. Obtain the shared registry fromServices.get(MeterRegistry.class). To create a non-global registry with custom configuration, useMetricsFactory.createMeterRegistry(MetricsConfig).since 27.0.0, for removal. Obtain the shared registry fromServices.get(MeterRegistry.class). Listeners can be enrolled with a custom registry usingMetricsFactory.createMeterRegistry(MetricsConfig, Consumer, Consumer).Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.UseScopeConfig.BuilderBase.exclude(Pattern). Core metrics ignores scope configuration, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.UseScopeConfig.BuilderBase.include(Pattern). Core metrics ignores scope configuration, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics does not apply scope filtering, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.Core metrics ignores these settings, and this method will be removed.Core metrics ignores this value, and this method will be removed.No-op, will be removed.Core metrics does not assign scopes, and this method will be removed.Core metrics does not assign scopes, and this method will be removed.since 27.0.0, for removal. UseServices.get(SystemTagsManager.class)for the shared system tags manager, orSystemTagsManager.create(MetricsConfig)for a non-global instance.useServices.get(SystemTagsManager.class)insteadsince 27.0.0, for removal. Obtain the shared manager fromServices.get(SystemTagsManager.class). To use different metrics configuration, create a non-global manager usingSystemTagsManager.create(MetricsConfig).Core metrics does not manage scope tags, and this method will be removed.Core metrics does not manage scope tags, and this method will be removed.UseSystemTagsManager.withoutSystemTags(Iterable). Scope tags are treated as ordinary tags, and this method will be removed.No-op, will be removed.No-op, will be removed.useMetricsFactory.tagCreate(String, String)insteadthis method getsMetricsFactoryfromServiceRegistry, which may be inefficient. CallMetricsFactory.timerBuilder(String)insteadthis method getsMetricsFactoryfromServiceRegistry, which may be inefficient. callMetricsFactory.timerStart()insteadthis method getsMetricsFactoryfromServiceRegistry, which may be inefficient. callMetricsFactory.timerStart(Clock)insteadcallMetricsFactory.timerStart(MeterRegistry)on the registry's owning factory insteadNo-op, will be removed.No-op, will be removed.UseMicrometerPrometheusFormatterProvider.formatter(MediaType, MetricsConfig, MeterRegistry, Map, Iterable). Scope-specific arguments are ignored and this method will be removed.UseMeterRegistryFormatterProvider.formatter(MediaType, MetricsConfig, MeterRegistry, Map, Iterable). Scope-specific arguments are ignored and this method will be removed.since 27.0.0, for removal. Metrics factory lifecycle is managed by the service registry.useServices.get(Class)insteadCore metrics ignores this value, and this method will be removed.Core metrics ignores this value, and this method will be removed.this 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.useSecurityContext.isAuthorized()insteadUseServices.set(Class, Object[])to configure a custom telemetry instance, or let Helidon resolve the correct instance.useServices.get(Class)to obtain the application-wideTracerfrom the service registryuseServices.set(Class, Object[])to register aTracerin the service registry before tracing is requestedThis option is deprecated, useHttpConfig.BuilderBase.maxHeadersSizeinsteadThis option is deprecated, useHttpConfig.BuilderBase.maxHeadersSizeinsteadThis option is deprecated, useHttpConfig.maxHeadersSize()insteadGraphQL request processing does not use a dedicated executorGraphQL request processing does not use a dedicated executoruseHttpConfig.log()useHttpConfig.log()useListenerConfig.BuilderBase.proxyProtocol()insteaduseListenerConfig.BuilderBase.proxyProtocol()insteadThis option is deprecated, useListenerConfig.BuilderBase.maxConnectionsinsteadThis option is deprecated, useListenerConfig.BuilderBase.maxConnectionsinsteaduseListenerConfig.proxyProtocol()insteadThis option is deprecated, useListenerConfig.maxConnections()insteadThis option is ignored and will be removed in a future release.This option is ignored and will be removed in a future release.This option is ignored and will be removed in a future release.UseJsonMeterRegistryFormatterProvider.formatter(MediaType, MetricsConfig, MeterRegistry, Map, Iterable). Scope-specific arguments are ignored and this method will be removed.
-
Deprecated ConstructorsConstructorDescriptionuse constructor with a cause and outcome insteaduse constructor with a message and outcome insteaduse
EncryptionFilter.builder()insteaduseDbClientContext.builder()insteaduseDbExecuteContext.builder()insteaddirect public use is not supported; useDbExecuteContext.builder()for the built-in execution context builderdirect public use is not supported; useDbClientMetrics.counter()orDbClientMetrics.timer()for the built-in metric buildersuseHealthCheckResponse.builder()insteadUseRoleValidator.RoleConfig.builder()instead.UseAuthorizationResponse.builder()instead.UseClassToInstanceStore.create(Object...)instead.UseOutboundSecurityResponse.builder()instead.UseEvictableCache.builder()instead.UseAnnotationAnalyzer.AnalyzerResponse.builder()instead.UseConfigUserStore.create(Config)instead.UseOidcProvider.builder()instead.to be used solely byServiceLoader
-
Deprecated Enum ConstantsEnum ConstantDescriptionRSA1_5 is no longer supported for JWE key management.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionCore metrics ignores this value, and this element will be removed.Core metrics ignores this value, and this element will be removed.Core metrics ignores this value, and this element will be removed.