Package org.dspace.app.rest.utils
Class RegexUtils
java.lang.Object
org.dspace.app.rest.utils.RegexUtils
Spring URI templates for matching various types of request parameters,
to use with
@RequestMapping.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRegular expression in the request mapping to accept number as identifierstatic final StringRegular expression to accept a string of 32 hexadecimal digits.static final StringRegular expression in the request mapping to accept a string as identifier but not the other kind of identifier (digits or uuid)static final StringRegular expression in the request mapping to accept LDN identifiersstatic final StringRegular expression in the request mapping to accept UUID as identifierstatic final StringRegular expression in the request mapping to accept UUID as identifier -
Method Summary
-
Field Details
-
REGEX_UUID
Regular expression in the request mapping to accept UUID as identifier- See Also:
-
REGEX_REQUESTMAPPING_IDENTIFIER_AS_UUID
Regular expression in the request mapping to accept UUID as identifier- See Also:
-
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
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
Regular expression in the request mapping to accept number as identifier- See Also:
-
REGEX_REQUESTMAPPING_IDENTIFIER_AS_HEX32
Regular expression to accept a string of 32 hexadecimal digits.- See Also:
-