Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionReplaced with
MessageBodyHandlerRegistry.Replaced byHttpConverterRegistrar(BeanProvider).Not needed anymoreNot needed anymoreIn order to make future optimizations possible, standard attributes should be accessed through their static method accessors (such as those inBasicHttpAttributes) instead of directly throughAttributeHolder.Not used anymorePlease use the accessors in RouteAttributesPlease use accessors in ClientAttributes insteadUnusedUse accessors inHttpMessageinsteadNo replacement. Use your own attribute if necessaryPlease use the accessors in RouteAttributesPlease use the accessors in RouteAttributesUseHttpRequest.getCertificate()insteadPlease overrideSslBuilder.load(CertificateSpec)insteadReplaced with message body writers / readers API
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionReplaced with
MessageBodyHandlerRegistry.Replaced with message body writers / readers API
-
Deprecated Enum ClassesEnum ClassDescriptionIn order to make future optimizations possible, standard attributes should be accessed through their static method accessors (such as those in
BasicHttpAttributes) instead of directly throughAttributeHolder.
-
Deprecated FieldsFieldDescriptionPlease use
ServerRequestContext.currentRequest(ContextView)to look up the request in a reactor context.
-
Deprecated MethodsMethodDescriptionThis method is unnecessary for
AvailableByteBody, 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. UseAvailableByteBody.toReadBuffer()directly.This method is unnecessary forAvailableByteBody, it does nothing.Construct throughByteBodyFactoryinsteadPlease pass aByteBodyFactoryinstead (InputStreamByteBody.create(InputStream, OptionalLong, Executor, ByteBodyFactory))Not needed anymoreNot needed anymorePlease usemicronaut.server.ssl.portinstead (ServerSslConfiguration.setPort(int)).Please overrideSslBuilder.load(CertificateSpec)insteadPlease usemicronaut.server.ssl.build-self-signedinstead (SslConfiguration.buildSelfSigned()).Please usemicronaut.server.ssl.portinstead (ServerSslConfiguration.setPort(int)).
-
Deprecated Constructors
-
Deprecated Enum ConstantsEnum ConstantDescriptionNot used anymorePlease use the accessors in RouteAttributesPlease use accessors in ClientAttributes insteadUnusedUse accessors in
HttpMessageinsteadNo replacement. Use your own attribute if necessaryPlease use the accessors in RouteAttributesPlease use the accessors in RouteAttributesUseHttpRequest.getCertificate()instead