Skip to content

Commit

Permalink
Merge pull request spring-projects#36614 from rob-valor
Browse files Browse the repository at this point in the history
* spring-projectsgh-36614:
  Correct RestTemplateBuilder#defaultHeader javadoc

Closes spring-projectsgh-36614
  • Loading branch information
wilkinsona committed Jul 28, 2023
2 parents c44e737 + 4bbfc5e commit 3f2c583
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
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;
Expand Down Expand Up @@ -396,7 +394,7 @@ this.errorHandler, new BasicAuthentication(username, password, charset), this.de

/**
* 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
Expand Down

0 comments on commit 3f2c583

Please sign in to comment.