Class TracingClientHttpRequestInterceptor

java.lang.Object
org.springframework.cloud.sleuth.instrument.web.mvc.TracingClientHttpRequestInterceptor
All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor

public final class TracingClientHttpRequestInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
  • Method Details

    • create

      public static org.springframework.http.client.ClientHttpRequestInterceptor create(CurrentTraceContext currentTraceContext, HttpClientHandler httpClientHandler)
    • intercept

      public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest req, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) throws IOException
      Specified by:
      intercept in interface org.springframework.http.client.ClientHttpRequestInterceptor
      Throws:
      IOException