public interface TextMap
Modifier and Type | Method and Description |
---|---|
Iterator<Map.Entry<String,String>> |
getEntries()
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.
|
Iterator<Map.Entry<String,String>> getEntries()
Tracer.extract(Format, Object)
,
Format.Builtin.TEXT_MAP
,
Format.Builtin.HTTP_HEADERS
void 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_HEADERS
Copyright © 2016 OpenTracing. All rights reserved.