Deprecated API
Contents
-
ElementDescriptionNo longer neededAccess the builder from the visitorNo longer neededNot neededNo longer usedNo longer usedNo longer usedNo longer neededNo longer neededNo longer usedNo longer usedNo longer usedNo longer usedUse the typed member of the
Bean
annotation insteadReplaced byPropertyCatalog
UseConfigurableBeanContext
insteadReplaced byAbstractArgumentBinder
replaced withArgumentBinderRegistry.addArgumentBinder(ArgumentBinder)
replaced withArgumentBinderRegistry.findArgumentBinder(Argument)
Inline methodUse builder insteadUse builder insteadReplaced withMessageBodyHandlerRegistry
.Replaced byHttpConverterRegistrar(BeanProvider)
.Not needed anymoreNot needed anymoreNot used anymoreNon-functional, replaced byNettyThreadFactory.getDefaultEventLoopThreads()
.Go throughNettyHttpRequestBuilder.toHttpRequestDirect()
andNettyHttpRequestBuilder.toHttpRequestWithoutBody()
insteadGo throughNettyHttpRequestBuilder.toHttpRequestDirect()
andNettyHttpRequestBuilder.toHttpRequestWithoutBody()
insteadGo throughNettyHttpRequestBuilder.toHttpRequestDirect()
andNettyHttpRequestBuilder.toHttpRequestWithoutBody()
insteadGo throughNettyHttpRequestBuilder.toHttpRequestDirect()
andNettyHttpRequestBuilder.toHttpRequestWithoutBody()
insteadNot used anymoreReplaced with message body writers / readers APIuseCorsFilter(HttpServerConfiguration, HttpHostResolver, Router)
instead.useDefaultErrorResponseProcessor
insteadUnused nowWill be removed after 4.3.0Will be removed after 4.3.0Will be removed after 4.3.0Will be removed after 4.3.0replaced withClassElement.withTypeArguments(Collection)
for consistent API.Replaced with message body writers / readers APIReplaced with message body writers / readers APIReplaced with message body writers / readers APIReplaced with message body writers / readers APIReplaced with message body writers / readers APIReplaced with message body writers / readers APIReplaced withFilterRoute.match(HttpMethod, String)
.Behavior moved up intoHyphenatedUriNamingStrategy
UYseRouteInfo.getRequestBodyType()
insteadUseRouteInfo.getResponseBodyType()
instead
-
InterfaceDescriptionUse
ConfigurableBeanContext
insteadReplaced withMessageBodyHandler
Replaced withMessageBodyHandlerRegistry
.Use NettyClientCustomizer or NettyServerCustomizer instead.Use theMessageBodyReader
API insteadUnused now
-
ClassDescriptionNo longer neededNo longer neededNo longer usedNo longer usedNo longer usedReplaced by
AbstractArgumentBinder
Replaced withMessageBodyHandlerRegistry
.Replaced with message body writers / readers APIuseDefaultErrorResponseProcessor
insteadReplaced with message body writers / readers APIReplaced with message body writers / readers APIReplaced with message body writers / readers APIReplaced with message body writers / readers APIReplaced with message body writers / readers APIReplaced with message body writers / readers APIReplaced with message body writers / readers APIBehavior moved up intoHyphenatedUriNamingStrategy
-
Record ClassDescription
-
FieldDescriptionNon-functional, replaced by
NettyThreadFactory.getDefaultEventLoopThreads()
.Unused now, please follow RFC 6266
-
MethodDescriptionAccess the builder from the visitorNo longer usedNo longer usedNo longer usedNo longer useddon't need to have this methodset logEnabled value by constructorreplaced with
ArgumentBinderRegistry.addArgumentBinder(ArgumentBinder)
replaced withArgumentBinderRegistry.findArgumentBinder(Argument)
Inline methodThis method is unnecessary forAvailableByteBody
, it does nothing.This method is unnecessary forAvailableByteBody
. UseAvailableByteBody.length()
directly.This method is unnecessary forAvailableByteBody
. UseAvailableByteBody.split()
directly.This method is unnecessary forAvailableByteBody
. UseAvailableByteBody.toByteArray()
directly.This method is unnecessary forAvailableByteBody
. UseAvailableByteBody.toByteBuffer()
directly.This method is unnecessary forAvailableByteBody
, it does nothing.There are now separate settings for HTTP and HTTPS connections. To configure HTTP connections (e.g. for h2c), useClient.plaintextMode()
. To configure ALPN, setClient.alpnModes()
.There are now separate settings for HTTP and HTTPS connections. To configure HTTP connections (e.g. for h2c), useHttpClientConfiguration.plaintextMode
. To configure ALPN, setHttpClientConfiguration.alpnModes
.There are now separate settings for HTTP and HTTPS connections. To configure HTTP connections (e.g. for h2c), useHttpClientConfiguration.plaintextMode
. To configure ALPN, setHttpClientConfiguration.alpnModes
.UseFixedLoadBalancer.getUri()
insteadUseLoadBalancer.fixed(URI)
insteadUse body handlers insteadUse builder insteadUse builder insteadNot needed anymoreNot needed anymoreUse NettyClientCustomizer or NettyServerCustomizer instead.Use NettyClientCustomizer or NettyServerCustomizer instead.Use NettyClientCustomizer or NettyServerCustomizer instead.Go throughNettyHttpRequestBuilder.toHttpRequestDirect()
andNettyHttpRequestBuilder.toHttpRequestWithoutBody()
insteadGo throughNettyHttpRequestBuilder.toHttpRequestDirect()
andNettyHttpRequestBuilder.toHttpRequestWithoutBody()
insteadGo throughNettyHttpRequestBuilder.toHttpRequestDirect()
andNettyHttpRequestBuilder.toHttpRequestWithoutBody()
insteadGo throughNettyHttpRequestBuilder.toHttpRequestWithoutBody()
andNettyHttpRequestBuilder.byteBodyDirect()
insteadGo throughNettyHttpRequestBuilder.toHttpRequestDirect()
andNettyHttpRequestBuilder.toHttpRequestWithoutBody()
insteadUnusedThis setting does nothingThis setting does nothingTheSETTINGS_ENABLE_PUSH
setting makes no sense when sent by the server, and clients must reject any setting exceptfalse
(the default) according to the spec.TheSETTINGS_ENABLE_PUSH
setting makes no sense when sent by the server, and clients must reject any setting exceptfalse
(the default) according to the spec. Netty will refuse to write this setting altogether. To prevent this, this setter now does nothing and will be removed in a future release.Does not work for unix or embedded channels. Please implement and useLogElement.onRequestHeaders(ConnectionMetadata, String, HttpHeaders, String, String)
instead.Will be removed after 4.3.0Will be removed after 4.3.0Will be removed after 4.3.0Please usemicronaut.server.ssl.port
instead (ServerSslConfiguration.setPort(int)
).Please usemicronaut.server.ssl.build-self-signed
instead (SslConfiguration.buildSelfSigned()
).Please usemicronaut.server.ssl.port
instead (ServerSslConfiguration.setPort(int)
).replaced withClassElement.withTypeArguments(Collection)
for consistent API.no longer usedVisiting a file should supply the originating elements. UseClassWriterOutputVisitor.visitMetaInfFile(String, Element...)
insteadReplaced withFilterRoute.match(HttpMethod, String)
.UYseRouteInfo.getRequestBodyType()
insteadUseRouteInfo.getResponseBodyType()
insteadUseWebSocketClient.create(URI)
instead
-
ConstructorDescriptionNot neededNo longer neededNo longer neededUse
FixedLoadBalancer(URI)
insteadPlease go through theDefaultHttpClient.builder()
instead.Please go through theDefaultHttpClient.builder()
instead. If you need access to properties that are not public in the builder, make them public in core and document their usage.Please go through theDefaultHttpClient.builder()
instead. If you need access to properties that are not public in the builder, make them public in core and document their usage.Please go through theDefaultHttpClient.builder()
instead. If you need access to properties that are not public in the builder, make them public in core and document their usage.Please go through theDefaultHttpClient.builder()
instead.Please go through theDefaultHttpClient.builder()
instead.Please go through theDefaultHttpClient.builder()
instead.Replaced byHttpConverterRegistrar(BeanProvider)
.Pass the config instead, throughNettyThreadFactory(NettyGlobalConfiguration)
Not used anymoreuseCorsFilter(HttpServerConfiguration, HttpHostResolver, Router)
instead.Will be removed after 4.3.0No longer needs to be instantiated directly, just use the static methodsNo longer needs to be instantiated directly, just use the static methods
-
Annotation Interface ElementDescriptionThere are now separate settings for HTTP and HTTPS connections. To configure HTTP connections (e.g. for h2c), use
Client.plaintextMode()
. To configure ALPN, setClient.alpnModes()
.