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:
1.10.0
  • Method Details

    • header

      void header(String name, String value)
      Adds a new header.
      Parameters:
      name - header name
      value - header value
    • kind

      default io.micrometer.observation.transport.Kind kind()
      Description copied from interface: Request
      Returns the transport kind.
      Specified by:
      kind in interface Request
      Returns:
      the remote kind describing the direction and type of the request