MapPropagationFields, PredefinedPropagationFieldspublic abstract class PropagationFields extends Object
| Constructor | Description |
|---|---|
PropagationFields() |
| Modifier and Type | Method | Description |
|---|---|---|
static PropagationFields |
find(List<Object> extra) |
|
static String |
get(TraceContext context,
String name) |
Returns the value of the field with the specified key or null if not available
|
abstract String |
get(String name) |
Returns the value of the field with the specified key or null if not available
|
static void |
put(TraceContext context,
String name,
String value) |
Replaces the value of the field with the specified key, ignoring if not a permitted field
|
abstract void |
put(String name,
String value) |
Replaces the value of the field with the specified key, ignoring if not a permitted field
|
abstract Map<String,String> |
toMap() |
|
String |
toString() |
public abstract String get(String name)
public abstract void put(String name, String value)
public static String get(TraceContext context, String name)
public static void put(TraceContext context, String name, String value)
public static PropagationFields find(List<Object> extra)
Copyright © 2018 OpenZipkin. All rights reserved.