An untyped representation of a Context entry.
Encapsulates the type, name and empty value for a context entry.
Encapsulates the type, name and empty value for a context entry. All reads and writes from a context instance must be done using a context key, which will ensure the right type is used on both operations. The key's name is used when configuring mappings and incoming/outgoing/returning codecs for context propagation across channels.
If you try to read an entry from a context and such entry is not present, the empty value for the key is returned instead.
A Context that doesn't have any entries nor tags.
Creates a new Context.Key instance that can be used to insert and retrieve values from the context entries.
Creates a new Context.Key instance that can be used to insert and retrieve values from the context entries. Context keys must have a unique name since they will be looked up in transports by their name and the context entries are internally stored using their key name as index.
Creates a new Context instance with two entries and the provided tags.
Creates a new Context instance with two entries and no tags.
Creates a new Context instance with a single entry and the provided tags.
Creates a new Context instance with the provided key and no tags.
Creates a new Context instance with one tag.
Creates a new Context instance with one tag.
Creates a new Context instance with one tag.
Creates a new Context instance with the provided tags and no entries.