public class PredefinedPropagationFields extends PropagationFields
| Modifier | Constructor | Description |
|---|---|---|
protected |
PredefinedPropagationFields(PredefinedPropagationFields parent,
String... fieldNames) |
|
protected |
PredefinedPropagationFields(String... fieldNames) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
get(int index) |
|
String |
get(String name) |
Returns the value of the field with the specified key or null if not available
|
void |
put(int index,
String value) |
|
void |
put(String name,
String value) |
Replaces the value of the field with the specified key, ignoring if not a permitted field
|
protected void |
putAllIfAbsent(PropagationFields parent) |
for each field in the input replace the value if the key doesn't already exist
|
Map<String,String> |
toMap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfind, get, put, toStringprotected PredefinedPropagationFields(String... fieldNames)
protected PredefinedPropagationFields(PredefinedPropagationFields parent, String... fieldNames)
public String get(String name)
PropagationFieldsget in class PropagationFieldspublic String get(int index)
public final void put(String name, String value)
PropagationFieldsput in class PropagationFieldspublic final void put(int index,
String value)
protected final void putAllIfAbsent(PropagationFields parent)
PropagationFieldspublic final Map<String,String> toMap()
toMap in class PropagationFieldsCopyright © 2018 OpenZipkin. All rights reserved.