Class TracingClientHttpRequestInterceptor

  • All Implemented Interfaces:
    org.springframework.http.client.ClientHttpRequestInterceptor

    public final class TracingClientHttpRequestInterceptor
    extends java.lang.Object
    implements org.springframework.http.client.ClientHttpRequestInterceptor
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.springframework.http.client.ClientHttpRequestInterceptor create​(brave.http.HttpTracing httpTracing)  
      static org.springframework.http.client.ClientHttpRequestInterceptor create​(brave.Tracing tracing)  
      org.springframework.http.client.ClientHttpResponse intercept​(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static org.springframework.http.client.ClientHttpRequestInterceptor create​(brave.Tracing tracing)
      • create

        public static org.springframework.http.client.ClientHttpRequestInterceptor create​(brave.http.HttpTracing httpTracing)
      • intercept

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