Interface HttpClientRequest

  • All Superinterfaces:
    HttpRequest, Request

    public interface HttpClientRequest
    extends HttpRequest
    This API is taken from OpenZipkin Brave. Abstract request type used for parsing and sampling. Represents an HTTP Client request.
    Since:
    3.0.0
    Author:
    OpenZipkin Brave Authors, Marcin Grzejszczak
    • Method Detail

      • spanKind

        default Span.Kind spanKind()
        Specified by:
        spanKind in interface Request
        Returns:
        The remote Span.Kind describing the direction and type of the request.
      • header

        void header​(String name,
                    String value)
        Parameters:
        name - header name
        value - header value