public class LoadBalancerWebClientBuilderBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
BeanPostProcessor
that applies
DeferringLoadBalancerExchangeFilterFunction
filter to all
WebClient.Builder
instances annotated with LoadBalanced
.Constructor and Description |
---|
LoadBalancerWebClientBuilderBeanPostProcessor(DeferringLoadBalancerExchangeFilterFunction exchangeFilterFunction,
org.springframework.context.ApplicationContext context) |
Modifier and Type | Method and Description |
---|---|
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
public LoadBalancerWebClientBuilderBeanPostProcessor(DeferringLoadBalancerExchangeFilterFunction exchangeFilterFunction, org.springframework.context.ApplicationContext context)
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.