Class Path
java.lang.Object
org.springframework.data.rest.core.Path
Simple value object to build up (URI) paths. Allows easy concatenation of
Strings and will take care of
removal of whitespace and reducing slashes to single ones.- Author:
- Oliver Gierke
-
Constructor Details
-
Path
- Parameters:
path-
-
-
Method Details
-
matches
Returns whether the given reference String matches the currentPath.- Parameters:
reference-- Returns:
-
slash
- Parameters:
path-- Returns:
-
slash
-
hashCode
public int hashCode() -
toString
-
equals
-