Enum Class URITemplate.Type

java.lang.Object
java.lang.Enum<URITemplate.Type>
org.jboss.resteasy.reactive.server.mapping.URITemplate.Type
All Implemented Interfaces:
Serializable, Comparable<URITemplate.Type>, Constable
Enclosing class:
URITemplate

public static enum URITemplate.Type extends Enum<URITemplate.Type>
  • Enum Constant Details

    • LITERAL

      public static final URITemplate.Type LITERAL
      An actual literal
    • DEFAULT_REGEX

      public static final URITemplate.Type DEFAULT_REGEX
      The default regex, that matches any path segment up to a /
    • CUSTOM_REGEX

      public static final URITemplate.Type CUSTOM_REGEX
      A custom regex, that actually needs to be resolved via a Pattern. This may match additional segments.
  • Method Details

    • values

      public static URITemplate.Type[] 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 URITemplate.Type 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