Represents an immutable string-to-string key-value pair with metadata for OpenTelemetry baggage. Reuse for distributed tracing context propagation.
// Source: https://github.com/open-telemetry/opentelemetry-java | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.baggage;
import com.google.auto.value.AutoValue;
import javax.annotation.concurrent.Immutable;
/** String-String key-value pair, along with {@link ImmutableEntryMetadata}. */
@Immutable
@AutoValue
abstract class ImmutableEntry implements BaggageEntry {
ImmutableEntry() {}
/**
* Creates an {@code Entry} from the given key, value and metadata.
*
* @param value the entry value.
* @param entryMetadata the entry metadata.
* @return a {@code
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key