Enum InEnum

java.lang.Object
java.lang.Enum<InEnum>
io.github.belgif.rest.problem.api.InEnum
All Implemented Interfaces:
Serializable, Comparable<InEnum>

public enum InEnum extends Enum<InEnum>
Enumeration for invalid parameter locations.
  • Enum Constant Details

    • BODY

      public static final InEnum BODY
    • PATH

      public static final InEnum PATH
    • QUERY

      public static final InEnum QUERY
  • Method Details

    • values

      public static InEnum[] 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 InEnum 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<InEnum>
    • fromValue

      public static InEnum fromValue(String value)