Package io.micrometer.tracing.http
Interface HttpClientResponse
- All Superinterfaces:
HttpResponse
,Response
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 Summary
Modifier and TypeMethodDescriptiondefault Throwable
error()
Returns the exception.default io.micrometer.observation.transport.Kind
kind()
Returns the transport kind.default HttpClientRequest
request()
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
Description copied from interface:Response
Returns the HTTP request.- Specified by:
request
in interfaceHttpResponse
- Specified by:
request
in interfaceResponse
- Returns:
- corresponding request
-
error
Description copied from interface:Response
Returns the exception. -
kind
default io.micrometer.observation.transport.Kind kind()Description copied from interface:Response
Returns the transport kind.
-