public class WebRequestTracerURLConnection extends WebRequestTracerBaseImpl
WebRequestTracerBaseImpl which can be used for tracing and timing of a web request provided as a URLConnection.| Constructor and Description |
|---|
WebRequestTracerURLConnection(Logger logger,
OpenKitComposite parent,
Beacon beacon,
java.net.URLConnection connection)
Creates web request tag with a URLConnection
|
close, getBytesReceived, getBytesSent, getEndSequenceNo, getEndTime, getResponseCode, getStartSequenceNo, getStartTime, getTag, getURL, setBytesReceived, setBytesSent, setResponseCode, start, stop, stop, toStringpublic WebRequestTracerURLConnection(Logger logger, OpenKitComposite parent, Beacon beacon, java.net.URLConnection connection)
The required Dynatrace tag is applied automatically, if not done yet.
logger - The logger used to log informationparent - The parent object, to which this web request tracer belongs tobeacon - Beacon for data sending and tag creationconnection - The URL connection to trace