Skip to content

Commit 9b3dcb3

Browse files
committed
Make HttpServiceGroupAdapter implementations @Reflective.
Signed-off-by: Olga Maciaszek-Sharma <[email protected]>
1 parent b98ef13 commit 9b3dcb3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

spring-web/src/main/java/org/springframework/web/client/support/RestClientHttpServiceGroupAdapter.java

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.web.client.support;
1818

19+
import org.springframework.aot.hint.annotation.Reflective;
1920
import org.springframework.web.client.RestClient;
2021
import org.springframework.web.service.invoker.HttpExchangeAdapter;
2122
import org.springframework.web.service.registry.HttpServiceGroupAdapter;
@@ -28,6 +29,7 @@
2829
* @since 7.0
2930
*/
3031
@SuppressWarnings("unused")
32+
@Reflective
3133
public class RestClientHttpServiceGroupAdapter implements HttpServiceGroupAdapter<RestClient.Builder> {
3234

3335
@Override

spring-webflux/src/main/java/org/springframework/web/reactive/function/client/support/WebClientHttpServiceGroupAdapter.java

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.web.reactive.function.client.support;
1818

19+
import org.springframework.aot.hint.annotation.Reflective;
1920
import org.springframework.web.reactive.function.client.WebClient;
2021
import org.springframework.web.service.invoker.HttpExchangeAdapter;
2122
import org.springframework.web.service.registry.HttpServiceGroupAdapter;
@@ -28,6 +29,7 @@
2829
* @since 7.0
2930
*/
3031
@SuppressWarnings("unused")
32+
@Reflective
3133
public class WebClientHttpServiceGroupAdapter implements HttpServiceGroupAdapter<WebClient.Builder> {
3234

3335
@Override

0 commit comments

Comments
 (0)