Deprecated API
Contents
- Terminally Deprecated
- Modules
- Packages
- Interfaces
- Classes
- Enum Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Enum Constants
-
Terminally Deprecated ElementsElementDescriptionthis 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 through
helidon-codegen
APIs, 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-codegen
APIs, such asCodegenContext.typeInfo(io.helidon.common.types.TypeName)
this 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 removedUseServices.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.get(Class)
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 configurationuseContext.builder()
insteadplease useErrors.collector()
insteaduseMappers
insteaduseMappers.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 useOutputStreamMulti
insteaduseSingleSubscriberHolder.create()
instead.useTypedElementInfo.BuilderBase.elementModifiers()
insteaduseTypedElementInfo.BuilderBase.kind()
insteaduseTypedElementInfo.BuilderBase.kind()
insteaduseTypedElementInfo.BuilderBase.elementModifiers()
insteaduseTypeInfo.BuilderBase.elementModifiers()
insteaduseTypeInfo.BuilderBase.elementModifiers()
insteaduseTypeInfo.BuilderBase.kind()
insteaduseTypeInfo.BuilderBase.kind()
insteadtheTypeNameBlueprint.typeArguments()
will contain all required informationtheTypeNameBlueprint.typeArguments()
will contain all required informationuseElementKind
,Modifier
andAccessModifier
instead, and appropriate methods that return these typeseither useServices.get(Class)
instead for static access, inject an instance into your service when creating a service, or use your service registry instanceuseServices.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 builderuseValue.get()
useUriValidator
insteaduseUriValidator.validateHost(String)
insteaduseUriValidator.validateIpLiteral(String)
insteaduseUriValidator.validateNonIpLiteral(String)
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,Connection
s 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.To be removed in a future release. No replacement.Use the Helidon neutral metrics API andunwrap
its types to their Micrometer counterpartsUse the normal Helidon/metrics
endpoint and configuration instead of/micrometer
.useMicrostreamHealthCheck.Builder.timeout(Duration)
insteadreplaced withhelidon-integrations-oci
modulereplaced withhelidon-integrations-oci
moduleProvided for backward compatibility only; no replacementProvided for backward compatibility only; no replacementuseScheduling.cron()
insteaduseCronConfig.Builder
insteaduseScheduling.fixedRate()
insteaduseFixedRateConfig.Builder
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)
insteaduse one of the scope annotations instead (Service.Singleton
,Service.PerLookup
).UseSpan.baggage()
and thenBaggage.get(String)
.UseSpan.baggage()
and thenWritableBaggage.set(String, String)
}.this method is no longer invoked and may be removed in the futureuseio.helidon.grpc.core.CollectingObserver
instead.will be removed in a future version, please useResponseHelper
replaced 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 versionuseListenerConfig.BuilderBase.connectionOptions()
insteaduseSocketOptionsBlueprint.socketReceiveBufferSize()
instead viaListenerConfig.BuilderBase.connectionOptions()
.implementServerConnection.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, useStaticContentFeature
instead, or if specific services are desired, kindly useStaticContentFeature.createService(ClasspathHandlerConfig)
and/orStaticContentFeature.createService(FileSystemHandlerConfig)
useClasspathHandlerConfig.builder()
insteaduseClasspathHandlerConfig.builder()
insteaduseFileSystemHandlerConfig.builder()
insteadreplaced withFileSystemHandlerConfig
andClasspathHandlerConfig
-
Deprecated ModulesModuleDescriptionreplaced with
helidon-integrations-oci
module
-
Deprecated PackagesPackageDescriptionThis package is slated for removal with no replacement.
-
Deprecated InterfacesInterfaceDescriptionthis API will be package local in the future, use through Helidon codegen onlyDO NOT USE except for backward compatibility with semaphore based handlinguse
Mappers
insteadreplaced withhelidon-integrations-oci
moduleuseSocketOptionsBlueprint
insteadstatic content has been refactored to use server feature, with a new service, using new configuration approach, useStaticContentFeature
instead, 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-codegen
APIs, 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 limitUseServices.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 configurationuseMappersConfig.Builder
, obtained fromMappers.builder()
please useOutputStreamMulti
insteaduseElementKind
,Modifier
andAccessModifier
instead, and appropriate methods that return these typesuseUriValidator
insteadplease use the top level classes in this packageOnly a CDI container should instantiate this class.Please usePersistenceExtension
instead.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,Connection
s 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 andunwrap
its types to their Micrometer counterpartsUse the normal Helidon/metrics
endpoint and configuration instead of/micrometer
.useCronConfig.Builder
insteaduseFixedRateConfig.Builder
insteaduseJwtValidator.Builder.addExpirationValidator()
insteaduseJwtValidator.Builder.addFieldValidator(Consumer)
insteaduseJwtValidator.Builder.addIssueTimeValidator()
insteaduseJwtValidator.Builder.addNotBeforeValidator()
insteadThis class should only be used viaServiceLoader
. UseWebClientMetrics
insteadThis class should only be used viaServiceLoader
. UseWebClientSecurity
insteadThis class should only be used viaServiceLoader
. UseWebClientTracing
insteaduseio.helidon.grpc.core.CollectingObserver
instead.will be removed in a future version, please useResponseHelper
only forServiceLoader
this type is only to be used fromServiceLoader
only forServiceLoader
only forServiceLoader
only forServiceLoader
this type is only to be used fromServiceLoader
replaced withFileSystemHandlerConfig
andClasspathHandlerConfig
-
Deprecated Enum Classes
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionThis annotation is slated for removal.Use
AddBean
insteadUseAddBeans
insteadUseAddConfig
insteadUseAddConfigBlock
insteadUseAddConfigs
insteadUseAddExtension
insteadUseAddExtensions
insteadUseAddJaxRs
insteadUseAfterStop
insteadUseConfiguration
insteadUseSocket
insteadUseAddBean
insteadUseAddBeans
insteadUseAddConfig
insteadUseAddConfigBlock
insteadUseAddConfigs
insteadUseAddExtension
insteadUseAddExtensions
insteadUseAddJaxRs
insteadUseConfiguration
insteaduse one of the scope annotations instead (Service.Singleton
,Service.PerLookup
).
-
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.
-
Deprecated MethodsMethodDescriptionthis is an internal API, all usage should be done through
helidon-codegen
APIs, such asCodegenContext.typeInfo(io.helidon.common.types.TypeName)
this only exists for backward compatibility of Helidon WebServer and will be removeduseServices.get(Class)
insteaduseServices.set(Class, Object[])
insteaduseServices.get(Class)
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)
insteaduseTypedElementInfo.BuilderBase.elementModifiers()
insteaduseTypedElementInfo.BuilderBase.kind()
insteaduseTypedElementInfo.BuilderBase.kind()
insteaduseTypedElementInfo.BuilderBase.elementModifiers()
insteaduseTypeInfo.BuilderBase.elementModifiers()
insteaduseTypeInfo.BuilderBase.elementModifiers()
insteaduseTypeInfo.BuilderBase.kind()
insteaduseTypeInfo.BuilderBase.kind()
insteadtheTypeNameBlueprint.typeArguments()
will contain all required informationtheTypeNameBlueprint.typeArguments()
will contain all required informationeither useServices.get(Class)
instead for static access, inject an instance into your service when creating a service, or use your service registry instanceuseServices.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 builderuse new time API, such asZonedDateTime
Use one of the time API classes, such asInstant
orZonedDateTime
use new time API, such asZonedDateTime
use new time API, such asZoneId
use new time API, such asZoneId
This method will be moved to a new modulethis method will be removed once a separate module for encryption is createduseDbClientHealthCheck.Builder.timeout(Duration)
insteaduseValue.get()
use other methods to handle headers, preferably using pull approachuseUriValidator.validateHost(String)
insteaduseUriValidator.validateIpLiteral(String)
insteaduseUriValidator.validateNonIpLiteral(String)
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.useMicrostreamHealthCheck.Builder.timeout(Duration)
insteadFor use by the Helidon Config subsystem only.For use by the Helidon Config subsystem only.For use by the Helidon Config subsystem only.Provided for backward compatibility only; no replacementProvided for backward compatibility only; no replacementuseScheduling.cron()
insteaduseScheduling.fixedRate()
insteaduseJwtValidator.Builder.addUserPrincipalValidator()
insteaduseJwtValidator.Builder.addDefaultTimeValidators()
insteaduseJwtValidator.validate(Jwt)
insteaduseJwtValidator.validate(Jwt)
insteaduseJwtValidator.validate(Jwt)
insteaduseJwtValidator.validate(Jwt)
insteaduseJwtValidator.validate(Jwt)
insteaduseSecurityContext.isAuthorized()
insteadUseSpan.baggage()
and thenBaggage.get(String)
.UseSpan.baggage()
and thenWritableBaggage.set(String, String)
}.this method is no longer invoked and may be removed in the futurereplaced 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 versionuseListenerConfig.BuilderBase.connectionOptions()
insteadio.helidon.webserver.ListenerConfig.BuilderBase.connectionConfig(Consumer<ConnectionConfig.Builder>) useListenerConfig.BuilderBase.connectionOptions()
insteaduseSocketOptionsBlueprint.socketReceiveBufferSize()
instead viaListenerConfig.BuilderBase.connectionOptions()
.implementServerConnection.handle(io.helidon.common.concurrency.limits.Limit)
insteadreplaced bySseSinkProvider.create(SinkProviderContext)
useClasspathHandlerConfig.builder()
insteaduseClasspathHandlerConfig.builder()
insteaduseFileSystemHandlerConfig.builder()
instead
-
Deprecated ConstructorsConstructorDescriptionplease do not use directlyuse
Context.builder()
insteadplease useErrors.collector()
insteaduseSingleSubscriberHolder.create()
instead.only forServiceLoader
UseHoconConfigParser.builder()
to construct a customized instance, orHoconConfigParser.create()
to get an instance with defaultsThis method should not be directly used, useYamlConfigParser.create()
Only a CDI container should invoke this constructor.For Hibernate use only.For use byServiceLoader
instances only.For invocation by CDI only.For use by CDI only.For use by CDI only.ForServiceLoader
use 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 supplyingtrue
for itsstrictClosedChecking
parameter. In the future, this constructor may change, without prior notice, to cause newConditionallyCloseableConnection
instances created by it to behave as if they were created by invocations of theConditionallyCloseableConnection(Connection, boolean, boolean)
constructor instead, withtrue
supplied for itsstrictClosedChecking
parameter.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 supplyingtrue
for itsstrictClosedChecking
parameter. In the future, this constructor may change, without prior notice, to cause newConditionallyCloseableConnection
instances created by it to behave as if they were created by invocations of theConditionallyCloseableConnection(Connection, boolean, boolean)
constructor instead, withtrue
supplied for itsstrictClosedChecking
parameter.This constructor exists only to handle certain XA-aware connection pools that allow an end-user caller to "borrow"XAConnection
s and to "return" them using theirclose()
methods, a non-standard practice which is discouraged by the documentation ofPooledConnection
(from whichXAConnection
inherits). For such connection pools,XAConnection
s 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 theXADataSource
has the behavior described above; normally anXAConnection
should 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"XAConnection
s and to "return" them using theirclose()
methods, a non-standard practice which is discouraged by the documentation ofPooledConnection
(from whichXAConnection
inherits). For such connection pools,XAConnection
s 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 theXADataSource
has the behavior described above; normally anXAConnection
should not be used directly or closed by end-user code.Only intended for service loader, do not instantiateForServiceLoader
use only.this is a Java ServiceLoader implementation and the constructor should not be used directlyFor use byServiceLoader
only.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 byServiceLoader
please 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 directlyThis constructor is only to be used byServiceLoader
.only forServiceLoader
do not use, this should only be invoked by Java Service Loaderonly forServiceLoader
.only forServiceLoader
required byServiceLoader
please do not use directlydo not use directlydo 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 forServiceLoader
only forServiceLoader
only forServiceLoader
please do not use directly outside of testing, this is reserved for JavaServiceLoader
to be used solely byServiceLoader
to be used solely byServiceLoader
to be used solely byServiceLoader
only forServiceLoader
this constructor must be public forServiceLoader
only forServiceLoader
only forServiceLoader
only forServiceLoader
only forServiceLoader
this constructor must be public forServiceLoader
only forServiceLoader
This constructor is only to be used byServiceLoader
, useWsUpgrader.create(WsConfig)
for manual setup
-
Deprecated Enum Constants