Class RegexUtils


  • public class RegexUtils
    extends Object
    Spring URI templates for matching various types of request parameters, to use with @RequestMapping.
    • Field Detail

      • REGEX_UUID

        public static final String REGEX_UUID
        Regular expression in the request mapping to accept UUID as identifier
        See Also:
        Constant Field Values
      • REGEX_REQUESTMAPPING_IDENTIFIER_AS_UUID

        public static final String REGEX_REQUESTMAPPING_IDENTIFIER_AS_UUID
        Regular expression in the request mapping to accept UUID as identifier
        See Also:
        Constant Field Values
      • REGEX_REQUESTMAPPING_IDENTIFIER_AS_STRING_VERSION_STRONG

        public static final String REGEX_REQUESTMAPPING_IDENTIFIER_AS_STRING_VERSION_STRONG
        Regular expression in the request mapping to accept a string as identifier but not the other kind of identifier (digits or uuid)
        See Also:
        Constant Field Values
      • REGEX_REQUESTMAPPING_IDENTIFIER_AS_DIGIT

        public static final String REGEX_REQUESTMAPPING_IDENTIFIER_AS_DIGIT
        Regular expression in the request mapping to accept number as identifier
        See Also:
        Constant Field Values
      • REGEX_REQUESTMAPPING_IDENTIFIER_AS_HEX32

        public static final String REGEX_REQUESTMAPPING_IDENTIFIER_AS_HEX32
        Regular expression to accept a string of 32 hexadecimal digits.
        See Also:
        Constant Field Values