Deprecated API
Contents
-
ElementDescriptionNo longer neededAccess the builder from the visitorNo longer neededNot neededNo longer usedNo longer usedNo longer usedNo longer neededNo longer usedNo longer usedReplaced by
AbstractArgumentBinder
replaced withArgumentBinderRegistry.addArgumentBinder(ArgumentBinder)
replaced withArgumentBinderRegistry.findArgumentBinder(Argument)
Replaced byHttpConverterRegistrar(BeanProvider)
.Not needed anymoreNot needed 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()
insteadWill 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 withFilterRoute.match(HttpMethod, String)
.UYseRouteInfo.getRequestBodyType()
insteadUseRouteInfo.getResponseBodyType()
instead
-
InterfaceDescriptionUse NettyClientCustomizer or NettyServerCustomizer instead.Use the
MessageBodyReader
API instead
-
ClassDescriptionNo longer neededNo longer neededNo longer usedNo longer usedNo longer usedReplaced by
AbstractArgumentBinder
-
FieldDescriptionNon-functional, replaced by
NettyThreadFactory.getDefaultEventLoopThreads()
.Unused now, please follow RFC 6266
-
MethodDescriptionAccess the builder from the visitorNo longer usedNo longer useddon't need to have this methodset logEnabled value by constructorreplaced with
ArgumentBinderRegistry.addArgumentBinder(ArgumentBinder)
replaced withArgumentBinderRegistry.findArgumentBinder(Argument)
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)
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.toHttpRequestDirect()
andNettyHttpRequestBuilder.toHttpRequestWithoutBody()
insteadThis 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.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 neededUse
FixedLoadBalancer(URI)
insteadReplaced byHttpConverterRegistrar(BeanProvider)
.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()
.