public class TextMapAdapter extends TextMapExtractAdapter implements TextMap
map| Constructor and Description |
|---|
TextMapAdapter(Map<String,String> map) |
| Modifier and Type | Method and Description |
|---|---|
void |
put(String key,
String value)
Puts a key:value pair into the TextMapWriter's backing store.
|
iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititeratorforEach, spliteratorpublic void put(String key, String value)
TextMapInjectput in interface TextMapInjectkey - a String, possibly with constraints dictated by the particular Format this TextMap is paired withvalue - a String, possibly with constraints dictated by the particular Format this TextMap is paired withTracer.inject(io.opentracing.SpanContext, Format, Object),
Format.Builtin.TEXT_MAP,
Format.Builtin.HTTP_HEADERSCopyright © 2016–2019 OpenTracing. All rights reserved.