Browse Source

Updates javadoc to mention WebClient.

fixes gh-645
pull/705/head
Spencer Gibb 5 years ago
parent
commit
773888fcad
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 3
      spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalanced.java

3
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; 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 * @author Spencer Gibb
*/ */
@Target({ ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD }) @Target({ ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD })

Loading…
Cancel
Save