Class TracingAsyncClientHttpRequestInterceptor

java.lang.Object
org.springframework.cloud.sleuth.instrument.web.mvc.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(CurrentTraceContext currentTraceContext, HttpClientHandler httpClientHandler)
     
    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(CurrentTraceContext currentTraceContext, HttpClientHandler httpClientHandler)
    • 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