Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionuse other methods to handle headers, preferably using pull approachuse
Http.Status.HTTP_VERSION_NOT_SUPPORTED_505instead (inconsistent name)Please useIoMulti.outputStreamMultiBuilder()please useIoMulti.multiFromStream(java.io.InputStream)Please useIoMulti.outputStreamMulti()please useOutputStreamMultiinsteadAn equivalent class now exists in Narayana itself.An equivalent class now exists in Narayana itself.useCoordinatorClient.init(Supplier, Duration)insteadsince 3.0.3, useJakartaSession.unwrap()instead.this class will not be public in future versions of HelidonThis class will no longer be public in future versionsImplementMessagingChannelProcessoras a bean instead, which can peak to any messaging channel.ImplementMessagingChannelProcessoras a bean instead, which can peak to any messaging channel.useHealthSupport.Builder.add(java.util.Collection)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.add(io.helidon.health.HealthCheck...)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.add(java.util.Collection)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.add(io.helidon.health.HealthCheck...)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.add(java.util.Collection)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.add(io.helidon.health.HealthCheck...)instead, as we will remove dependency on MP health checks in the futureuseIdcsMtRoleMapperRxProviderinsteaduseIdcsRoleMapperRxProviderinsteaduseIdcsRoleMapperRxProviderBaseinsteaduseOidcConfig.tokenCookieHandler()insteadplease useOidcConfig.tokenCookieHandler()insteaduseOidcCookieHandlerinstead, this method will no longer be avilableUseOidcConfig.generalWebClient()insteadPlease useOidcConfig.appWebClient()andOidcConfig.introspectUri()instead; result of moving to reactive webclient from JAX-RS clientPlease useOidcConfig.appWebClient()andOidcConfig.tokenEndpointUri()instead; result of moving to reactive webclient from JAX-RS client
-
Deprecated Modules
-
Deprecated InterfacesInterfaceDescriptionplease do not use directly, designed for generated codeSpecific internal spi for Helidon 3.x, going to be changed for version 4
-
Deprecated ClassesClassDescriptionThis class is subject to change at any time - Helidon users should not use this directly. It will be referenced in code generated sources that Helidon generates.please use
OutputStreamMultiinsteadOnly a CDI container should instantiate this class.An equivalent class now exists in Narayana itself.An equivalent class now exists in Narayana itself.this class will not be public in future versions of Helidonsince 2.0.0 - useWebServer.BuilderinsteaduseIdcsMtRoleMapperRxProviderinsteaduseIdcsRoleMapperRxProviderinsteaduseIdcsRoleMapperRxProviderBaseinstead
-
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
Http.Status.HTTP_VERSION_NOT_SUPPORTED_505instead (inconsistent name)
-
Deprecated MethodsMethodDescriptionuse other methods to handle headers, preferably using pull approachuse
Http.Method.text()instead, this method conflicts with enumuseMediaType.text()useAwaitable.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)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 createduseMicrostreamHealthCheck.Builder.timeout(Duration)insteaduseCoordinatorClient.init(Supplier, Duration)insteadsince 3.0.3, useJakartaSession.unwrap()instead.UseRegistryFactory.create(MetricsSettings)insteadUseRegistryFactory.getInstance(MetricsSettings)insteadThis class will no longer be public in future versionsImplementMessagingChannelProcessoras a bean instead, which can peak to any messaging channel.ImplementMessagingChannelProcessoras a bean instead, which can peak to any messaging channel.switch to use pure annotation processing instead of reflectionuseDbClientHealthCheck.Builder.timeout(Duration)insteaduseHealthSupport.Builder.add(java.util.Collection)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.add(io.helidon.health.HealthCheck...)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.add(java.util.Collection)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.add(io.helidon.health.HealthCheck...)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.add(java.util.Collection)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.add(io.helidon.health.HealthCheck...)instead, as we will remove dependency on MP health checks in the futureuseHealthSupport.Builder.timeout(Duration)insteaduseWebClient.Builder.connectTimeout(Duration)insteaduseWebClient.Builder.readTimeout(Duration)insteaduseWebClientRequestBuilder.connectTimeout(Duration)insteaduseWebClientRequestBuilder.readTimeout(Duration)insteadsince 2.0.0 - please useWebServer.builder()insteadsince 2.0.0 - please useWebServer.builder(), thenWebServer.Builder.config(io.helidon.config.Config), orWebServer.create(Routing, io.helidon.config.Config)since 2.0.0, please useServerConfiguration.Builder.addSocket(String, SocketConfiguration)insteadsince 2.0.0, please useServerConfiguration.namedSocket(String)insteadsince 2.0.0, please useWebServerTls.Builder.enabledProtocols(String...)insteadsince 2.0.0, please useSocketConfiguration.SocketConfigurationBuilder.tls(Supplier)insteadsince 2.0.0, please useSocketConfiguration.Builder.tls(WebServerTls)insteadsince 2.0.0 please useSocketConfiguration.Builder.timeout(long, java.util.concurrent.TimeUnit)insteaduseOidcConfig.tokenCookieHandler()insteadplease useOidcConfig.tokenCookieHandler()insteaduseOidcCookieHandlerinstead, this method will no longer be avilableUseOidcConfig.generalWebClient()insteadPlease useOidcConfig.appWebClient()andOidcConfig.introspectUri()instead; result of moving to reactive webclient from JAX-RS clientPlease useOidcConfig.appWebClient()andOidcConfig.tokenEndpointUri()instead; result of moving to reactive webclient from JAX-RS clientuseSecurityContext.isAuthorized()instead
-
Deprecated ConstructorsConstructorDescriptionnot intended to be created directlynot intended to be created directlyneeded for Java service loaderneeded for service loaderUse
HoconConfigParser.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.Only intended for service loader, do not instantiateForServiceLoaderuse only.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!This constructor is only to be used byServiceLoader, useWsUpgradeProvider.builder()please do not use directly outside of testing, this is reserved for JavaServiceLoaderto be used solely byServiceLoaderto be used solely byServiceLoaderto be used solely byServiceLoaderThis constructor is only to be used byServiceLoader, useWsUpgradeProvider.builder()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 directlythis 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 directlythis 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 directlythis 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 directlythis 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 directlythis 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 directlythis 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 directlythis 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 directlythis 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 directlythis 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 directlyOnly intended for service loader, do not instantiateOnly intended for service loader, do not instantiatedo not use, this should only be invoked by Java Service Loader