Skip to content

Commit 3f2c583

Browse files
committed
Merge pull request #36614 from rob-valor
* gh-36614: Correct RestTemplateBuilder#defaultHeader javadoc Closes gh-36614
2 parents c44e737 + 4bbfc5e commit 3f2c583

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
import java.util.function.Consumer;
3434
import java.util.function.Supplier;
3535

36-
import reactor.netty.http.client.HttpClientRequest;
37-
3836
import org.springframework.beans.BeanUtils;
3937
import org.springframework.http.client.AbstractClientHttpRequestFactoryWrapper;
4038
import org.springframework.http.client.ClientHttpRequest;
@@ -396,7 +394,7 @@ this.errorHandler, new BasicAuthentication(username, password, charset), this.de
396394

397395
/**
398396
* Add a default header that will be set if not already present on the outgoing
399-
* {@link HttpClientRequest}.
397+
* {@link ClientHttpRequest}.
400398
* @param name the name of the header
401399
* @param values the header values
402400
* @return a new builder instance

0 commit comments

Comments
 (0)