From 773888fcadcc019a7c07870408fdf9370134f264 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Tue, 3 Mar 2020 16:04:07 -0500 Subject: [PATCH] Updates javadoc to mention WebClient. fixes gh-645 --- .../cloud/client/loadbalancer/LoadBalanced.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalanced.java b/spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalanced.java index 151a15d7..10c997c3 100644 --- a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalanced.java +++ b/spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalanced.java @@ -26,7 +26,8 @@ import java.lang.annotation.Target; import org.springframework.beans.factory.annotation.Qualifier; /** - * Annotation to mark a RestTemplate bean to be configured to use a LoadBalancerClient. + * Annotation to mark a RestTemplate or WebClient bean to be configured to use a + * LoadBalancerClient. * @author Spencer Gibb */ @Target({ ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD })