Class RegexUtils

java.lang.Object
org.dspace.app.rest.utils.RegexUtils

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

    • REGEX_UUID

      public static final String REGEX_UUID
      Regular expression in the request mapping to accept UUID as identifier
      See Also:
    • 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:
    • REGEX_REQUESTMAPPING_IDENTIFIER_AS_URN_UUID

      public static final String REGEX_REQUESTMAPPING_IDENTIFIER_AS_URN_UUID
      Regular expression in the request mapping to accept LDN identifiers
      See Also:
    • 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:
    • 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:
    • 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: