Package io.micrometer.tracing.http
Interface Request
- All Known Subinterfaces:
HttpClientRequest
,HttpRequest
,HttpServerRequest
public interface Request
This API is taken from OpenZipkin Brave.
Abstract request 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
-
kind
io.micrometer.observation.transport.Kind kind()Returns the transport kind.- Returns:
- the remote kind describing the direction and type of the request
-
unwrap
Object unwrap()Returns the underlying request object.- Returns:
- the underlying request object or
null
if there is none
-