Enum Encoding.Type

java.lang.Object
java.lang.Enum<Encoding.Type>
org.springframework.boot.web.servlet.server.Encoding.Type
All Implemented Interfaces:
Serializable, Comparable<Encoding.Type>, Constable
Enclosing class:
Encoding

public static enum Encoding.Type extends Enum<Encoding.Type>
Type of HTTP message to consider for encoding configuration.
  • Enum Constant Details

    • REQUEST

      public static final Encoding.Type REQUEST
      HTTP request message.
    • RESPONSE

      public static final Encoding.Type RESPONSE
      HTTP response message.
  • Method Details

    • values

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

      public static Encoding.Type valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null