Class TracingAsyncClientHttpRequestInterceptor

java.lang.Object
brave.spring.web.TracingAsyncClientHttpRequestInterceptor
All Implemented Interfaces:
org.springframework.http.client.AsyncClientHttpRequestInterceptor

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

    Modifier and Type Method Description
    static org.springframework.http.client.AsyncClientHttpRequestInterceptor create​(HttpTracing httpTracing)  
    static org.springframework.http.client.AsyncClientHttpRequestInterceptor create​(Tracing tracing)  
    org.springframework.util.concurrent.ListenableFuture<org.springframework.http.client.ClientHttpResponse> intercept​(org.springframework.http.HttpRequest req, 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 Details

    • create

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

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

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