com.dynatrace.oneagent.sdk.api
Interface OutgoingTaggable

All Known Subinterfaces:
OutgoingMessageTracer, OutgoingRemoteCallTracer, OutgoingWebRequestTracer

public interface OutgoingTaggable

Common interface for client-tagging-related methods. Not to be directly used by SDK user.


Method Summary
 byte[] getDynatraceByteTag()
          Same as getDynatraceStringTag(), but returning the tag as binary representation.
 java.lang.String getDynatraceStringTag()
          Creates a Dynatrace tag and returns the String representation of it.
 

Method Detail

getDynatraceStringTag

java.lang.String getDynatraceStringTag()
Creates a Dynatrace tag and returns the String representation of it. This tag has to be transported with the remoting protocol to the destination.
See IncomingTaggable how to continue a path with provided tag on the server side.

Returns:
the tag - never null.
Since:
1.0

getDynatraceByteTag

byte[] getDynatraceByteTag()
Same as getDynatraceStringTag(), but returning the tag as binary representation.

Returns:
the tag - never null.
Since:
1.0