All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lightstep.tracer.shared.HttpHeadersPropagator Maven / Gradle / Ivy

There is a newer version: 0.32.0
Show newest version
package com.lightstep.tracer.shared;

import io.opentracing.propagation.TextMap;

/**
 * TODO: HTTP_HEADERS presently blindly delegates to TextMapPropagator; adopt BasicTracer's HTTP
 * carrier encoding once it's been defined.
 */
class HttpHeadersPropagator implements Propagator {
    public  void inject(SpanContext spanContext, C carrier) {
        TEXT_MAP.inject(spanContext, carrier);
    }

    public  SpanContext extract(C carrier) {
        return TEXT_MAP.extract(carrier);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy