Add notes on future deprecation of the RestTemplate

Issue: SPR-16993
This commit is contained in:
Rossen Stoyanchev
2018-07-27 08:32:59 -04:00
parent cca8968a44
commit 5f96d7c46c
5 changed files with 43 additions and 78 deletions

View File

@@ -43,14 +43,11 @@ import org.springframework.web.util.UriBuilder;
import org.springframework.web.util.UriBuilderFactory;
/**
* A non-blocking, reactive client for performing HTTP requests with Reactive
* Streams back pressure. Provides a higher level, common API over HTTP client
* libraries. Reactor Netty is used by default but other clients may be plugged
* in with a {@link ClientHttpConnector}.
* Non-blocking, reactive client to perform HTTP requests, exposing a fluent,
* reactive API over underlying HTTP client libraries such as Reactor Netty.
*
* <p>Use one of the static factory methods {@link #create()} or
* {@link #create(String)} or obtain a {@link WebClient#builder()} to create an
* instance.
* <p>Use static factory methods {@link #create()} or {@link #create(String)},
* or {@link WebClient#builder()} to prepare an instance.
*
* <p>For examples with a response body see
* {@link RequestHeadersSpec#retrieve() retrieve()} and