public class XCloudTraceIdExtractor extends Object implements TraceIdExtractor
| Modifier and Type | Field and Description |
|---|---|
static String |
X_CLOUD_TRACE_HEADER
The name of the header that contains the trace id.
|
| Constructor and Description |
|---|
XCloudTraceIdExtractor() |
| Modifier and Type | Method and Description |
|---|---|
String |
extractTraceIdFromRequest(javax.servlet.http.HttpServletRequest req)
Extract trace ID from the HTTP request.
|
public static final String X_CLOUD_TRACE_HEADER
public String extractTraceIdFromRequest(javax.servlet.http.HttpServletRequest req)
TraceIdExtractorextractTraceIdFromRequest in interface TraceIdExtractorreq - the HTTP servlet request.Copyright © 2020 Pivotal Software, Inc.. All rights reserved.