Generated by
JDiff

Class org.springframework.web.servlet.mvc.condition.PatternsRequestCondition

Documentation changed from old to new.

Added Constructors
PatternsRequestCondition(String[], UrlPathHelper, PathMatcher, boolean, boolean, List<String>) Creates a new instance with the given URL patterns.
 

Changed Constructors
PatternsRequestCondition(String[]) Documentation changed from old to new.
Creates a new instance with the given URL patterns.
PatternsRequestCondition(String[], UrlPathHelper, PathMatcher, boolean, boolean) Documentation changed from old to new.
Additional constructor with flags for using suffix pattern (.*) and trailing slash matches.
 

Changed Methods
PatternsRequestCondition combine(PatternsRequestCondition) Documentation changed from old to new.
Returns a new instance with URL patterns from the current instance ("this") and the "other" instance as follows:
int compareTo(PatternsRequestCondition, HttpServletRequest) Documentation changed from old to new.
Compare the two conditions based on the URL patterns they contain.
PatternsRequestCondition getMatchingCondition(HttpServletRequest) Documentation changed from old to new.
Checks if any of the patterns match the given request and returns an instance that is guaranteed to contain matching patterns, sorted via PathMatcher.getPatternComparator(String).