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 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:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException