Interface HttpClientResponse

All Superinterfaces:
HttpResponse, Response

public interface HttpClientResponse extends HttpResponse
This API is taken from OpenZipkin Brave.

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

Since:
1.10.0
  • Method Details

    • request

      @Nullable default HttpClientRequest request()
      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()
      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()
      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