Class PathPattern
java.lang.Object
org.springframework.boot.security.autoconfigure.web.PathPattern
Utility class used to build a normalized pattern based on a user supplied path.
- Since:
- 4.0.9.1
- Author:
- Phillip Webb, Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionstatic PathPatterntoString()Return a string containing the path pattern without a trailing slash.Return a string containing the path pattern with a trailing slash.
-
Method Details
-
withTrailingSlash
Return a string containing the path pattern with a trailing slash.- Returns:
- the pattern string
-
withoutTrailingSlash
Return a string containing the path pattern without a trailing slash.- Returns:
- the pattern string
-
toString
-
of
-