Class LoadBalancerWebClientBuilderBeanPostProcessor
- java.lang.Object
-
- org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerWebClientBuilderBeanPostProcessor
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
public class LoadBalancerWebClientBuilderBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
ABeanPostProcessor
that appliesDeferringLoadBalancerExchangeFilterFunction
filter to allWebClient.Builder
instances annotated withLoadBalanced
.- Since:
- 2.2.0
- Author:
- Olga Maciaszek-Sharma
-
-
Constructor Summary
Constructors Constructor Description LoadBalancerWebClientBuilderBeanPostProcessor(DeferringLoadBalancerExchangeFilterFunction exchangeFilterFunction, org.springframework.context.ApplicationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
postProcessBeforeInitialization(Object bean, String beanName)
-
-
-
Constructor Detail
-
LoadBalancerWebClientBuilderBeanPostProcessor
public LoadBalancerWebClientBuilderBeanPostProcessor(DeferringLoadBalancerExchangeFilterFunction exchangeFilterFunction, org.springframework.context.ApplicationContext context)
-
-
Method Detail
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessBeforeInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
-