diff --git a/spring-web/src/main/java/org/springframework/web/client/support/RestClientHttpServiceGroupAdapter.java b/spring-web/src/main/java/org/springframework/web/client/support/RestClientHttpServiceGroupAdapter.java index a48497c56be5..16288b0898d5 100644 --- a/spring-web/src/main/java/org/springframework/web/client/support/RestClientHttpServiceGroupAdapter.java +++ b/spring-web/src/main/java/org/springframework/web/client/support/RestClientHttpServiceGroupAdapter.java @@ -16,6 +16,7 @@ package org.springframework.web.client.support; +import org.springframework.aot.hint.annotation.Reflective; import org.springframework.web.client.RestClient; import org.springframework.web.service.invoker.HttpExchangeAdapter; import org.springframework.web.service.registry.HttpServiceGroupAdapter; @@ -28,6 +29,7 @@ * @since 7.0 */ @SuppressWarnings("unused") +@Reflective public class RestClientHttpServiceGroupAdapter implements HttpServiceGroupAdapter { @Override diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/support/WebClientHttpServiceGroupAdapter.java b/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/support/WebClientHttpServiceGroupAdapter.java index f8dae4850c19..b54e6c3cd3f6 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/support/WebClientHttpServiceGroupAdapter.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/support/WebClientHttpServiceGroupAdapter.java @@ -16,6 +16,7 @@ package org.springframework.web.reactive.function.client.support; +import org.springframework.aot.hint.annotation.Reflective; import org.springframework.web.reactive.function.client.WebClient; import org.springframework.web.service.invoker.HttpExchangeAdapter; import org.springframework.web.service.registry.HttpServiceGroupAdapter; @@ -28,6 +29,7 @@ * @since 7.0 */ @SuppressWarnings("unused") +@Reflective public class WebClientHttpServiceGroupAdapter implements HttpServiceGroupAdapter { @Override