Skip to content

Commit f103966

Browse files
committed
Polish
See gh-20994
1 parent f701d97 commit f103966

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/elasticsearch/RestClientBuilderCustomizer.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,27 @@ public interface RestClientBuilderCustomizer {
3434

3535
/**
3636
* Customize the {@link RestClientBuilder}.
37+
* <p>
38+
* Possibly overrides customizations made with the {@code "spring.elasticsearch.rest"}
39+
* configuration properties namespace. For more targeted changes, see
40+
* {@link #customize(HttpAsyncClientBuilder)} and
41+
* {@link #customize(RequestConfig.Builder)}.
3742
* @param builder the builder to customize
3843
*/
3944
void customize(RestClientBuilder builder);
4045

4146
/**
4247
* Customize the {@link HttpAsyncClientBuilder}.
4348
* @param builder the builder
49+
* @since 2.3.0
4450
*/
4551
default void customize(HttpAsyncClientBuilder builder) {
4652
}
4753

4854
/**
4955
* Customize the {@link RequestConfig.Builder}.
5056
* @param builder the builder
57+
* @since 2.3.0
5158
*/
5259
default void customize(RequestConfig.Builder builder) {
5360
}

0 commit comments

Comments
 (0)