Class TraceableHttpClientRequest

  • All Implemented Interfaces:
    com.github.kristofa.brave.http.HttpClientRequest, com.github.kristofa.brave.http.HttpRequest

    public class TraceableHttpClientRequest
    extends java.lang.Object
    implements com.github.kristofa.brave.http.HttpClientRequest
    Adaptor class for client side request object tracing
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addHeader​(java.lang.String header, java.lang.String value)  
      java.lang.String getHttpMethod()  
      java.net.URI getUri()  
      • Methods inherited from class java.lang.Object

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

      • TraceableHttpClientRequest

        public TraceableHttpClientRequest​(feign.Request request)
    • Method Detail

      • addHeader

        public void addHeader​(java.lang.String header,
                              java.lang.String value)
        Specified by:
        addHeader in interface com.github.kristofa.brave.http.HttpClientRequest
      • getUri

        public java.net.URI getUri()
        Specified by:
        getUri in interface com.github.kristofa.brave.http.HttpRequest
      • getHttpMethod

        public java.lang.String getHttpMethod()
        Specified by:
        getHttpMethod in interface com.github.kristofa.brave.http.HttpRequest