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

io.opentracing.contrib.httpcomponents.SpanHttp Maven / Gradle / Ivy

package io.opentracing.contrib.httpcomponents;

import org.apache.http.impl.client.HttpClientBuilder;

public final class SpanHttp {

    private SpanHttp() {
    }

    public static HttpClientBuilder trace() {
        return new SpanHttpClientBuilder()
            .addTaggerFactory(StandardHttpTagger.FACTORY)
            .addTaggerFactory(ContentHttpTagger.FACTORY);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy