Enum Class XdsType

java.lang.Object
java.lang.Enum<XdsType>
com.linecorp.armeria.xds.XdsType
All Implemented Interfaces:
Serializable, Comparable<XdsType>, java.lang.constant.Constable

@UnstableApi public enum XdsType extends Enum<XdsType>
A representation of the supported xDS types.
  • Enum Constant Details

    • LISTENER

      public static final XdsType LISTENER
    • ROUTE

      public static final XdsType ROUTE
    • CLUSTER

      public static final XdsType CLUSTER
    • ENDPOINT

      public static final XdsType ENDPOINT
  • Method Details

    • values

      public static XdsType[] 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 XdsType 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
    • typeUrl

      public String typeUrl()
      Returns the url of the xDS type.