Deprecated API
Contents
-
ElementDescriptionReplaced by
AbstractArgumentBinder
replaced withArgumentBinderRegistry.addArgumentBinder(ArgumentBinder)
replaced withArgumentBinderRegistry.findArgumentBinder(Argument)
use Stream#toListuse the constructor without useRepeatableDefaultsreplaced withClassElement.withTypeArguments(Collection)
for consistent API.
-
InterfaceDescriptionUse NettyClientCustomizer or NettyServerCustomizer instead.
-
ClassDescriptionReplaced by
AbstractArgumentBinder
Use GraalVM's own public API underorg.graalvm
or conditional metadata in JSON format insteadAll filters are executed once per request starting in Micronaut 3.0. Directly implementHttpServerFilter
instead of extending this class and replace any usages of `micronaut.once` attributes with a custom attribute name.
-
MethodDescriptionreplaced with
ArgumentBinderRegistry.addArgumentBinder(ArgumentBinder)
replaced withArgumentBinderRegistry.findArgumentBinder(Argument)
use Stream#toListThere 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)
insteadImplement custom keys for request attributes based on the need of the filter.Use NettyClientCustomizer or NettyServerCustomizer instead.Use NettyClientCustomizer or NettyServerCustomizer instead.Use NettyClientCustomizer or NettyServerCustomizer instead.This 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...)
insteadUseWebSocketClient.create(URI)
instead
-
ConstructorDescriptionUse
FixedLoadBalancer(URI)
insteadNo longer needs to be instantiated directly, just use the static methodsNo longer needs to be instantiated directly, just use the static methodsuse the constructor without useRepeatableDefaults
-
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()
.
InterceptedMethod.of(MethodInvocationContext, ConversionService)