Interface HttpServerRequest

All Superinterfaces:
HttpRequest, Request

@Deprecated public interface HttpServerRequest 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 Server request.

Since:
1.10.0
  • Method Details

    • getAttribute

      default Object getAttribute(String key)
      Deprecated.
      Returns an HTTP attribute.
      Parameters:
      key - attribute key
      Returns:
      attribute with the given key or null if not set
    • setAttribute

      default void setAttribute(String key, Object value)
      Deprecated.
      Sets an HTTP attribute.
      Parameters:
      key - attribute key
      value - attribute 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