Class HttpTraceContext
- java.lang.Object
-
- io.opentelemetry.api.trace.propagation.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. UseW3CTraceContextPropagator
instead.
-
-
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 aTextMapPropagator
implementing the W3C TraceContext propagation.<C> void
inject(io.opentelemetry.context.Context context, C carrier, io.opentelemetry.context.propagation.TextMapPropagator.Setter<C> setter)
Deprecated.
-
-
-
Method Detail
-
getInstance
public static HttpTraceContext getInstance()
Deprecated.Returns a singleton instance of aTextMapPropagator
implementing the W3C TraceContext propagation. Deprecated: useW3CTraceContextPropagator.getInstance()
instead.
-
fields
public java.util.Collection<java.lang.String> fields()
Deprecated.- Specified by:
fields
in interfaceio.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 interfaceio.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 interfaceio.opentelemetry.context.propagation.TextMapPropagator
-
-