Baggage.
Baggage#builder()
| Modifier and Type | Method and Description |
|---|---|
| public Baggage | Returns: aBaggage with the same entries as this builder.Creates a |
| public BaggageBuilder | Returns: thisthe 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.Adds the key/value pair and metadata regardless of whether the key is present. |
| public default BaggageBuilder | |
| public BaggageBuilder |
| build | back to summary |
|---|---|
| public Baggage build() Creates a
| |
| put | back to summary |
|---|---|
| public BaggageBuilder put(String key, String value, BaggageEntryMetadata entryMetadata) Adds the key/value pair and metadata regardless of whether the key is present.
| |
| put | back to summary |
|---|---|
| public default BaggageBuilder put(String key, String value) Adds the key/value pair with empty metadata regardless of whether the key is present.
| |
| remove | back to summary |
|---|---|
| public BaggageBuilder remove(String key) Removes the key if it exists.
| |