Skip navigation links
  • Overview
  • Module
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Modules
  • Packages
  • Interfaces
  • Classes
  • Annotation Interfaces
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    io.helidon.common.http.Http.Status.HTTP_VERSION_NOT_SUPPORTED
    use Http.Status.HTTP_VERSION_NOT_SUPPORTED_505 instead (inconsistent name)
    io.helidon.common.http.MediaType.withoutParameters()
    will be removed in 4.x version.
    io.helidon.common.http.ReadOnlyHeaders.create(Parameters)
    Use ReadOnlyHeaders.create(Headers) instead, passing Headers instead of Parameters.
    io.helidon.common.reactive.IoMulti.builderInputStream(InputStream)
    Please use IoMulti.multiFromStreamBuilder(java.io.InputStream)
    io.helidon.common.reactive.IoMulti.builderOutputStream()
    Please use IoMulti.outputStreamMultiBuilder()
    io.helidon.common.reactive.IoMulti.createInputStream(InputStream)
    please use IoMulti.multiFromStream(java.io.InputStream)
    io.helidon.common.reactive.IoMulti.createOutputStream()
    Please use IoMulti.outputStreamMulti()
    io.helidon.common.reactive.MultiFromOutputStream
    please use OutputStreamMulti instead
    io.helidon.config.hocon.HoconConfigParserBuilder.disableResolving()
    io.helidon.integrations.cdi.referencecountedcontext
    io.helidon.integrations.cdi.referencecountedcontext.ReferenceCounted
    This annotation is slated for removal.
    io.helidon.integrations.cdi.referencecountedcontext.ReferenceCountedContext
    This class is slated for removal.
    io.helidon.integrations.cdi.referencecountedcontext.ReferenceCountedExtension
    This class is slated for removal.
    io.helidon.integrations.jta.cdi.DelegatingTransactionManager
    An equivalent class now exists in Narayana itself.
    io.helidon.integrations.jta.cdi.DelegatingTransactionSynchronizationRegistry
    An equivalent class now exists in Narayana itself.
    io.helidon.integrations.jta.jdbc.JtaDataSource
    This class is slated for removal. It makes incorrect assumptions about threading in a JTA environment. Specifically, this class' implementation incorrectly assumes that the JtaDataSource.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.
    io.helidon.integrations.jta.jdbc.JtaDataSource.registerWith(Consumer<? super Synchronization>)
    This method is slated for removal with no replacement.
    io.helidon.integrations.jta.jdbc.XADataSourceWrappingDataSource
    This class is slated for removal with no replacement.
    io.helidon.media.common.MessageBodyReaderContext.create(MediaContext, MessageBodyContext.EventListener, ReadOnlyParameters, Optional<MediaType>)
    Use MessageBodyReaderContext.create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional) instead, passing ReadOnlyHeaders instead of ReadOnlyParameters.
    io.helidon.media.common.MessageBodyReaderContext.create(MessageBodyReaderContext, MessageBodyContext.EventListener, ReadOnlyParameters, Optional<MediaType>)
    Use MessageBodyReaderContext.create(MessageBodyReaderContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional) instead, passing ReadOnlyHeaders instead of ReadOnlyParameters.
    io.helidon.media.common.MessageBodyWriterContext.create(Parameters)
    Use MessageBodyWriterContext.create(io.helidon.common.http.Headers) instead, passing Headers instead of Parameters.
    io.helidon.media.common.MessageBodyWriterContext.create(MediaContext, MessageBodyContext.EventListener, Parameters, List<MediaType>)
    Use MessageBodyWriterContext.create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.Headers, java.util.List) instead, passing Headers instead of Parameters.
    io.helidon.media.common.MessageBodyWriterContext.create(MessageBodyWriterContext, Parameters)
    Use (@link MessageBodyWriterContext.create(MessageBodyWriterContext, io.helidon.common.http.Headers) instead passing Headers instead of Parameters.
    io.helidon.media.common.MessageBodyWriterContext.create(MessageBodyWriterContext, MessageBodyContext.EventListener, Parameters, List<MediaType>)
    Use MessageBodyWriterContext.create(MessageBodyWriterContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.Headers, java.util.List) instead, passing Headers instead of Parameters.
    io.helidon.media.common.ReadableByteChannelPublisher
    Will be removed. Please use IoMulti.multiFromByteChannel(java.nio.channels.ReadableByteChannel) instead
    io.helidon.media.common.ReadableByteChannelPublisher(ReadableByteChannel, RetrySchema)
    please use IoMulti.multiFromByteChannel(java.nio.channels.ReadableByteChannel)
    io.helidon.messaging.connectors.jms.shim.JakartaSession.unwrap(Class<S>)
    since 3.0.3, use JakartaSession.unwrap() instead.
    io.helidon.messaging.Emitter.emit(Message<PAYLOAD>)
    io.helidon.metrics.KeyPerformanceIndicatorMetricsSettings
    Use KeyPerformanceIndicatorMetricsSettings instead.
    io.helidon.metrics.MetricsSupport.builder()
    Use MetricsSupport.builder() instead.
    io.helidon.metrics.MetricsSupport.Builder.config(Config)
    Use MetricsSupport.Builder.metricsSettings(MetricsSettings.Builder) instead
    io.helidon.metrics.MetricsSupport.Builder.keyPerformanceIndicatorsMetricsConfig(Config)
    Use MetricsSupport.Builder.metricsSettings(MetricsSettings.Builder) with MetricsSettings.Builder.keyPerformanceIndicatorSettings(KeyPerformanceIndicatorMetricsSettings.Builder) instead.
    io.helidon.metrics.MetricsSupport.Builder.keyPerformanceIndicatorsMetricsSettings(KeyPerformanceIndicatorMetricsSettings.Builder)
    Use MetricsSupport.Builder.metricsSettings(MetricsSettings.Builder) with MetricsSettings.Builder.keyPerformanceIndicatorSettings(KeyPerformanceIndicatorMetricsSettings.Builder) instead.
    io.helidon.metrics.RegistryFactory.create()
    Use RegistryFactory.create()
    io.helidon.metrics.RegistryFactory.create(Config)
    Use RegistryFactory.create(Config)
    io.helidon.metrics.RegistryFactory.getInstance()
    Use RegistryFactory.getInstance()
    io.helidon.metrics.RegistryFactory.getInstance(Config)
    Use RegistryFactory.getInstance(MetricsSettings)
    io.helidon.microprofile.jwt.auth.JsonWebTokenImpl
    this class will not be public in future versions of Helidon
    io.helidon.microprofile.jwt.auth.JsonWebTokenImpl.getClaim(String, Class<T>)
    This class will no longer be public in future versions
    io.helidon.microprofile.jwt.auth.JwtAuthProvider.Builder.expectedAudience(String)
    use JwtAuthProvider.Builder.addExpectedAudience(String) instead
    io.helidon.microprofile.jwt.auth.JwtAuthProvider.EP_PROPERTY_OUTBOUND_USER
    use EndpointConfig.PROPERTY_OUTBOUND_ID instead, the value will change in 4.x as well
    io.helidon.microprofile.messaging.MessagingCdiExtension.channelsLiveness()
    Implement MessagingChannelProcessor as a bean instead, which can peak to any messaging channel.
    io.helidon.microprofile.messaging.MessagingCdiExtension.channelsReadiness()
    Implement MessagingChannelProcessor as a bean instead, which can peak to any messaging channel.
    io.helidon.security.providers.httpauth.HttpBasicAuthProvider.EP_PROPERTY_OUTBOUND_PASSWORD
    use EndpointConfig.PROPERTY_OUTBOUND_SECRET instead, the value will change in 4.x as well
    io.helidon.security.providers.httpauth.HttpBasicAuthProvider.EP_PROPERTY_OUTBOUND_USER
    use EndpointConfig.PROPERTY_OUTBOUND_ID instead, the value will change in 4.x as well
    io.helidon.security.providers.idcs.mapper.IdcsMtRoleMapperProvider
    use IdcsMtRoleMapperRxProvider instead
    io.helidon.security.providers.idcs.mapper.IdcsRoleMapperProvider
    use IdcsRoleMapperRxProvider instead
    io.helidon.security.providers.idcs.mapper.IdcsRoleMapperProviderBase
    use IdcsRoleMapperRxProviderBase instead
    io.helidon.security.providers.jwt.JwtProvider.EP_PROPERTY_OUTBOUND_USER
    use EndpointConfig.PROPERTY_OUTBOUND_ID instead, the value will change in 4.x as well
    io.helidon.security.providers.oidc.common.OidcConfig.appClient()
    Use OidcConfig.appWebClient()
    io.helidon.security.providers.oidc.common.OidcConfig.cookieName()
    use OidcConfig.tokenCookieHandler() instead
    io.helidon.security.providers.oidc.common.OidcConfig.cookieOptions()
    please use OidcConfig.tokenCookieHandler() instead
    io.helidon.security.providers.oidc.common.OidcConfig.cookieValuePrefix()
    use OidcCookieHandler instead, this method will no longer be avilable
    io.helidon.security.providers.oidc.common.OidcConfig.generalClient()
    Use OidcConfig.generalWebClient() instead
    io.helidon.security.providers.oidc.common.OidcConfig.introspectEndpoint()
    Please use OidcConfig.appWebClient() and OidcConfig.introspectUri() instead; result of moving to reactive webclient from JAX-RS client
    io.helidon.security.providers.oidc.common.OidcConfig.tokenEndpoint()
    Please use OidcConfig.appWebClient() and OidcConfig.tokenEndpointUri() instead; result of moving to reactive webclient from JAX-RS client
    io.helidon.security.providers.oidc.common.OidcConfig.updateRequest(OidcConfig.RequestType, WebClientRequestBuilder, FormParams.Builder)
    this will be removed without replacement
    io.helidon.webclient.FileSubscriber
    use IoMulti.writeToFile(java.nio.file.Path) instead
    io.helidon.webserver.SocketConfiguration.allowedCipherSuite()
    use tls().cipherSuite() instead. This method will be removed at 3.0.0 version.
    io.helidon.webserver.SocketConfiguration.clientAuth()
    use tls().clientAuth() instead. This method will be removed at 3.0.0 version.
    io.helidon.webserver.SocketConfiguration.enabledSslProtocols()
    use tls().enabledTlsProtocols() instead. This method will be removed at 3.0.0 version.
    io.helidon.webserver.SocketConfiguration.ssl()
    use tls().sslContext() instead. This method will be removed at 3.0.0 version.
    io.helidon.webserver.WebServer.Builder.routing(Routing)
    Use WebServer.Builder.addRouting(Routing) or WebServer.Builder.addRouting(Routing) instead.
  • Deprecated Modules
    Module
    Description
    io.helidon.integrations.cdi.referencecountedcontext
  • Deprecated Packages
    Package
    Description
    io.helidon.integrations.cdi.referencecountedcontext
    This package is slated for removal with no replacement.
  • Deprecated Interfaces
    Interface
    Description
    io.helidon.common.http.Content
    use io.helidon.media.common.MessageBodyReadableContent instead
    io.helidon.common.http.Reader
    since 2.0.0, use io.helidon.media.common.MessageBodyReader instead
    io.helidon.metrics.KeyPerformanceIndicatorMetricsSettings
    Use KeyPerformanceIndicatorMetricsSettings instead.
    io.helidon.webserver.spi.UpgradeCodecProvider
    Specific internal spi for Helidon 3.x, going to be changed for version 4
  • Deprecated Classes
    Class
    Description
    io.helidon.common.HelidonConsoleHandler
    use io.helidon.logging.jul.HelidonConsoleHandler from helidon-logging-jul module instead
    io.helidon.common.reactive.MultiFromOutputStream
    please use OutputStreamMulti instead
    io.helidon.integrations.cdi.eclipselink.CDISEPlatformExtension
    Only a CDI container should instantiate this class.
    io.helidon.integrations.cdi.referencecountedcontext.ReferenceCountedContext
    This class is slated for removal.
    io.helidon.integrations.cdi.referencecountedcontext.ReferenceCountedExtension
    This class is slated for removal.
    io.helidon.integrations.jta.cdi.DelegatingTransactionManager
    An equivalent class now exists in Narayana itself.
    io.helidon.integrations.jta.cdi.DelegatingTransactionSynchronizationRegistry
    An equivalent class now exists in Narayana itself.
    io.helidon.integrations.jta.jdbc.JtaDataSource
    This class is slated for removal. It makes incorrect assumptions about threading in a JTA environment. Specifically, this class' implementation incorrectly assumes that the JtaDataSource.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.
    io.helidon.integrations.jta.jdbc.XADataSourceWrappingDataSource
    This class is slated for removal with no replacement.
    io.helidon.media.common.ContentTypeCharset
    since 2.0.0, use MessageBodyContext.charset() instead
    io.helidon.media.common.ReadableByteChannelPublisher
    Will be removed. Please use IoMulti.multiFromByteChannel(java.nio.channels.ReadableByteChannel) instead
    io.helidon.microprofile.jwt.auth.JsonWebTokenImpl
    this class will not be public in future versions of Helidon
    io.helidon.microprofile.server.Main
    since 2.0.0, use Main instead
    io.helidon.security.providers.idcs.mapper.IdcsMtRoleMapperProvider
    use IdcsMtRoleMapperRxProvider instead
    io.helidon.security.providers.idcs.mapper.IdcsRoleMapperProvider
    use IdcsRoleMapperRxProvider instead
    io.helidon.security.providers.idcs.mapper.IdcsRoleMapperProviderBase
    use IdcsRoleMapperRxProviderBase instead
    io.helidon.webclient.FileSubscriber
    use IoMulti.writeToFile(java.nio.file.Path) instead
    io.helidon.webserver.ServerConfiguration.Builder
    since 2.0.0 - use WebServer.Builder instead
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    io.helidon.integrations.cdi.referencecountedcontext.ReferenceCounted
    This annotation is slated for removal.
  • Deprecated Fields
    Field
    Description
    io.helidon.common.crypto.AsymmetricCipher.ALGORITHM_RSA_ECB_OAEP_MD5
    It is strongly recommended not to use this algorithm as stated here RFC6151 - 2.
    io.helidon.common.crypto.HashDigest.ALGORITHM_MD2
    It is strongly recommended not to use this algorithm as stated here RFC6149 - Section 6.
    io.helidon.common.crypto.HashDigest.ALGORITHM_MD5
    It is strongly recommended not to use this algorithm as stated here RFC6151 - Section 2.1.
    io.helidon.common.crypto.HashDigest.ALGORITHM_SHA_1
    SHA-1 is unsafe to use alone due to its vulnerability to collision attacks
    io.helidon.common.crypto.HmacDigest.ALGORITHM_MD5
    HMAC-MD5 should not be used for signature purposes, for more information see RFC6151 - Section 2.3.
    io.helidon.common.crypto.Signature.ALGORITHM_MD2_RSA
    It is strongly recommended not to use this algorithm for signature purposes as stated here RFC6149 - Section 6.
    io.helidon.common.crypto.Signature.ALGORITHM_MD5_RSA
    It is strongly recommended not to use this algorithm for signature purposes as stated here RFC6149 - Section 2.
    io.helidon.health.checks.DiskSpaceHealthCheck.CONFIG_KEY_PATH
    The value will change to "health.checks.diskSpace.path" in a future release
    io.helidon.health.checks.DiskSpaceHealthCheck.CONFIG_KEY_THRESHOLD_PERCENT
    The value will change to "health.checks.diskSpace.thresholdPercent" in future release
    io.helidon.health.checks.HeapMemoryHealthCheck.CONFIG_KEY_THRESHOLD_PERCENT
    The value will change to "health.checks.heapMemory.thresholdPercent" in a future release
    io.helidon.microprofile.jwt.auth.JwtAuthProvider.EP_PROPERTY_OUTBOUND_USER
    use EndpointConfig.PROPERTY_OUTBOUND_ID instead, the value will change in 4.x as well
    io.helidon.security.providers.httpauth.HttpBasicAuthProvider.EP_PROPERTY_OUTBOUND_PASSWORD
    use EndpointConfig.PROPERTY_OUTBOUND_SECRET instead, the value will change in 4.x as well
    io.helidon.security.providers.httpauth.HttpBasicAuthProvider.EP_PROPERTY_OUTBOUND_USER
    use EndpointConfig.PROPERTY_OUTBOUND_ID instead, the value will change in 4.x as well
    io.helidon.security.providers.jwt.JwtProvider.EP_PROPERTY_OUTBOUND_USER
    use EndpointConfig.PROPERTY_OUTBOUND_ID instead, the value will change in 4.x as well
  • Deprecated Methods
    Method
    Description
    io.helidon.common.http.Content.registerFilter(Function<Flow.Publisher<DataChunk>, Flow.Publisher<DataChunk>>)
    since 2.0.0, use io.helidon.media.common.MessageBodyReaderContext.registerFilter
    io.helidon.common.http.Content.registerReader(Class<T>, Reader<T>)
    since 2.0.0, use io.helidon.media.common.MessageBodyReaderContext.registerReader
    io.helidon.common.http.Content.registerReader(Predicate<Class<?>>, Reader<T>)
    since 2.0.0, use io.helidon.media.common.MessageBodyReaderContext.registerReader
    io.helidon.common.http.FormParams.create(String, MediaType)
    use FormParams.builder() instead or register io.helidon.media.common.FormParamsBodyReader
    io.helidon.common.http.MediaType.withoutParameters()
    will be removed in 4.x version.
    io.helidon.common.http.ReadOnlyHeaders.create(Parameters)
    Use ReadOnlyHeaders.create(Headers) instead, passing Headers instead of Parameters.
    io.helidon.common.reactive.IoMulti.builderInputStream(InputStream)
    Please use IoMulti.multiFromStreamBuilder(java.io.InputStream)
    io.helidon.common.reactive.IoMulti.builderOutputStream()
    Please use IoMulti.outputStreamMultiBuilder()
    io.helidon.common.reactive.IoMulti.createInputStream(InputStream)
    please use IoMulti.multiFromStream(java.io.InputStream)
    io.helidon.common.reactive.IoMulti.createOutputStream()
    Please use IoMulti.outputStreamMulti()
    io.helidon.common.reactive.Multi.from(Single<T>)
    use Multi.create(io.helidon.common.reactive.Single) instead
    io.helidon.common.reactive.Multi.from(Iterable<T>)
    use Multi.create(java.lang.Iterable) instead
    io.helidon.common.reactive.Multi.from(CompletionStage<T>)
    use Multi.create(java.util.concurrent.CompletionStage) instead
    io.helidon.common.reactive.Multi.from(CompletionStage<T>, boolean)
    use Multi.create(java.util.concurrent.CompletionStage, boolean) instead
    io.helidon.common.reactive.Multi.from(Flow.Publisher<T>)
    use Multi.create(java.util.concurrent.Flow.Publisher) instead
    io.helidon.common.reactive.Multi.from(Stream<T>)
    use Multi.create(java.util.stream.Stream) instead
    io.helidon.common.reactive.Single.from(Single<T>)
    use Single.create(io.helidon.common.reactive.Single) instead
    io.helidon.common.reactive.Single.from(CompletionStage<T>)
    use Single.create(java.util.concurrent.CompletionStage) instead
    io.helidon.common.reactive.Single.from(CompletionStage<T>, boolean)
    use Single.create(java.util.concurrent.CompletionStage, boolean) instead
    io.helidon.common.reactive.Single.from(Flow.Publisher<T>)
    use Single.create(java.util.concurrent.Flow.Publisher) instead
    io.helidon.config.ConfigMappers.toCalendar(String)
    use new time API, such as ZonedDateTime
    io.helidon.config.ConfigMappers.toDate(String)
    Use one of the time API classes, such as Instant or ZonedDateTime
    io.helidon.config.ConfigMappers.toGregorianCalendar(String)
    use new time API, such as ZonedDateTime
    io.helidon.config.ConfigMappers.toSimpleTimeZone(String)
    use new time API, such as ZoneId
    io.helidon.config.ConfigMappers.toTimeZone(String)
    use new time API, such as ZoneId
    io.helidon.config.encryption.EncryptionUtil.decryptAesBytes(char[], String)
    This method will be moved to a new module
    io.helidon.config.encryption.EncryptionUtil.encryptAesBytes(char[], byte[])
    this method will be removed once a separate module for encryption is created
    io.helidon.config.hocon.HoconConfigParserBuilder.disableResolving()
    io.helidon.config.spi.ConfigParser.parse(ConfigParser.Content)
    use ConfigParser.parse(io.helidon.config.spi.ConfigParser.Content, java.util.function.Function) instead
    io.helidon.grpc.client.GrpcChannelDescriptor.Builder.nameResolverFactory(NameResolver.Factory)
    io.helidon.grpc.client.GrpcChannelDescriptor.nameResolverFactory()
    io.helidon.integrations.cdi.hibernate.CDISEJtaPlatformProvider.getProvidedJtaPlatform()
    For Hibernate use only.
    io.helidon.integrations.cdi.hibernate.DataSourceBackedDialectFactory.buildDialect(Map<String, Object>, DialectResolutionInfoSource)
    For Hibernate use only.
    io.helidon.integrations.cdi.hibernate.DataSourceBackedDialectFactory.contribute(StandardServiceRegistryBuilder)
    For Hibernate use only.
    io.helidon.integrations.cdi.hibernate.DataSourceBackedDialectFactory.getServiceInitiated()
    For Hibernate use only.
    io.helidon.integrations.cdi.hibernate.DataSourceBackedDialectFactory.initiateService(Map<String, Object>, ServiceRegistryImplementor)
    For Hibernate use only.
    io.helidon.integrations.jdbc.DelegatingCallableStatement.getBigDecimal(int, int)
    io.helidon.integrations.jdbc.DelegatingPreparedStatement.setUnicodeStream(int, InputStream, int)
    io.helidon.integrations.jdbc.DelegatingResultSet.getBigDecimal(int, int)
    io.helidon.integrations.jdbc.DelegatingResultSet.getBigDecimal(String, int)
    io.helidon.integrations.jdbc.DelegatingResultSet.getUnicodeStream(int)
    io.helidon.integrations.jdbc.DelegatingResultSet.getUnicodeStream(String)
    io.helidon.integrations.jta.jdbc.JtaDataSource.registerWith(Consumer<? super Synchronization>)
    This method is slated for removal with no replacement.
    io.helidon.integrations.oci.secrets.configsource.OciSecretsConfigSourceProvider.create(String, Config)
    For use by the Helidon Config subsystem only.
    io.helidon.integrations.oci.secrets.configsource.OciSecretsConfigSourceProvider.supported()
    For use by the Helidon Config subsystem only.
    io.helidon.integrations.oci.secrets.configsource.OciSecretsConfigSourceProvider.supports(String)
    For use by the Helidon Config subsystem only.
    io.helidon.integrations.oci.secrets.configsource.SecretBundleLazyConfigSource.node(String)
    io.helidon.integrations.oci.secrets.configsource.SecretBundleNodeConfigSource.isModified(SecretBundleNodeConfigSource.Stamp)
    io.helidon.integrations.oci.secrets.configsource.SecretBundleNodeConfigSource.load()
    io.helidon.integrations.oci.secrets.configsource.SecretBundleNodeConfigSource.pollingStrategy()
    io.helidon.media.common.ContentReaders.byteArrayReader()
    since 2.0.0, use ContentReaders.readBytes(Publisher) instead
    io.helidon.media.common.ContentReaders.inputStreamReader()
    since 2.0.0, use DefaultMediaSupport.inputStreamReader()
    io.helidon.media.common.ContentReaders.stringReader(Charset)
    since 2.0.0, use ContentReaders.readString(Publisher, Charset)} or DefaultMediaSupport.stringReader() instead
    io.helidon.media.common.ContentReaders.urlEncodedStringReader(Charset)
    since 2.0.0, use ContentReaders.readURLEncodedString(Publisher, Charset) instead
    io.helidon.media.common.ContentWriters.byteArrayWriter(boolean)
    since 2.0.0, use ContentWriters.writeBytes(byte[], boolean) instead
    io.helidon.media.common.ContentWriters.byteChannelWriter()
    since 2.0.0, use DefaultMediaSupport.byteChannelWriter()} instead
    io.helidon.media.common.ContentWriters.byteChannelWriter(RetrySchema)
    since 2.0.0, use DefaultMediaSupport.byteChannelWriter(RetrySchema)} instead
    io.helidon.media.common.ContentWriters.charBufferWriter(Charset)
    since 2.0.0, use ContentWriters.writeCharBuffer(CharBuffer, Charset) instead
    io.helidon.media.common.ContentWriters.charSequenceWriter(Charset)
    since 2.0.0, use ContentWriters.writeCharSequence(CharSequence, Charset) or DefaultMediaSupport.charSequenceWriter() instead
    io.helidon.media.common.MessageBodyReadableContent.registerFilter(Function<Flow.Publisher<DataChunk>, Flow.Publisher<DataChunk>>)
    io.helidon.media.common.MessageBodyReadableContent.registerReader(Class<T>, Reader<T>)
    io.helidon.media.common.MessageBodyReadableContent.registerReader(Predicate<Class<?>>, Reader<T>)
    io.helidon.media.common.MessageBodyReaderContext.create(MediaContext, MessageBodyContext.EventListener, ReadOnlyParameters, Optional<MediaType>)
    Use MessageBodyReaderContext.create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional) instead, passing ReadOnlyHeaders instead of ReadOnlyParameters.
    io.helidon.media.common.MessageBodyReaderContext.create(MessageBodyReaderContext, MessageBodyContext.EventListener, ReadOnlyParameters, Optional<MediaType>)
    Use MessageBodyReaderContext.create(MessageBodyReaderContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional) instead, passing ReadOnlyHeaders instead of ReadOnlyParameters.
    io.helidon.media.common.MessageBodyReaderContext.registerReader(Class<T>, Reader<T>)
    since 2.0.0 use MessageBodyReaderContext.registerReader(MessageBodyReader) instead
    io.helidon.media.common.MessageBodyReaderContext.registerReader(Predicate<Class<?>>, Reader<T>)
    since 2.0.0 use MessageBodyReaderContext.registerReader(MessageBodyReader) instead
    io.helidon.media.common.MessageBodyWriterContext.create(Parameters)
    Use MessageBodyWriterContext.create(io.helidon.common.http.Headers) instead, passing Headers instead of Parameters.
    io.helidon.media.common.MessageBodyWriterContext.create(MediaContext, MessageBodyContext.EventListener, Parameters, List<MediaType>)
    Use MessageBodyWriterContext.create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.Headers, java.util.List) instead, passing Headers instead of Parameters.
    io.helidon.media.common.MessageBodyWriterContext.create(MessageBodyWriterContext, Parameters)
    Use (@link MessageBodyWriterContext.create(MessageBodyWriterContext, io.helidon.common.http.Headers) instead passing Headers instead of Parameters.
    io.helidon.media.common.MessageBodyWriterContext.create(MessageBodyWriterContext, MessageBodyContext.EventListener, Parameters, List<MediaType>)
    Use MessageBodyWriterContext.create(MessageBodyWriterContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.Headers, java.util.List) instead, passing Headers instead of Parameters.
    io.helidon.media.common.MessageBodyWriterContext.registerWriter(Class<T>, MediaType, Function<? extends T, Flow.Publisher<DataChunk>>)
    since 2.0.0, use MessageBodyWriterContext.registerWriter(MessageBodyWriter) instead
    io.helidon.media.common.MessageBodyWriterContext.registerWriter(Class<T>, Function<T, Flow.Publisher<DataChunk>>)
    since 2.0.0, use MessageBodyWriterContext.registerWriter(MessageBodyWriter) instead
    io.helidon.media.common.MessageBodyWriterContext.registerWriter(Predicate<?>, MediaType, Function<T, Flow.Publisher<DataChunk>>)
    since 2.0.0, use MessageBodyWriterContext.registerWriter(MessageBodyWriter) instead
    io.helidon.media.common.MessageBodyWriterContext.registerWriter(Predicate<?>, Function<T, Flow.Publisher<DataChunk>>)
    since 2.0.0 use MessageBodyWriterContext.registerWriter(MessageBodyWriter) instead
    io.helidon.media.multipart.BodyPart.filename()
    since 3.1.2, this method will be updated to return Optional<String> in future releases, use headers().contentDisposition().filename() instead.
    io.helidon.media.multipart.BodyPart.name()
    since 3.1.2, this method will be updated to return Optional<String> in future releases, use headers().contentDisposition().name() instead.
    io.helidon.messaging.connectors.jms.shim.JakartaSession.unwrap(Class<S>)
    since 3.0.3, use JakartaSession.unwrap() instead.
    io.helidon.messaging.Emitter.emit(Message<PAYLOAD>)
    io.helidon.metrics.api.RegistryFactory.create(Config)
    Use RegistryFactory.create(MetricsSettings) instead
    io.helidon.metrics.api.RegistryFactory.getInstance(Config)
    Use RegistryFactory.getInstance(MetricsSettings) instead
    io.helidon.metrics.MetricsSupport.builder()
    Use MetricsSupport.builder() instead.
    io.helidon.metrics.MetricsSupport.Builder.config(Config)
    Use MetricsSupport.Builder.metricsSettings(MetricsSettings.Builder) instead
    io.helidon.metrics.MetricsSupport.Builder.keyPerformanceIndicatorsMetricsConfig(Config)
    Use MetricsSupport.Builder.metricsSettings(MetricsSettings.Builder) with MetricsSettings.Builder.keyPerformanceIndicatorSettings(KeyPerformanceIndicatorMetricsSettings.Builder) instead.
    io.helidon.metrics.MetricsSupport.Builder.keyPerformanceIndicatorsMetricsSettings(KeyPerformanceIndicatorMetricsSettings.Builder)
    Use MetricsSupport.Builder.metricsSettings(MetricsSettings.Builder) with MetricsSettings.Builder.keyPerformanceIndicatorSettings(KeyPerformanceIndicatorMetricsSettings.Builder) instead.
    io.helidon.metrics.RegistryFactory.create()
    Use RegistryFactory.create()
    io.helidon.metrics.RegistryFactory.create(Config)
    Use RegistryFactory.create(Config)
    io.helidon.metrics.RegistryFactory.getInstance()
    Use RegistryFactory.getInstance()
    io.helidon.metrics.RegistryFactory.getInstance(Config)
    Use RegistryFactory.getInstance(MetricsSettings)
    io.helidon.microprofile.jwt.auth.JsonWebTokenImpl.getClaim(String, Class<T>)
    This class will no longer be public in future versions
    io.helidon.microprofile.jwt.auth.JwtAuthProvider.Builder.expectedAudience(String)
    use JwtAuthProvider.Builder.addExpectedAudience(String) instead
    io.helidon.microprofile.messaging.MessagingCdiExtension.channelsLiveness()
    Implement MessagingChannelProcessor as a bean instead, which can peak to any messaging channel.
    io.helidon.microprofile.messaging.MessagingCdiExtension.channelsReadiness()
    Implement MessagingChannelProcessor as a bean instead, which can peak to any messaging channel.
    io.helidon.microprofile.server.Main.serverPort()
    use ServerCdiExtension to get the port
    io.helidon.security.providers.oidc.common.OidcConfig.appClient()
    Use OidcConfig.appWebClient()
    io.helidon.security.providers.oidc.common.OidcConfig.cookieName()
    use OidcConfig.tokenCookieHandler() instead
    io.helidon.security.providers.oidc.common.OidcConfig.cookieOptions()
    please use OidcConfig.tokenCookieHandler() instead
    io.helidon.security.providers.oidc.common.OidcConfig.cookieValuePrefix()
    use OidcCookieHandler instead, this method will no longer be avilable
    io.helidon.security.providers.oidc.common.OidcConfig.generalClient()
    Use OidcConfig.generalWebClient() instead
    io.helidon.security.providers.oidc.common.OidcConfig.introspectEndpoint()
    Please use OidcConfig.appWebClient() and OidcConfig.introspectUri() instead; result of moving to reactive webclient from JAX-RS client
    io.helidon.security.providers.oidc.common.OidcConfig.tokenEndpoint()
    Please use OidcConfig.appWebClient() and OidcConfig.tokenEndpointUri() instead; result of moving to reactive webclient from JAX-RS client
    io.helidon.security.providers.oidc.common.OidcConfig.updateRequest(OidcConfig.RequestType, WebClientRequestBuilder, FormParams.Builder)
    this will be removed without replacement
    io.helidon.webserver.ConfiguredTlsManager.configureAndSet(WebServerTls, SSLContext)
    this method will be removed in a future release.
    io.helidon.webserver.ConfiguredTlsManager.createTmf(WebServerTls)
    this method will be removed in a future release.
    io.helidon.webserver.ConfiguredTlsManager.initSslContext(WebServerTls, KeyManager[], TrustManager[])
    this method will be removed in a future release.
    io.helidon.webserver.ConfiguredTlsManager.reload(WebServerTls, KeyManager[], TrustManager[])
    this method will be removed in a future release.
    io.helidon.webserver.ResponseHeaders.whenSend()
    since 2.0.0, please use ResponseHeaders.whenSent()
    io.helidon.webserver.ServerConfiguration.builder()
    since 2.0.0 - please use WebServer.builder() instead
    io.helidon.webserver.ServerConfiguration.builder(Config)
    since 2.0.0 - please use WebServer.builder(), then WebServer.Builder.config(io.helidon.config.Config), or WebServer.create(Routing, io.helidon.config.Config)
    io.helidon.webserver.ServerConfiguration.Builder.addSocket(String, int, InetAddress)
    since 2.0.0, please use ServerConfiguration.Builder.addSocket(String, SocketConfiguration) instead
    io.helidon.webserver.ServerConfiguration.socket(String)
    since 2.0.0, please use ServerConfiguration.namedSocket(String) instead
    io.helidon.webserver.ServerResponse.registerFilter(Function<Flow.Publisher<DataChunk>, Flow.Publisher<DataChunk>>)
    since 2.0.0, use ServerResponse.registerFilter(io.helidon.media.common.MessageBodyFilter) instead
    io.helidon.webserver.ServerResponse.registerWriter(Class<T>, MediaType, Function<? extends T, Flow.Publisher<DataChunk>>)
    since 2.0.0, use ServerResponse.registerWriter(io.helidon.media.common.MessageBodyWriter) instead
    io.helidon.webserver.ServerResponse.registerWriter(Class<T>, Function<T, Flow.Publisher<DataChunk>>)
    Since 2.0.0, use ServerResponse.registerWriter(io.helidon.media.common.MessageBodyWriter) instead
    io.helidon.webserver.ServerResponse.registerWriter(Predicate<?>, MediaType, Function<T, Flow.Publisher<DataChunk>>)
    since 2.0.0, use ServerResponse.registerWriter(io.helidon.media.common.MessageBodyWriter) instead
    io.helidon.webserver.ServerResponse.registerWriter(Predicate<?>, Function<T, Flow.Publisher<DataChunk>>)
    since 2.0.0, use ServerResponse.registerWriter(io.helidon.media.common.MessageBodyWriter) instead
    io.helidon.webserver.SocketConfiguration.allowedCipherSuite()
    use tls().cipherSuite() instead. This method will be removed at 3.0.0 version.
    io.helidon.webserver.SocketConfiguration.Builder.enabledSSlProtocols(String...)
    since 2.0.0, please use WebServerTls.Builder.enabledProtocols(String...) instead
    io.helidon.webserver.SocketConfiguration.Builder.enabledSSlProtocols(List<String>)
    io.helidon.webserver.SocketConfiguration.Builder.ssl(Supplier<? extends SSLContext>)
    since 2.0.0, please use SocketConfiguration.SocketConfigurationBuilder.tls(Supplier) instead
    io.helidon.webserver.SocketConfiguration.Builder.ssl(SSLContext)
    since 2.0.0, please use SocketConfiguration.Builder.tls(WebServerTls) instead
    io.helidon.webserver.SocketConfiguration.Builder.timeoutMillis(int)
    since 2.0.0 please use SocketConfiguration.Builder.timeout(long, java.util.concurrent.TimeUnit) instead
    io.helidon.webserver.SocketConfiguration.clientAuth()
    use tls().clientAuth() instead. This method will be removed at 3.0.0 version.
    io.helidon.webserver.SocketConfiguration.enabledSslProtocols()
    use tls().enabledTlsProtocols() instead. This method will be removed at 3.0.0 version.
    io.helidon.webserver.SocketConfiguration.ssl()
    use tls().sslContext() instead. This method will be removed at 3.0.0 version.
    io.helidon.webserver.TlsManager.subscribe(Consumer<SSLContext>)
    this method will be removed in a future release.
    io.helidon.webserver.WebServer.Builder.routing(Routing)
    Use WebServer.Builder.addRouting(Routing) or WebServer.Builder.addRouting(Routing) instead.
  • Deprecated Constructors
    Constructor
    Description
    io.helidon.config.encryption.MpEncryptionFilter()
    io.helidon.config.hocon.HoconConfigParser()
    Use HoconConfigParser.builder() to construct a customized instance, or HoconConfigParser.create() to get an instance with defaults
    io.helidon.config.yaml.YamlConfigParser()
    This method should not be directly used, use YamlConfigParser.create()
    io.helidon.integrations.cdi.eclipselink.CDISEPlatformExtension()
    Only a CDI container should invoke this constructor.
    io.helidon.integrations.cdi.hibernate.CDISEJtaPlatformProvider()
    For Hibernate use only.
    io.helidon.integrations.cdi.hibernate.DataSourceBackedDialectFactory()
    For use by ServiceLoader instances only.
    io.helidon.integrations.cdi.jpa.PersistenceExtension()
    For invocation by CDI only.
    io.helidon.integrations.jdbc.ConditionallyCloseableConnection(Connection)
    This constructor continues to exist for backwards compatibility only and its use is strongly discouraged. Please use the ConditionallyCloseableConnection(Connection, boolean, boolean) constructor instead and consider supplying true for its strictClosedChecking parameter. In the future, this constructor may change, without prior notice, to cause new ConditionallyCloseableConnection instances created by it to behave as if they were created by invocations of the ConditionallyCloseableConnection(Connection, boolean, boolean) constructor instead, with true supplied for its strictClosedChecking parameter.
    io.helidon.integrations.jdbc.ConditionallyCloseableConnection(Connection, boolean)
    This constructor continues to exist for backwards compatibility only and its use is strongly discouraged. Please use the ConditionallyCloseableConnection(Connection, boolean, boolean) constructor instead and consider supplying true for its strictClosedChecking parameter. In the future, this constructor may change, without prior notice, to cause new ConditionallyCloseableConnection instances created by it to behave as if they were created by invocations of the ConditionallyCloseableConnection(Connection, boolean, boolean) constructor instead, with true supplied for its strictClosedChecking parameter.
    io.helidon.integrations.jta.jdbc.JtaAdaptingDataSource(TransactionSupplier, TransactionSynchronizationRegistry, boolean, ExceptionConverter, XADataSource, boolean, boolean)
    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 their close() methods, a non-standard practice which is discouraged by the documentation of PooledConnection (from which XAConnection inherits). 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 the XADataSource has the behavior described above; normally an XAConnection should not be used directly or closed by end-user code.
    io.helidon.integrations.jta.weld.NarayanaTransactionServices()
    Only intended for service loader, do not instantiate
    io.helidon.integrations.oci.sdk.cdi.OciExtension()
    For ServiceLoader use only.
    io.helidon.integrations.oci.secrets.configsource.OciSecretsConfigSourceProvider()
    For use by ServiceLoader only.
    io.helidon.integrations.oci.secrets.mp.configsource.OciSecretsMpMetaConfigProvider()
    For use by the Helidon Config subsystem only.
    io.helidon.integrations.oci.tls.certificates.DefaultOciCertificatesDownloader()
    this is a Java ServiceLoader implementation and the constructor should not be used directly
    io.helidon.integrations.oci.tls.certificates.DefaultOciCertificatesTlsManagerProvider()
    this is a Java ServiceLoader implementation and the constructor should not be used directly
    io.helidon.integrations.oci.tls.certificates.DefaultOciPrivateKeyDownloader()
    this is a Java ServiceLoader implementation and the constructor should not be used directly
    io.helidon.integrations.vault.auths.approle.AppRoleVaultAuth()
    please use AppRoleVaultAuth.builder()
    io.helidon.integrations.vault.auths.k8s.K8sVaultAuth()
    please use K8sVaultAuth.builder()
    io.helidon.integrations.vault.secrets.cubbyhole.CubbyholeEngineProvider()
    Do not use this constructor, this is a service loader service!
    io.helidon.integrations.vault.secrets.cubbyhole.CubbyholeSecurityService()
    Do not use this constructor, this is a service loader service!
    io.helidon.integrations.vault.secrets.kv1.Kv1SecurityService()
    Do not use this constructor, this is a service loader service!
    io.helidon.integrations.vault.secrets.kv2.Kv2SecurityService()
    Do not use this constructor, this is a service loader service!
    io.helidon.media.common.ReadableByteChannelPublisher(ReadableByteChannel, RetrySchema)
    please use IoMulti.multiFromByteChannel(java.nio.channels.ReadableByteChannel)
    io.helidon.security.providers.config.vault.ConfigVaultProviderService()
    do not use, this should only be invoked by Java Service Loader
    io.helidon.webserver.http2.Http2UpgradeCodecProvider()
    Only intended for service loader, do not instantiate
    io.helidon.webserver.websocket.WebsocketUpgradeCodecProvider()
    Only intended for service loader, do not instantiate
  • Deprecated Enum Constants
    Enum Constant
    Description
    io.helidon.common.http.Http.Status.HTTP_VERSION_NOT_SUPPORTED
    use Http.Status.HTTP_VERSION_NOT_SUPPORTED_505 instead (inconsistent name)

Copyright © 2018–2025 Oracle Corporation. All rights reserved.