Enum Class EslHeaders.Name

java.lang.Object
java.lang.Enum<EslHeaders.Name>
com.bytedesk.call.esl.client.transport.message.EslHeaders.Name
All Implemented Interfaces:
Serializable, Comparable<EslHeaders.Name>, Constable
Enclosing class:
EslHeaders

public static enum EslHeaders.Name extends Enum<EslHeaders.Name>
Standard ESL header names.

Note this enum will need to be kept in synch with any new headers introduced on the server side.

  • Enum Constant Details

  • Field Details

    • literal

      private final String literal
  • Constructor Details

    • Name

      private Name(String literal)
  • Method Details

    • values

      public static EslHeaders.Name[] 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 EslHeaders.Name 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
    • literal

      public String literal()
    • fromLiteral

      public static EslHeaders.Name fromLiteral(String literal)