Class PropagatedHeaders.PrefixedPropagatedHeaders
java.lang.Object
io.helidon.lra.coordinator.client.PropagatedHeaders.PrefixedPropagatedHeaders
- All Implemented Interfaces:
PropagatedHeaders
- Enclosing interface:
PropagatedHeaders
public static final class PropagatedHeaders.PrefixedPropagatedHeaders
extends Object
implements PropagatedHeaders
Propagated headers which can scan for allowed headers with any of the preconfigured prefixes.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.lra.coordinator.client.PropagatedHeaders
PropagatedHeaders.NoopPropagatedHeaders, PropagatedHeaders.PrefixedPropagatedHeaders
-
Method Summary
-
Method Details
-
toMap
Description copied from interface:PropagatedHeaders
Get all headers as a map.- Specified by:
toMap
in interfacePropagatedHeaders
- Returns:
- map of headers
-
scan
Description copied from interface:PropagatedHeaders
Scan map of headers for any headers with allowed prefix. Any existing headers with same key is replaced.- Specified by:
scan
in interfacePropagatedHeaders
- Parameters:
headers
- map to be scanned
-
clear
public void clear()Description copied from interface:PropagatedHeaders
Clear all headers.- Specified by:
clear
in interfacePropagatedHeaders
-