Enum Class RouteDoc.In

java.lang.Object
java.lang.Enum<RouteDoc.In>
com.jsgalactic.axiom.routing.RouteDoc.In
All Implemented Interfaces:
Serializable, Comparable<RouteDoc.In>, Constable
Enclosing class:
RouteDoc

public static enum RouteDoc.In extends Enum<RouteDoc.In>
Where a parameter is read from.
  • Enum Constant Details

    • PATH

      public static final RouteDoc.In PATH
      A captured path segment, always required.
    • QUERY

      public static final RouteDoc.In QUERY
      A query string parameter.
  • Method Details

    • values

      public static RouteDoc.In[] 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 RouteDoc.In 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