public interface TextMapExtract extends Iterable<Map.Entry<String,String>>
TextMapExtract
is a built-in carrier for Tracer.extract(io.opentracing.propagation.Format<C>, C)
only.
TextMapExtract
implementations allows Tracers to write key:value String
pairs to arbitrary underlying sources of data.Tracer.extract(Format, Object)
Modifier and Type | Method and Description |
---|---|
Iterator<Map.Entry<String,String>> |
iterator()
Gets an iterator over arbitrary key:value pairs from the TextMapReader.
|
forEach, spliterator
Iterator<Map.Entry<String,String>> iterator()
iterator
in interface Iterable<Map.Entry<String,String>>
Tracer.extract(Format, Object)
,
Format.Builtin.TEXT_MAP
,
Format.Builtin.HTTP_HEADERS
Copyright © 2016–2019 OpenTracing. All rights reserved.