Class PathMatcher
- java.lang.Object
-
- org.springframework.util.AntPathMatcher
-
- org.springframework.extensions.webscripts.PathMatcher
-
- All Implemented Interfaces:
org.springframework.util.PathMatcher
public class PathMatcher extends org.springframework.util.AntPathMatcherCustom Spring MVC PathMatcher class - extends the AntPathMatcher to fix undesirable features with URI path tokenization. The AntPathMatcher breaks the path down into tokens and then performs a trim() on each. But it is perfectly legal to expect a decoded path such as "/abc/ something /foldername".- Author:
- Kevin Roast
-
-
Constructor Summary
Constructors Constructor Description PathMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringextractPathWithinPattern(java.lang.String pattern, java.lang.String path)
-
-
-
Method Detail
-
extractPathWithinPattern
public java.lang.String extractPathWithinPattern(java.lang.String pattern, java.lang.String path)- Specified by:
extractPathWithinPatternin interfaceorg.springframework.util.PathMatcher- Overrides:
extractPathWithinPatternin classorg.springframework.util.AntPathMatcher
-
-