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.AntPathMatcher
Custom 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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.util.AntPathMatcher
org.springframework.util.AntPathMatcher.AntPathStringMatcher, org.springframework.util.AntPathMatcher.AntPatternComparator -
Field Summary
Fields inherited from class org.springframework.util.AntPathMatcher
DEFAULT_PATH_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.util.AntPathMatcher
combine, doMatch, extractUriTemplateVariables, getPatternComparator, getStringMatcher, isPattern, match, matchStart, setCachePatterns, setCaseSensitive, setPathSeparator, setTrimTokens, tokenizePath, tokenizePattern
-
Constructor Details
-
PathMatcher
public PathMatcher()
-
-
Method Details
-
extractPathWithinPattern
- Specified by:
extractPathWithinPatternin interfaceorg.springframework.util.PathMatcher- Overrides:
extractPathWithinPatternin classorg.springframework.util.AntPathMatcher
-