Deprecated API
Contents
-
ElementDescriptionNo 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()
insteadreplaced withClassElement.withTypeArguments(Collection)
for consistent API.UYseRouteInfo.getRequestBodyType()
insteadUseRouteInfo.getResponseBodyType()
instead
-
InterfaceDescriptionUse NettyClientCustomizer or NettyServerCustomizer instead.Use the
MessageBodyReader
API instead
-
FieldDescriptionNon-functional, replaced by
NettyThreadFactory.getDefaultEventLoopThreads()
.Unused now, please follow RFC 6266
-
MethodDescriptiondon'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.Please 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...)
insteadUYseRouteInfo.getRequestBodyType()
insteadUseRouteInfo.getResponseBodyType()
insteadUseWebSocketClient.create(URI)
instead
-
ConstructorDescriptionUse
FixedLoadBalancer(URI)
insteadReplaced byHttpConverterRegistrar(BeanProvider)
.No 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()
.