Deprecated API
Contents
-
ElementDescriptionwill be removed in 4.x version.Please use
IoMulti.outputStreamMultiBuilder()
please useIoMulti.multiFromStream(java.io.InputStream)
Please useIoMulti.outputStreamMulti()
please useOutputStreamMulti
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.UseMessageBodyReaderContext.create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional)
instead, passingReadOnlyHeaders
instead ofReadOnlyParameters
.UseMessageBodyReaderContext.create(MessageBodyReaderContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional)
instead, passingReadOnlyHeaders
instead ofReadOnlyParameters
.UseMessageBodyWriterContext.create(io.helidon.common.http.Headers)
instead, passingHeaders
instead ofParameters
.UseMessageBodyWriterContext.create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.Headers, java.util.List)
instead, passingHeaders
instead ofParameters
.Use (@linkMessageBodyWriterContext.create(MessageBodyWriterContext, io.helidon.common.http.Headers)
instead passingHeaders
instead ofParameters
.UseMessageBodyWriterContext.create(MessageBodyWriterContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.Headers, java.util.List)
instead, passingHeaders
instead ofParameters
.Will be removed. Please useIoMulti.multiFromByteChannel(java.nio.channels.ReadableByteChannel)
insteadsince 3.0.3, useJakartaSession.unwrap()
instead.UseKeyPerformanceIndicatorMetricsSettings
instead.UseMetricsSupport.builder()
instead.this class will not be public in future versions of HelidonThis class will no longer be public in future versionsuseEndpointConfig.PROPERTY_OUTBOUND_ID
instead, the value will change in 4.x as wellImplementMessagingChannelProcessor
as a bean instead, which can peak to any messaging channel.ImplementMessagingChannelProcessor
as a bean instead, which can peak to any messaging channel.useEndpointConfig.PROPERTY_OUTBOUND_SECRET
instead, the value will change in 4.x as welluseEndpointConfig.PROPERTY_OUTBOUND_ID
instead, the value will change in 4.x as welluseIdcsMtRoleMapperRxProvider
insteaduseIdcsRoleMapperRxProvider
insteaduseIdcsRoleMapperRxProviderBase
insteaduseEndpointConfig.PROPERTY_OUTBOUND_ID
instead, the value will change in 4.x as welluseOidcConfig.tokenCookieHandler()
insteadplease useOidcConfig.tokenCookieHandler()
insteaduseOidcCookieHandler
instead, 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 clientthis will be removed without replacementuseIoMulti.writeToFile(java.nio.file.Path)
insteadusetls().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.
-
PackageDescriptionThis package is slated for removal with no replacement.
-
InterfaceDescriptionuse
io.helidon.media.common.MessageBodyReadableContent
insteadsince 2.0.0, useio.helidon.media.common.MessageBodyReader
insteadUseKeyPerformanceIndicatorMetricsSettings
instead.Specific internal spi for Helidon 3.x, going to be changed for version 4
-
ClassDescriptionuse io.helidon.logging.jul.HelidonConsoleHandler from helidon-logging-jul module insteadplease use
OutputStreamMulti
insteadOnly a CDI container should instantiate this class.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.since 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 Helidonsince 2.0.0, useMain
insteaduseIdcsMtRoleMapperRxProvider
insteaduseIdcsRoleMapperRxProvider
insteaduseIdcsRoleMapperRxProviderBase
insteaduseIoMulti.writeToFile(java.nio.file.Path)
insteadsince 2.0.0 - useWebServer.Builder
instead
-
Annotation InterfaceDescriptionThis annotation is slated for removal.
-
FieldDescriptionIt 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.The value will change to "health.checks.diskSpace.path" in a future releaseThe value will change to "health.checks.diskSpace.thresholdPercent" in future releaseThe value will change to "health.checks.heapMemory.thresholdPercent" in a future releaseuse
EndpointConfig.PROPERTY_OUTBOUND_ID
instead, the value will change in 4.x as welluseEndpointConfig.PROPERTY_OUTBOUND_SECRET
instead, the value will change in 4.x as welluseEndpointConfig.PROPERTY_OUTBOUND_ID
instead, the value will change in 4.x as welluseEndpointConfig.PROPERTY_OUTBOUND_ID
instead, the value will change in 4.x as well
-
MethodDescriptionsince 2.0.0, use
io.helidon.media.common.MessageBodyReaderContext.registerFilter
since 2.0.0, useio.helidon.media.common.MessageBodyReaderContext.registerReader
since 2.0.0, useio.helidon.media.common.MessageBodyReaderContext.registerReader
useFormParams.builder()
instead or registerio.helidon.media.common.FormParamsBodyReader
will be removed in 4.x version.Please 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 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 createdFor Hibernate use only.For Hibernate use only.For Hibernate use only.For Hibernate use only.For Hibernate use only.This method is slated for removal with no replacement.For use by the Helidon Config subsystem only.For use by the Helidon Config subsystem only.For use by the Helidon Config subsystem only.since 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()
insteadUseMessageBodyReaderContext.create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional)
instead, passingReadOnlyHeaders
instead ofReadOnlyParameters
.UseMessageBodyReaderContext.create(MessageBodyReaderContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.ReadOnlyHeaders, java.util.Optional)
instead, passingReadOnlyHeaders
instead ofReadOnlyParameters
.since 2.0.0 useMessageBodyReaderContext.registerReader(MessageBodyReader)
insteadsince 2.0.0 useMessageBodyReaderContext.registerReader(MessageBodyReader)
insteadUseMessageBodyWriterContext.create(io.helidon.common.http.Headers)
instead, passingHeaders
instead ofParameters
.UseMessageBodyWriterContext.create(MediaContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.Headers, java.util.List)
instead, passingHeaders
instead ofParameters
.Use (@linkMessageBodyWriterContext.create(MessageBodyWriterContext, io.helidon.common.http.Headers)
instead passingHeaders
instead ofParameters
.UseMessageBodyWriterContext.create(MessageBodyWriterContext, io.helidon.media.common.MessageBodyContext.EventListener, io.helidon.common.http.Headers, java.util.List)
instead, passingHeaders
instead ofParameters
.since 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)
insteadsince 3.1.2, this method will be updated to returnOptional<String>
in future releases, useheaders().contentDisposition().filename()
instead.since 3.1.2, this method will be updated to returnOptional<String>
in future releases, useheaders().contentDisposition().name()
instead.since 3.0.3, useJakartaSession.unwrap()
instead.UseRegistryFactory.create(MetricsSettings)
insteadUseRegistryFactory.getInstance(MetricsSettings)
insteadUseMetricsSupport.builder()
instead.This class will no longer be public in future versionsImplementMessagingChannelProcessor
as a bean instead, which can peak to any messaging channel.ImplementMessagingChannelProcessor
as a bean instead, which can peak to any messaging channel.useServerCdiExtension
to get the portuseOidcConfig.tokenCookieHandler()
insteadplease useOidcConfig.tokenCookieHandler()
insteaduseOidcCookieHandler
instead, 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 clientthis will be removed without replacementthis method will be removed in a future release.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.this method will be removed in a future release.since 2.0.0, please useResponseHeaders.whenSent()
since 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, 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.this method will be removed in a future release.
-
ConstructorDescriptionUse
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.For Hibernate use only.For use byServiceLoader
instances only.For invocation 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 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.Only intended for service loader, do not instantiateForServiceLoader
use only.For use byServiceLoader
only.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 directlythis is a Java ServiceLoader implementation and the constructor should not be used directlyplease 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 LoaderOnly intended for service loader, do not instantiateOnly intended for service loader, do not instantiate
-
Enum ConstantDescriptionuse
Http.Status.HTTP_VERSION_NOT_SUPPORTED_505
instead (inconsistent name)
Http.Status.HTTP_VERSION_NOT_SUPPORTED_505
instead (inconsistent name)