Module brave.http
Package brave.http

Class HttpClientParser


  • public class HttpClientParser
    extends HttpParser
    Parses the request and response into reasonable defaults for http client spans. Subclass to customize, for example, to add tags based on response headers.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <Req> void request​(HttpAdapter<Req,​?> adapter, Req req, SpanCustomizer customizer)
      Customizes the span based on the request that will be sent to the server.
      <Resp> void response​(HttpAdapter<?,​Resp> adapter, Resp res, java.lang.Throwable error, SpanCustomizer customizer)
      Customizes the span based on the response received from the server.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpClientParser

        public HttpClientParser()