Interface HttpClientRequest

All Superinterfaces:
HttpRequest, Request

@Deprecated public interface HttpClientRequest extends HttpRequest
Deprecated.
scheduled for removal in 1.4.0
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 Summary

    Modifier and Type
    Method
    Description
    void
    header(String name, String value)
    Deprecated.
    Adds a new header.
    default io.micrometer.observation.transport.Kind
    Deprecated.
    Returns the transport kind.

    Methods inherited from interface io.micrometer.tracing.http.HttpRequest

    header, method, path, remoteIp, remotePort, route, url

    Methods inherited from interface io.micrometer.tracing.http.Request

    headerNames, unwrap
  • Method Details

    • header

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

      default io.micrometer.observation.transport.Kind kind()
      Deprecated.
      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