Interface HttpServerResponse

All Superinterfaces:
HttpResponse, Response

@Deprecated public interface HttpServerResponse extends HttpResponse
Deprecated.
scheduled for removal in 1.4.0
This API is taken from OpenZipkin Brave.

Abstract response type used for parsing and sampling. Represents an HTTP Server response.

Since:
1.10.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default Throwable
    Deprecated.
    Returns the exception.
    default io.micrometer.observation.transport.Kind
    Deprecated.
    Returns the transport kind.
    Deprecated.
    Returns the HTTP request.

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

    header, method, route, statusCode

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

    headerNames, unwrap
  • Method Details

    • request

      @Nullable default HttpServerRequest request()
      Deprecated.
      Description copied from interface: Response
      Returns the HTTP request.
      Specified by:
      request in interface HttpResponse
      Specified by:
      request in interface Response
      Returns:
      corresponding request
    • error

      default Throwable error()
      Deprecated.
      Description copied from interface: Response
      Returns the exception.
      Specified by:
      error in interface Response
      Returns:
      exception that occurred or null if there was none.
    • kind

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