| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static BaggageBuilder | builder()
Hides io. Creates a new |
| pack-priv static Baggage | |
| public BaggageEntry | getEntry(String
entry key to return the entryKey)BaggageEntry for, or null if no Entry with the given entryKey is in this Baggage.Overrides default io. Returns the |
| public String | getEntryValue(String
entry key to return the value for. entryKey)Implements io. Returns the |
| private static Baggage | |
| public BaggageBuilder | toBuilder()
Implements io. Create a Builder pre-initialized with the contents of this Baggage. |
| EMPTY | back to summary |
|---|---|
| private static final Baggage EMPTY | |
| ImmutableBaggage | back to summary |
|---|---|
| private ImmutableBaggage(Object[] data) | |
| builder | back to summary |
|---|---|
| pack-priv static BaggageBuilder builder() Hides io. Doc from io. Creates a new | |
| empty | back to summary |
|---|---|
| pack-priv static Baggage empty() Hides io. Doc from io. Baggage with no entries. | |
| getEntry | back to summary |
|---|---|
| public BaggageEntry getEntry(String entryKey) Overrides default io. Doc from io. Returns the | |
| getEntryValue | back to summary |
|---|---|
| public String getEntryValue(String entryKey) Implements io. Doc from io. Returns the | |
| sortAndFilterToBaggage | back to summary |
|---|---|
| private static Baggage sortAndFilterToBaggage(Object[] data) | |
| toBuilder | back to summary |
|---|---|
| public BaggageBuilder toBuilder() Implements io. Doc from io. Create a Builder pre-initialized with the contents of this Baggage. The returned Builder will be set to not use an implicit parent, so any parent assignment must be done manually.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Baggage | build()
Implements io. Creates a |
| public BaggageBuilder | put(String
the key, String String key which will be set.the value, BaggageEntryMetadata String value to set for the given key.the entryMetadata)BaggageEntryMetadata metadata to set for the given key.Implements io. Adds the key/value pair and metadata regardless of whether the key is present. |
| public BaggageBuilder | remove(String
the key)String key which will be removed.Implements io. Removes the key if it exists. |
| data | back to summary |
|---|---|
| private final List<Object> data | |
| Builder | back to summary |
|---|---|
| pack-priv Builder() | |
| Builder | back to summary |
|---|---|
| pack-priv Builder(List<Object> data) | |
| build | back to summary |
|---|---|
| public Baggage build() Implements io. Doc from io. Creates a | |
| put | back to summary |
|---|---|
| public BaggageBuilder put(String key, String value, BaggageEntryMetadata entryMetadata) Implements io. Doc from io. Adds the key/value pair and metadata regardless of whether the key is present.
| |
| remove | back to summary |
|---|---|
| public BaggageBuilder remove(String key) Implements io. Doc from io. Removes the key if it exists.
| |