com.github.kristofa.brave.ClientResponseAdapter Maven / Gradle / Ivy
package com.github.kristofa.brave;
import java.util.Collection;
/**
* @deprecated Replaced by {@code HttpClientParser} from brave-http or {@code brave.SpanCustomizer}
* if not http.
*/
@Deprecated
public interface ClientResponseAdapter {
/**
* Returns a collection of annotations that should be added to span
* based on response.
*
* Can be used to indicate errors when response was not successful.
*
* @return Collection of annotations.
*/
Collection responseAnnotations();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy