Interface HttpServerRequest
- All Superinterfaces:
HttpRequest,Request
This API is taken from OpenZipkin Brave.
Abstract request type used for parsing and sampling. Represents an HTTP Server request.
- Since:
- 3.0.0
- Author:
- OpenZipkin Brave Authors, Marcin Grzejszczak
-
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectgetAttribute(String key) default voidsetAttribute(String key, Object value) default Span.KindspanKind()Methods inherited from interface org.springframework.cloud.sleuth.http.HttpRequest
header, method, path, remoteIp, remotePort, route, urlMethods inherited from interface org.springframework.cloud.sleuth.http.Request
headerNames, unwrap
-
Method Details
-
spanKind
-
getAttribute
- Parameters:
key- attribute key- Returns:
- attribute with the given key or
nullif not set
-
setAttribute
- Parameters:
key- attribute keyvalue- attribute value
-