Interface Request

All Known Subinterfaces:
HttpClientRequest, HttpRequest, HttpServerRequest

public interface Request
This API is taken from OpenZipkin Brave. Abstract request type used for parsing and sampling.
Since:
3.0.0
Author:
OpenZipkin Brave Authors, Marcin Grzejszczak
  • Method Details

    • headerNames

      Collection<String> headerNames()
      Returns:
      list of header names.
    • spanKind

      Span.Kind spanKind()
      Returns:
      The remote Span.Kind describing the direction and type of the request.
    • unwrap

      Object unwrap()
      Returns:
      the underlying request object or null if there is none.