java.lang.Object
java.lang.Enum<Codec>
io.servicetalk.opentracing.zipkin.publisher.reporter.Codec
All Implemented Interfaces:
Serializable, Comparable<Codec>, Constable

public enum Codec extends Enum<Codec>
Zipkin data formats for reporting of Spans.
  • Enum Constant Details

    • JSON_V1

      public static final Codec JSON_V1
      Zipkin V1 JSON format.
    • JSON_V2

      public static final Codec JSON_V2
      Zipkin V2 JSON format.
    • THRIFT

      public static final Codec THRIFT
      Zipkin V2 THRIFT format.
    • PROTO3

      public static final Codec PROTO3
      Zipkin V2 protocol buffers V3 format.
  • Method Details

    • values

      public static Codec[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Codec valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null