Interface HttpResponseParser


public interface HttpResponseParser
This API is taken from OpenZipkin Brave.

Use this to control the response data recorded.

Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    parse(HttpResponse response, TraceContext context, SpanCustomizer span)
    Implement to choose what data from the http response are parsed into the span representing it.
  • Method Details

    • parse

      void parse(HttpResponse response, TraceContext context, SpanCustomizer span)
      Implement to choose what data from the http response are parsed into the span representing it.
      Parameters:
      response - current response
      context - corresponding trace context
      span - customizer for the current span