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
A
BeanPostProcessor that applies
DeferringLoadBalancerExchangeFilterFunction filter to all
WebClient.Builder instances annotated with LoadBalanced.- Since:
- 2.2.0
- Author:
- Olga Maciaszek-Sharma
-
Constructor Summary
ConstructorsConstructorDescriptionLoadBalancerWebClientBuilderBeanPostProcessor(org.springframework.beans.factory.ObjectProvider<DeferringLoadBalancerExchangeFilterFunction> exchangeFilterFunction, org.springframework.context.ApplicationContext context) LoadBalancerWebClientBuilderBeanPostProcessor(DeferringLoadBalancerExchangeFilterFunction exchangeFilterFunction, org.springframework.context.ApplicationContext context) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessAfterInitialization
-
Constructor Details
-
LoadBalancerWebClientBuilderBeanPostProcessor
@Deprecated(forRemoval=true) public LoadBalancerWebClientBuilderBeanPostProcessor(DeferringLoadBalancerExchangeFilterFunction exchangeFilterFunction, org.springframework.context.ApplicationContext context) Deprecated, for removal: This API element is subject to removal in a future version. -
LoadBalancerWebClientBuilderBeanPostProcessor
public LoadBalancerWebClientBuilderBeanPostProcessor(org.springframework.beans.factory.ObjectProvider<DeferringLoadBalancerExchangeFilterFunction> exchangeFilterFunction, org.springframework.context.ApplicationContext context)
-
-
Method Details
-
postProcessBeforeInitialization
-
LoadBalancerWebClientBuilderBeanPostProcessor(ObjectProvider, ApplicationContext)