public class TraceRestTemplateSpanDecorator extends Object implements io.opentracing.contrib.spring.web.client.RestTemplateSpanDecorator
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
COMPONENT_NAME |
| 构造器和说明 |
|---|
TraceRestTemplateSpanDecorator() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onError(org.springframework.http.HttpRequest httpRequest,
Throwable ex,
io.opentracing.Span span) |
void |
onRequest(org.springframework.http.HttpRequest request,
io.opentracing.Span span) |
void |
onResponse(org.springframework.http.HttpRequest httpRequest,
org.springframework.http.client.ClientHttpResponse response,
io.opentracing.Span span) |
public void onRequest(org.springframework.http.HttpRequest request,
io.opentracing.Span span)
onRequest 在接口中 io.opentracing.contrib.spring.web.client.RestTemplateSpanDecoratorpublic void onResponse(org.springframework.http.HttpRequest httpRequest,
org.springframework.http.client.ClientHttpResponse response,
io.opentracing.Span span)
onResponse 在接口中 io.opentracing.contrib.spring.web.client.RestTemplateSpanDecoratorpublic void onError(org.springframework.http.HttpRequest httpRequest,
Throwable ex,
io.opentracing.Span span)
onError 在接口中 io.opentracing.contrib.spring.web.client.RestTemplateSpanDecoratorCopyright © 2021. All rights reserved.