Package brave.propagation
Interface Propagation.RemoteGetter<R>
- Type Parameters:
R
- usuallyRequest
, such as an HTTP server request or message
- All Superinterfaces:
Propagation.Getter<R,String>
- Enclosing interface:
- Propagation<K>
public static interface Propagation.RemoteGetter<R> extends Propagation.Getter<R,String>
Used as an input to
Propagation.extractor(Getter)
extract the trace context and any baggage from propagated fields.- Since:
- 5.12
- See Also:
Propagation.RemoteSetter
-
Method Details
-
spanKind
Span.Kind spanKind()- Since:
- 5.12
- See Also:
Request.spanKind()
-
get
Gets the propagation field as a single value.Note: HTTP only permits multiple header fields with the same name when the format is a comma-separated list. An HTTP implementation of this method will assume presence of multiple values is valid and join them with a comma. See RFC 7230 for more.
- Specified by:
get
in interfacePropagation.Getter<R,String>
- Parameters:
request
- see {@link #} fieldName
- typically a header name- Returns:
- the value of the field or
null
- Since:
- 5.12
-