public interface TextMap extends Iterable<Map.Entry<String,String>>
| 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.
|
forEach, spliteratorIterator<Map.Entry<String,String>> iterator()
iterator in interface Iterable<Map.Entry<String,String>>Tracer.extract(Format, Object),
Format.Builtin.TEXT_MAP,
Format.Builtin.HTTP_HEADERSvoid put(String key, String value)
key - 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–2017 OpenTracing. All rights reserved.