Skip to content

Commit a7f11eb

Browse files
committed
Merge branch '3.2.x' into 3.3.x
Closes gh-42893
2 parents 8556001 + dc32cb8 commit a7f11eb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/webservices/client/HttpWebServiceMessageSenderBuilder.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -48,7 +48,7 @@ public class HttpWebServiceMessageSenderBuilder {
4848
/**
4949
* Set the connection timeout.
5050
* @param connectTimeout the connection timeout
51-
* @return a new builder instance
51+
* @return the current builder instance
5252
*/
5353
public HttpWebServiceMessageSenderBuilder setConnectTimeout(Duration connectTimeout) {
5454
this.connectTimeout = connectTimeout;
@@ -58,7 +58,7 @@ public HttpWebServiceMessageSenderBuilder setConnectTimeout(Duration connectTime
5858
/**
5959
* Set the read timeout.
6060
* @param readTimeout the read timeout
61-
* @return a new builder instance
61+
* @return the current builder instance
6262
*/
6363
public HttpWebServiceMessageSenderBuilder setReadTimeout(Duration readTimeout) {
6464
this.readTimeout = readTimeout;
@@ -68,7 +68,7 @@ public HttpWebServiceMessageSenderBuilder setReadTimeout(Duration readTimeout) {
6868
/**
6969
* Set an {@link SslBundle} that will be used to configure a secure connection.
7070
* @param sslBundle the SSL bundle
71-
* @return a new builder instance
71+
* @return the current builder instance
7272
*/
7373
public HttpWebServiceMessageSenderBuilder sslBundle(SslBundle sslBundle) {
7474
this.sslBundle = sslBundle;
@@ -79,7 +79,7 @@ public HttpWebServiceMessageSenderBuilder sslBundle(SslBundle sslBundle) {
7979
* Set the {@code Supplier} of {@link ClientHttpRequestFactory} that should be called
8080
* to create the HTTP-based {@link WebServiceMessageSender}.
8181
* @param requestFactorySupplier the supplier for the request factory
82-
* @return a new builder instance
82+
* @return the current builder instance
8383
*/
8484
public HttpWebServiceMessageSenderBuilder requestFactory(
8585
Supplier<ClientHttpRequestFactory> requestFactorySupplier) {
@@ -93,7 +93,7 @@ public HttpWebServiceMessageSenderBuilder requestFactory(
9393
* {@link ClientHttpRequestFactory} that should be called to create the HTTP-based
9494
* {@link WebServiceMessageSender}.
9595
* @param requestFactoryFunction the function for the request factory
96-
* @return a new builder instance
96+
* @return the current builder instance
9797
* @since 3.0.0
9898
*/
9999
public HttpWebServiceMessageSenderBuilder requestFactory(

0 commit comments

Comments
 (0)