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.TextMapPropagatorDeprecated.Deprecated alias of an implementation of the W3C TraceContext propagation protocol. UseW3CTraceContextPropagatorinstead.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <C> io.opentelemetry.context.Contextextract(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 HttpTraceContextgetInstance()Deprecated.Returns a singleton instance of aTextMapPropagatorimplementing the W3C TraceContext propagation.<C> voidinject(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 aTextMapPropagatorimplementing the W3C TraceContext propagation. Deprecated: useW3CTraceContextPropagator.getInstance()instead.
-
fields
public java.util.Collection<java.lang.String> fields()
Deprecated.- Specified by:
fieldsin 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:
injectin 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:
extractin interfaceio.opentelemetry.context.propagation.TextMapPropagator
-
-