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, 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_HEADERSCopyright © 2016–2019 OpenTracing. All rights reserved.