Interface Request
-
- All Known Subinterfaces:
HttpClientRequest,HttpRequest,HttpServerRequest
public interface RequestThis API is taken from OpenZipkin Brave. Abstract request type used for parsing and sampling.- Since:
- 3.0.0
- Author:
- OpenZipkin Brave Authors, Marcin Grzejszczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<String>headerNames()Span.KindspanKind()Objectunwrap()
-
-
-
Method Detail
-
headerNames
Collection<String> headerNames()
- Returns:
- list of header names.
-
spanKind
Span.Kind spanKind()
- Returns:
- The remote
Span.Kinddescribing the direction and type of the request.
-
unwrap
Object unwrap()
- Returns:
- the underlying request object or
nullif there is none.
-
-