public class ServerCorrelationHeaders
extends java.lang.Object
If you are using HttpRequestTracker
to report custom HTTP requests, you can use this class to correlate those requests with business transactions in a backend APM app.
To do so, call generate()
to retrieve a list of headers, and set those header values on each outgoing HTTP request. Then, when you receive your response from the backend, pass all response headers to HttpRequestTracker.withResponseHeaderFields(Map)
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
generate()
Generate HTTP headers that should be set on outgoing requests.
|