Class Header
java.lang.Object
io.temporal.common.interceptors.Header
Already serialized payload headers shared by interceptors and context propagators.
Entries supplied through getValues() should be wire-ready, including any codec
encoding. Tracing and context propagation may separately opt into SDK codec processing of their
own output. Encoding opt-in belongs to a key and payload instance: removing and reinserting that
same instance retains its opt-in. Use putAll(Map, boolean) with false to
explicitly clear it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Headerempty()Returns a private decoded view for an opted-in tracing or propagation consumer.voidUsed by opted-in header producers; ordinary interceptor entries remain wire-ready.booleanshouldEncode(String key) Returns whether this producer requested codec encoding for an entry.
-
Constructor Details
-
Header
public Header(@Nonnull io.temporal.api.common.v1.Header header) -
Header
-
Header
-
-
Method Details
-
empty
-
getValues
-
putAll
-
shouldEncode
Returns whether this producer requested codec encoding for an entry. -
getCodecDecodedValues
-