-
Terminally Deprecated ElementsElementDescriptionas of 6.1.2, in favor of
ClientRequestObservationContext(ClientRequest.Builder)in favor ofWebClientAdapter.create(WebClient)aligning with other adapter implementations; to be removed in 6.2.without a replacement; for internal invocation only, not used as of 6.0in favor of checking viaHandlerResult.getExceptionHandler()since 6.1, in favor ofFreeMarkerView.lookupTemplate(Locale), to be removed in 6.2
-
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 Spring 5.1 in favor of usingHttpHeaders.setBasicAuth(String, String)while building the request.in favor ofWebClientAdapter.create(WebClient)aligning with other adapter implementations; to be removed in 6.2.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)without a replacement; for internal invocation only, not used as of 6.0in favor of checking viaHandlerResult.getExceptionHandler()since 6.1, in favor ofFreeMarkerView.lookupTemplate(Locale), to be removed in 6.2as 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 6.1.2, in favor of
ClientRequestObservationContext(ClientRequest.Builder)as of 5.3.4 in favor usingRequestMappingInfo.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)
-
Deprecated Enum ConstantsEnum ConstantDescriptionin favor of
ClientHttpObservationDocumentation.LowCardinalityKeyNames.CLIENT_NAME; scheduled for removal in 6.2. This will be available both as a low and high cardinality key value.
ClientHttpObservationDocumentation.LowCardinalityKeyNames.CLIENT_NAME; scheduled for removal in 6.2. This will be available both as a low and high cardinality key value.