Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionPlease use
IoMulti.outputStreamMultiBuilder()please useIoMulti.multiFromStream(java.io.InputStream)Please useIoMulti.outputStreamMulti()please useOutputStreamMultiinsteaduseTypedElementInfo.BuilderBase.elementModifiers()insteaduseTypedElementInfo.BuilderBase.kind()insteaduseTypedElementInfo.BuilderBase.kind()insteaduseTypedElementInfo.BuilderBase.elementModifiers()insteaduseTypeInfo.BuilderBase.elementModifiers()insteaduseTypeInfo.BuilderBase.elementModifiers()insteaduseTypeInfo.BuilderBase.kind()insteaduseTypeInfo.BuilderBase.kind()insteaduseElementKind,ModifierandAccessModifierinstead, and appropriate methods that return these typesuseValue.get()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.useMicrostreamHealthCheck.Builder.timeout(Duration)insteaduseScheduling.cron()insteaduseCronConfig.BuilderinsteaduseScheduling.fixedRate()insteaduseFixedRateConfig.BuilderinsteadUseSpan.baggage()and thenBaggage.get(String).UseSpan.baggage()and thenWritableBaggage.set(String, String)}.this method is no longer invoked and may be removed in the future
-
Deprecated Modules
-
Deprecated ClassesClassDescriptionplease use
OutputStreamMultiinsteaduseElementKind,ModifierandAccessModifierinstead, and appropriate methods that return these typesplease use the top level classes in this packageOnly a CDI container should instantiate this class.Please usePersistenceExtensioninstead.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.useCronConfig.BuilderinsteaduseFixedRateConfig.BuilderinsteadThis class should only be used viaServiceLoader. UseWebClientMetricsinsteadThis class should only be used viaServiceLoader. UseWebClientSecurityinsteadThis class should only be used viaServiceLoader. UseWebClientTracinginsteadonly forServiceLoaderthis type is only to be used fromServiceLoaderonly forServiceLoaderonly forServiceLoaderonly forServiceLoaderthis type is only to be used fromServiceLoader
-
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 MethodsMethodDescriptionuse
MediaType.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()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 asZoneIdThis 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 approachuseMethod.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.useScheduling.cron()insteaduseScheduling.fixedRate()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 future
-
Deprecated ConstructorsConstructorDescriptionplease do not use directlyonly for
ServiceLoaderUseHoconConfigParser.builder()to construct a customized instance, orHoconConfigParser.create()to get an instance with defaultsthis is a Java ServiceLoader implementation and the constructor should not be used directlyThis method should not be directly used, useYamlConfigParser.create()this is a Java ServiceLoader implementation and the constructor should not be used directlyOnly 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.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.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 directlythis 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 directlyThis constructor is only to be used byServiceLoader.only forServiceLoaderdo not use, this should only be invoked by Java Service Loaderthis is a Java ServiceLoader implementation and the constructor should not be used 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 forServiceLoaderonly forServiceLoaderonly forServiceLoaderplease do not use directly outside of testing, this is reserved for JavaServiceLoaderto 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 forServiceLoaderThis constructor is only to be used byServiceLoader, useWsUpgrader.create(WsConfig)for manual setup
-
Deprecated Enum Constants