Class HttpTraceContext

  • All Implemented Interfaces:
    io.opentelemetry.context.propagation.TextMapPropagator

    @Immutable
    @Deprecated
    public final class HttpTraceContext
    extends java.lang.Object
    implements io.opentelemetry.context.propagation.TextMapPropagator
    Deprecated.
    Deprecated alias of an implementation of the W3C TraceContext propagation protocol. Use W3CTraceContextPropagator instead.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.opentelemetry.context.propagation.TextMapPropagator

        io.opentelemetry.context.propagation.TextMapPropagator.Getter<C extends java.lang.Object>, io.opentelemetry.context.propagation.TextMapPropagator.Setter<C extends java.lang.Object>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      <C> io.opentelemetry.context.Context extract​(io.opentelemetry.context.Context context, C carrier, io.opentelemetry.context.propagation.TextMapPropagator.Getter<C> getter)
      Deprecated.
       
      java.util.Collection<java.lang.String> fields()
      Deprecated.
       
      static HttpTraceContext getInstance()
      Deprecated.
      Returns a singleton instance of a TextMapPropagator implementing the W3C TraceContext propagation.
      <C> void inject​(io.opentelemetry.context.Context context, C carrier, io.opentelemetry.context.propagation.TextMapPropagator.Setter<C> setter)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • fields

        public java.util.Collection<java.lang.String> fields()
        Deprecated.
        Specified by:
        fields in interface io.opentelemetry.context.propagation.TextMapPropagator
      • inject

        public <C> void inject​(io.opentelemetry.context.Context context,
                               @Nullable
                               C carrier,
                               io.opentelemetry.context.propagation.TextMapPropagator.Setter<C> setter)
        Deprecated.
        Specified by:
        inject in interface io.opentelemetry.context.propagation.TextMapPropagator
      • extract

        public <C> io.opentelemetry.context.Context extract​(io.opentelemetry.context.Context context,
                                                            @Nullable
                                                            C carrier,
                                                            io.opentelemetry.context.propagation.TextMapPropagator.Getter<C> getter)
        Deprecated.
        Specified by:
        extract in interface io.opentelemetry.context.propagation.TextMapPropagator