Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionPlease use
IoMulti.outputStreamMultiBuilder()please useIoMulti.multiFromStream(java.io.InputStream)Please useIoMulti.outputStreamMulti()please useOutputStreamMultiinsteadNot suitable for production use, and will be removed in 3.0. Please use one of the other supported marshallers instead.An equivalent class now exists in Narayana itself.An equivalent class now exists in Narayana itself.Will be removed. Please useIoMulti.multiFromByteChannel(java.nio.channels.ReadableByteChannel)insteadthis class will not be public in future versions of HelidonThis class will no longer be public in future versionsuseIdcsMtRoleMapperRxProviderinsteaduseIdcsRoleMapperRxProviderinsteaduseIdcsRoleMapperRxProviderBaseinsteaduseOidcConfig.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 clientuseIoMulti.writeToFile(java.nio.file.Path)insteadusetls().sslContext()instead. This method will be removed at 3.0.0 version.usetls().cipherSuite()instead. This method will be removed at 3.0.0 version.usetls().clientAuth()instead. This method will be removed at 3.0.0 version.usetls().enabledTlsProtocols()instead. This method will be removed at 3.0.0 version.usetls().sslContext()instead. This method will be removed at 3.0.0 version.please use modulehelidon-webserver-static-content
-
Deprecated InterfacesInterfaceDescriptionuse
io.helidon.media.common.MessageBodyReadableContentinsteadsince 2.0.0, useio.helidon.media.common.MessageBodyReaderinstead
-
Deprecated ClassesClassDescriptionuse io.helidon.logging.jul.HelidonConsoleHandler from helidon-logging-jul module insteadplease use
OutputStreamMultiinsteadNot suitable for production use, and will be removed in 3.0. Please use one of the other supported marshallers instead.Only a CDI container should instantiate this class.An equivalent class now exists in Narayana itself.An equivalent class now exists in Narayana itself.do not use directlydo not use directlyDo not use directly, this is only used via service loaderdo not use directlydo not use directlysince 2.0.0, useMessageBodyContext.charset()insteadWill be removed. Please useIoMulti.multiFromByteChannel(java.nio.channels.ReadableByteChannel)insteadthis class will not be public in future versions of HelidonThis class is made public to migrate from metrics1 to metrics2 for gRPC, this should be refactoredsince 2.0.0, useMaininsteaduseIdcsMtRoleMapperRxProviderinsteaduseIdcsRoleMapperRxProviderinsteaduseIdcsRoleMapperRxProviderBaseinsteaduseIoMulti.writeToFile(java.nio.file.Path)insteaduseDefaultMediaSupport.formParamReader()insteadsince 2.0.0 - useWebServer.Builderinsteadsince 2.0.0, please useWebServerTls.builder()instead, then configure it withWebServer.Builder.tls(WebServerTls)orSocketConfiguration.SocketConfigurationBuilder.tls(WebServerTls)please use modulehelidon-webserver-static-content
-
Deprecated Enum ClassesEnum ClassDescriptionThis class is made public to migrate from metrics1 to metrics2 for gRPC, this should be refactored
-
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.since 2.0.0, please use
WebServer.DEFAULT_SOCKET_NAMEsince 2.0.0 This configuration does not contain a name and will be removed
-
Deprecated MethodsMethodDescriptionsince 2.0.0 use
Resource.create(io.helidon.config.Config)instead (and change the configuration to use.resource.typeinstead of prefixessince 2.4.2, please useThreadPoolSupplier.create(String)since 2.4.2, please useThreadPoolSupplier.create(Config, String)since 2.0.0, useio.helidon.media.common.MessageBodyReaderContext.registerFiltersince 2.0.0, useio.helidon.media.common.MessageBodyReaderContext.registerReadersince 2.0.0, useio.helidon.media.common.MessageBodyReaderContext.registerReaderuseFormParams.builder()instead or registerio.helidon.media.common.FormParamsBodyReaderPlease 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 createdsince 2.0.0, useContentReaders.readBytes(Publisher)insteadsince 2.0.0, useDefaultMediaSupport.inputStreamReader()since 2.0.0, useContentReaders.readString(Publisher, Charset)} orDefaultMediaSupport.stringReader()insteadsince 2.0.0, useContentReaders.readURLEncodedString(Publisher, Charset)insteadsince 2.0.0, useContentWriters.writeBytes(byte[], boolean)insteadsince 2.0.0, useDefaultMediaSupport.byteChannelWriter()} insteadsince 2.0.0, useDefaultMediaSupport.byteChannelWriter(RetrySchema)} insteadsince 2.0.0, useContentWriters.writeCharBuffer(CharBuffer, Charset)insteadsince 2.0.0, useContentWriters.writeCharSequence(CharSequence, Charset)orDefaultMediaSupport.charSequenceWriter()insteadsince 2.0.0 useMessageBodyReaderContext.registerReader(MessageBodyReader)insteadsince 2.0.0 useMessageBodyReaderContext.registerReader(MessageBodyReader)insteadsince 2.0.0, useMessageBodyWriterContext.registerWriter(MessageBodyWriter)insteadsince 2.0.0, useMessageBodyWriterContext.registerWriter(MessageBodyWriter)insteadsince 2.0.0, useMessageBodyWriterContext.registerWriter(MessageBodyWriter)insteadsince 2.0.0 useMessageBodyWriterContext.registerWriter(MessageBodyWriter)insteadUseRegistryFactory.create(MetricsSettings)insteadUseRegistryFactory.getInstance(MetricsSettings)insteadThis class will no longer be public in future versionsUseMessagingChannelProcessorinstead.UseMessagingChannelProcessorinstead.This method is made public to migrate from metrics1 to metrics2 for gRPC, this should be refactoredThis method is made public to migrate from metrics1 to metrics2 for gRPC, this should be refactored. This method will be removed outside of major version of Helidon.useServerCdiExtensionto get the portuseOidcConfig.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 clientsince 2.0.0, please useResponseHeaders.whenSent()since 2.0.0, please useWebServer.create(Routing).since 2.0.0, please useWebServer.Builder.build()to create a new server, configuring routing usingWebServer.Builder.routing(Routing).since 2.0.0, please useWebServer.Builder.build()to create a new server, configuring routing usingWebServer.Builder.routing(Routing).since 2.0.0 please useWebServer.builder(Routing)insteadsince 2.0.0 please useWebServer.builder(Routing)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)insteadusetls().sslContext()instead. This method will be removed at 3.0.0 version.since 2.0.0, useServerResponse.registerFilter(io.helidon.media.common.MessageBodyFilter)insteadsince 2.0.0, useServerResponse.registerWriter(io.helidon.media.common.MessageBodyWriter)insteadio.helidon.webserver.ServerResponse.registerWriter(Class<T>, Function<T, Flow.Publisher<DataChunk>>) Since 2.0.0, useServerResponse.registerWriter(io.helidon.media.common.MessageBodyWriter)insteadsince 2.0.0, useServerResponse.registerWriter(io.helidon.media.common.MessageBodyWriter)insteadsince 2.0.0, useServerResponse.registerWriter(io.helidon.media.common.MessageBodyWriter)insteadusetls().cipherSuite()instead. This method will be removed at 3.0.0 version.since 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)insteadusetls().clientAuth()instead. This method will be removed at 3.0.0 version.usetls().enabledTlsProtocols()instead. This method will be removed at 3.0.0 version.usetls().sslContext()instead. This method will be removed at 3.0.0 version.since 2.0.0, please useWebServerTls.builder()instead, then configure it withWebServer.Builder.tls(WebServerTls)orSocketConfiguration.SocketConfigurationBuilder.tls(WebServerTls)since 2.0.0, please useWebServerTls.builder()instead, then configure it withWebServer.Builder.tls(WebServerTls)orSocketConfiguration.SocketConfigurationBuilder.tls(WebServerTls)since 2.0.0, please useWebServerTls.builder()instead, then configure it withWebServer.Builder.tls(WebServerTls)orSocketConfiguration.SocketConfigurationBuilder.tls(WebServerTls)since 2.0.0, please useWebServerTls.builder()instead, then configure it withWebServer.Builder.tls(WebServerTls)orSocketConfiguration.SocketConfigurationBuilder.tls(WebServerTls)since 2.0.0, please useWebServerTls.builder()instead, then configure it withWebServer.Builder.tls(WebServerTls)orSocketConfiguration.SocketConfigurationBuilder.tls(WebServerTls)since 2.0.0, please useWebServerTls.builder()instead, then configure it withWebServer.Builder.tls(WebServerTls)orSocketConfiguration.SocketConfigurationBuilder.tls(WebServerTls)since 2.0.0, please useWebServer.Builder.addSocket(SocketConfiguration)instead, name is now part of socket configurationsince 2.0.0, please useWebServer.Builder.addSocket(Supplier)instead, name is now part of socket configurationsince 2.0.0 - please use methods on this builder, orWebServer.Builder.config(io.helidon.config.Config)insteadsince 2.0.0 - seeWebServer.Builder.config(ServerConfiguration)since 2.0.0 - please useWebServer.create(Routing, io.helidon.config.Config)instead for instances based onConfig, orWebServer.builder(Routing)to configure server configuration by hand (as you would onSocketConfiguration.Buildernow.since 2.0.0 - please useWebServer.create(java.util.function.Supplier, io.helidon.config.Config)instead for instances based onConfig, orWebServer.builder(java.util.function.Supplier)to configure server configuration by hand (as you would onSocketConfiguration.Buildernow.since 2.0.0 - please useWebServer.create(io.helidon.webserver.Routing, io.helidon.config.Config)instead for instances based onConfig, orWebServer.builder(io.helidon.webserver.Routing)to configure server configuration by hand (as you would onSocketConfiguration.Buildernow.since 2.0.0 - please useWebServer.create(java.util.function.Supplier, io.helidon.config.Config)instead for instances based onConfig, orWebServer.builder(java.util.function.Supplier)to configure server configuration by hand (as you would onSocketConfiguration.Buildernow.
-
Deprecated ConstructorsConstructorDescriptionUse
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 instantiatedo not usedo not useDo not use directly, this is only used via service loaderdo not usedo not useplease 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!do not use, this should only be invoked by Java Service Loader
IoMulti.multiFromStreamBuilder(java.io.InputStream)