Class UriUtils
java.lang.Object
org.springframework.data.rest.webmvc.util.UriUtils
Utility methods to work with requests and URIs.
- Author:
- Oliver Gierke, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringfindMappingVariable(String variable, Method method, String lookupPath) Returns the value for the mapping variable with the given name.getPathSegments(Method method) Returns the mapping path segments request mapping.
-
Method Details
-
findMappingVariable
Returns the value for the mapping variable with the given name.- Parameters:
variable- must not be null or empty.method- must not be null.lookupPath-- Returns:
-
getPathSegments
Returns the mapping path segments request mapping.- Parameters:
method- must not be null.- Returns:
-