Enum Class Encoding

java.lang.Object
java.lang.Enum<Encoding>
org.springframework.cloud.fn.common.tcp.Encoding
All Implemented Interfaces:
Serializable, Comparable<Encoding>, Constable

public enum Encoding extends Enum<Encoding>
Author:
Gary Russell, Christian Tzolov
  • Enum Constant Details

    • CRLF

      public static final Encoding CRLF
      CRLF encoding.
    • LF

      public static final Encoding LF
      LF encoding.
    • NULL

      public static final Encoding NULL
      Null encoding.
    • STXETX

      public static final Encoding STXETX
      STXETX encoding.
    • RAW

      public static final Encoding RAW
      Raw encoding.
    • L1

      public static final Encoding L1
      L1 encoding.
    • L2

      public static final Encoding L2
      L2 encoding.
    • L4

      public static final Encoding L4
      L4 encoding.
  • Method Details

    • values

      public static Encoding[] 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 Encoding 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