Class TracingAsyncClientHttpRequestInterceptor

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

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.springframework.http.client.AsyncClientHttpRequestInterceptor create​(brave.http.HttpTracing httpTracing)  
      static org.springframework.http.client.AsyncClientHttpRequestInterceptor create​(brave.Tracing tracing)  
      org.springframework.util.concurrent.ListenableFuture<org.springframework.http.client.ClientHttpResponse> intercept​(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.AsyncClientHttpRequestExecution 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.AsyncClientHttpRequestInterceptor create​(brave.Tracing tracing)
      • create

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

        public org.springframework.util.concurrent.ListenableFuture<org.springframework.http.client.ClientHttpResponse> intercept​(org.springframework.http.HttpRequest request,
                                                                                                                                  byte[] body,
                                                                                                                                  org.springframework.http.client.AsyncClientHttpRequestExecution execution)
                                                                                                                           throws java.io.IOException
        Specified by:
        intercept in interface org.springframework.http.client.AsyncClientHttpRequestInterceptor
        Throws:
        java.io.IOException