Class PropagatedHeaders.NoopPropagatedHeaders
java.lang.Object
io.helidon.lra.coordinator.client.PropagatedHeaders.NoopPropagatedHeaders
- All Implemented Interfaces:
PropagatedHeaders
- Enclosing interface:
PropagatedHeaders
public static final class PropagatedHeaders.NoopPropagatedHeaders
extends Object
implements PropagatedHeaders
Noop headers, always returns same instance of empty map.
-
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
-