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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.springframework.http.client.ClientHttpRequestInterceptorcreate(CurrentTraceContext currentTraceContext, HttpClientHandler httpClientHandler)org.springframework.http.client.ClientHttpResponseintercept(org.springframework.http.HttpRequest req, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution)
-
-
-
Method Detail
-
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:
interceptin interfaceorg.springframework.http.client.ClientHttpRequestInterceptor- Throws:
IOException
-
-