Package brave.propagation
Interface Propagation.RemoteSetter<R>
- Type Parameters:
R- usuallyRequest, such as an HTTP server request or message
- All Superinterfaces:
Propagation.Setter<R,String>
- Enclosing interface:
- Propagation<K>
public static interface Propagation.RemoteSetter<R> extends Propagation.Setter<R,String>
Used as an input to
Propagation.injector(Setter) inject the trace context and any baggage as propagated fields.- Since:
- 5.12
- See Also:
Propagation.RemoteGetter
-
Method Details
-
spanKind
Span.Kind spanKind()- Since:
- 5.12
- See Also:
Request.spanKind()
-
put
Replaces a propagation field with the given value.Note: Implementations attempt to overwrite all values. This means that when the caller is encoding multi-value (comma-separated list) HTTP header, they MUST join all values on comma into a single string.
- Specified by:
putin interfacePropagation.Setter<R,String>- Parameters:
request- see {@link #} fieldName- typically a header namevalue- non-nullvalue to replace any values with- Since:
- 5.12
- See Also:
Propagation.RemoteGetter
-