Class HttpPropagationUtil


  • public class HttpPropagationUtil
    extends java.lang.Object
    Utility class to get all supported TextFormat.
    Since:
    0.11.0
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private HttpPropagationUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static TextFormat getCloudTraceFormat()
      Returns the Stack Driver format implementation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpPropagationUtil

        private HttpPropagationUtil()
    • Method Detail

      • getCloudTraceFormat

        public static TextFormat getCloudTraceFormat()
        Returns the Stack Driver format implementation. The header specification for this format is "X-Cloud-Trace-Context: <TRACE_ID>/<SPAN_ID>[;o=<TRACE_TRUE>]". See this page for more information.
        Returns:
        the Stack Driver format.
        Since:
        0.11.0