Class HttpClientBeanPostProcessor
java.lang.Object
org.springframework.cloud.sleuth.instrument.web.client.HttpClientBeanPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
public class HttpClientBeanPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor
A
BeanPostProcessor that wraps a HttpClient in a trace representation.- Since:
- 3.0.0
- Author:
- Marcin Grzejszczak
-
Constructor Summary
ConstructorsConstructorDescriptionHttpClientBeanPostProcessor(org.springframework.context.ConfigurableApplicationContext springContext) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessBeforeInitialization
-
Constructor Details
-
HttpClientBeanPostProcessor
public HttpClientBeanPostProcessor(org.springframework.context.ConfigurableApplicationContext springContext)
-
-
Method Details
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-