mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge pull request #36614 from rob-valor
* gh-36614: Correct RestTemplateBuilder#defaultHeader javadoc Closes gh-36614
This commit is contained in:
commit
3f2c583bd7
@ -33,8 +33,6 @@ import java.util.Set;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
import reactor.netty.http.client.HttpClientRequest;
|
||||
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.http.client.AbstractClientHttpRequestFactoryWrapper;
|
||||
import org.springframework.http.client.ClientHttpRequest;
|
||||
@ -396,7 +394,7 @@ public class RestTemplateBuilder {
|
||||
|
||||
/**
|
||||
* Add a default header that will be set if not already present on the outgoing
|
||||
* {@link HttpClientRequest}.
|
||||
* {@link ClientHttpRequest}.
|
||||
* @param name the name of the header
|
||||
* @param values the header values
|
||||
* @return a new builder instance
|
||||
|
Loading…
Reference in New Issue
Block a user