com.github.kristofa.brave.NoAnnotationsClientResponseAdapter Maven / Gradle / Ivy
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