-
Terminally Deprecated ElementsElementDescriptionin favor of using
WebClientAdapter.forClient(WebClient)andHttpServiceProxyFactory.builder(HttpClientAdapter)in favor of usingWebClientAdapter.forClient(WebClient)andHttpServiceProxyFactory.builder(HttpClientAdapter)
-
Deprecated ClassesClassDescriptionas of Spring 5.1 in favor of using
HttpHeaders.setBasicAuth(String, String)while building the request.
-
Deprecated MethodsMethodDescriptionas of 6.0, see
PathPatternParser.setMatchOptionalTrailingSeparator(boolean)As of Spring Framework 5.2, in favor ofBodyInserters.fromValue(Object)in favor ofClientRequest.create(HttpMethod, URI)as of 5.3 in favor of the instance basedClientResponse.mutate().as of 6.0, in favor ofClientResponse.statusCode()as of Spring 5.1 in favor of usingHttpHeaders.setBasicAuth(String, String)while building the request.in favor of usingWebClientAdapter.forClient(WebClient)andHttpServiceProxyFactory.builder(HttpClientAdapter)in favor of usingWebClientAdapter.forClient(WebClient)andHttpServiceProxyFactory.builder(HttpClientAdapter)as of 5.1.13 in favor ofWebClient.Builder.codecs(Consumer)as of Spring Framework 5.2 in favor ofWebClient.RequestBodySpec.bodyValue(Object)in 5.3.2 to be removed soon after; this method cannot provide context to downstream (nested or subsequent) requests and is of limited value.since 5.3 due to the possibility to leak memory and/or connections; please, useWebClient.RequestHeadersSpec.exchangeToMono(Function),WebClient.RequestHeadersSpec.exchangeToFlux(Function); consider also usingWebClient.RequestHeadersSpec.retrieve()which provides access to the response status and headers viaResponseEntityalong with error status handling.as of 6.0, in favor ofWebClientResponseException.getStatusCode()as of 6.0, in favor ofServerRequest.method()as of 5.3, in favor onServerRequest.requestPath()as of Spring Framework 5.2 in favor ofServerResponse.BodyBuilder.bodyValue(Object)as of 6.0, in favor ofServerResponse.statusCode()as of 6.0, seePathPatternParser.setMatchOptionalTrailingSeparator(boolean)as of 5.3 in favor ofReactorNettyWebSocketClient.getWebsocketClientSpec()as of 5.3 in favor ofReactorNettyWebSocketClient.getWebsocketClientSpec()as of 5.3 in favor of providing a supplier ofWebsocketClientSpec.Builderwith a constructor argumentas of 5.3 in favor of providing a supplier ofWebsocketClientSpec.Builderwith a constructor argumentas of 5.3 in favor of comparing codes directlyas of 5.2.6 in favor ofReactorNettyRequestUpgradeStrategy.getWebsocketServerSpec()as of 5.2.6 in favor ofReactorNettyRequestUpgradeStrategy.getWebsocketServerSpec()as of 5.2.6 in favor of providing a supplier ofWebsocketServerSpec.Builderwith a constructor argumentas of 5.2.6 in favor of providing a supplier ofWebsocketServerSpec.Builderwith a constructor argument
-
Deprecated ConstructorsConstructorDescriptionas of 5.3.4 in favor using
RequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).since 5.3.4 in favor of using aRequestMappingInfo.BuilderviaRequestMappingInfo.mutate().as of 5.3.5 in favor ofHandshakeInfo(URI, HttpHeaders, MultiValueMap, Mono, String, InetSocketAddress, Map, String)
ClientResponse.statusCode()