| Constructor and Description |
|---|
TextMapInjectAdapter(Map<String,String> map) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Map.Entry<String,String>> |
iterator()
Gets an iterator over arbitrary key:value pairs from the TextMapReader.
|
void |
put(String key,
String value)
Puts a key:value pair into the TextMapWriter's backing store.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Iterator<Map.Entry<String,String>> iterator()
TextMapiterator in interface TextMapiterator in interface Iterable<Map.Entry<String,String>>Tracer.extract(Format, Object),
Format.Builtin.TEXT_MAP,
Format.Builtin.HTTP_HEADERSpublic void put(String key, String value)
TextMapput in interface TextMapkey - 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 OpenTracing. All rights reserved.