Package io.micrometer.tracing.http
Interface Response
- All Known Subinterfaces:
HttpClientResponse
,HttpResponse
,HttpServerResponse
public interface Response
This API is taken from OpenZipkin Brave.
Abstract response type used for parsing and sampling.
- Since:
- 1.10.0
-
Method Details
-
headerNames
Collection<String> headerNames()Returns the header names.- Returns:
- collection of header names
-
request
Returns the HTTP request.- Returns:
- corresponding request
-
error
Returns the exception.- Returns:
- exception that occurred or
null
if there was none.
-
unwrap
Object unwrap()Returns the underlying response object.- Returns:
- the underlying response object or
null
if there is none.
-
kind
io.micrometer.observation.transport.Kind kind()Returns the transport kind.- Returns:
- the remote kind describing the direction and type of the response
-