Browse Source

Update javadoc of TestRestTemplate after change to redirect behavior

Closes gh-47474
pull/47551/head
Andy Wilkinson 4 months ago
parent
commit
bb0fd0c778
  1. 2
      spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/client/TestRestTemplate.java

2
spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/client/TestRestTemplate.java

@ -80,7 +80,7 @@ import org.springframework.web.util.UriTemplateHandler; @@ -80,7 +80,7 @@ import org.springframework.web.util.UriTemplateHandler;
* <p>
* A {@code TestRestTemplate} can optionally carry Basic authentication headers. If Apache
* Http Client 4.3.2 or better is available (recommended) it will be used as the client,
* and by default configured to ignore cookies and redirects.
* and by default configured to ignore cookies.
* <p>
* Note: To prevent injection problems this class intentionally does not extend
* {@link RestTemplate}. If you need access to the underlying {@link RestTemplate} use

Loading…
Cancel
Save