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

com.github.kristofa.brave.NoAnnotationsClientResponseAdapter Maven / Gradle / Ivy

There is a newer version: 4.13.6
Show newest version
package com.github.kristofa.brave;

import java.util.Collection;
import java.util.Collections;

/**
 * @deprecated Replaced by {@code HttpClientParser} from brave-http or {@code brave.SpanCustomizer}
 * if not http.
 */
@Deprecated
public class NoAnnotationsClientResponseAdapter implements ClientResponseAdapter {

    private final static ClientResponseAdapter INSTANCE = new NoAnnotationsClientResponseAdapter();

    private final static Collection EMPTY = Collections.emptyList();

    private NoAnnotationsClientResponseAdapter() { }


    public static ClientResponseAdapter getInstance() {
        return INSTANCE;
    }

    @Override
    public Collection responseAnnotations() {
        return EMPTY;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy