Interface WritableBaggage

All Superinterfaces:
Baggage

public interface WritableBaggage extends Baggage
Behavior of Baggage that can be updated.
  • Method Summary

    Modifier and Type
    Method
    Description
    set(String key, String value)
    Adds a new or overrides an existing setting for the specified key using the provided value.

    Methods inherited from interface io.helidon.tracing.Baggage

    containsKey, get, keys
  • Method Details

    • set

      WritableBaggage set(String key, String value)
      Adds a new or overrides an existing setting for the specified key using the provided value.
      Parameters:
      key - name of the entry to add or update
      value - value to assign to the entry
      Returns:
      the baggage instance (for chained invocation)