Skip to content

Commit 9b40f3f

Browse files
committed
Merge pull request #49364 from chandanv89
* pr/49364: Polish contribution Fix typo and incorrect Javadoc references in HTTP client builders Closes gh-49364
2 parents 885aee4 + ef0a667 commit 9b40f3f

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/JettyHttpClientBuilder.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ private JettyHttpClientBuilder(Consumer<HttpClient> customizer,
6464
}
6565

6666
/**
67-
* Return a new {@link JettyClientHttpRequestFactoryBuilder} that applies additional
68-
* customization to the underlying {@link HttpClient}.
67+
* Return a new {@link JettyHttpClientBuilder} that applies additional customization
68+
* to the underlying {@link HttpClient}.
6969
* @param customizer the customizer to apply
70-
* @return a new {@link JettyClientHttpRequestFactoryBuilder} instance
70+
* @return a new {@link JettyHttpClientBuilder} instance
7171
*/
7272
public JettyHttpClientBuilder withCustomizer(Consumer<HttpClient> customizer) {
7373
Assert.notNull(customizer, "'customizer' must not be null");
@@ -76,10 +76,10 @@ public JettyHttpClientBuilder withCustomizer(Consumer<HttpClient> customizer) {
7676
}
7777

7878
/**
79-
* Return a new {@link JettyClientHttpRequestFactoryBuilder} that applies additional
80-
* customization to the underlying {@link HttpClientTransport}.
79+
* Return a new {@link JettyHttpClientBuilder} that applies additional customization
80+
* to the underlying {@link HttpClientTransport}.
8181
* @param httpClientTransportCustomizer the customizer to apply
82-
* @return a new {@link JettyClientHttpRequestFactoryBuilder} instance
82+
* @return a new {@link JettyHttpClientBuilder} instance
8383
*/
8484
public JettyHttpClientBuilder withHttpClientTransportCustomizer(
8585
Consumer<HttpClientTransport> httpClientTransportCustomizer) {
@@ -90,10 +90,10 @@ public JettyHttpClientBuilder withHttpClientTransportCustomizer(
9090
}
9191

9292
/**
93-
* Return a new {@link JettyClientHttpRequestFactoryBuilder} that applies additional
94-
* customization to the underlying {@link ClientConnector}.
93+
* Return a new {@link JettyHttpClientBuilder} that applies additional customization
94+
* to the underlying {@link ClientConnector}.
9595
* @param clientConnectorCustomizerCustomizer the customizer to apply
96-
* @return a new {@link JettyClientHttpRequestFactoryBuilder} instance
96+
* @return a new {@link JettyHttpClientBuilder} instance
9797
*/
9898
public JettyHttpClientBuilder withClientConnectorCustomizerCustomizer(
9999
Consumer<ClientConnector> clientConnectorCustomizerCustomizer) {

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/ReactorHttpClientBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import org.springframework.util.function.ThrowingConsumer;
3737

3838
/**
39-
* Builder that can be used to create a Rector Netty {@link HttpClient}.
39+
* Builder that can be used to create a Reactor Netty {@link HttpClient}.
4040
*
4141
* @author Phillip Webb
4242
* @author Andy Wilkinson

0 commit comments

Comments
 (0)