Interface Propagator.Getter<C>
-
- Type Parameters:
C- carrier of propagation fields, such as an http request.
- Enclosing interface:
- Propagator
public static interface Propagator.Getter<C>Interface that allows aTextMapPropagatorto read propagated fields from a carrier.Getteris stateless and allows to be saved as a constant to avoid runtime allocations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringget(C carrier, String key)Returns the first value of the given propagationkeyor returnsnull.
-