Uses of Class
org.springframework.web.servlet.mvc.condition.PatternsRequestCondition
Packages that use PatternsRequestCondition Package Description org.springframework.web.servlet.mvc.condition Common MVC logic for matching incoming requests based on conditions.org.springframework.web.servlet.mvc.method Servlet-based infrastructure for handler method processing, building on theorg.springframework.web.method
package.Uses of PatternsRequestCondition in org.springframework.web.servlet.mvc.condition
Methods in org.springframework.web.servlet.mvc.condition that return PatternsRequestCondition Modifier and Type Method Description PatternsRequestCondition
PatternsRequestCondition. combine(PatternsRequestCondition other)
Returns a new instance with URL patterns from the current instance ("this") and the "other" instance as follows: If there are patterns in both instances, combine the patterns in "this" with the patterns in "other" usingPathMatcher.combine(String, String)
.PatternsRequestCondition
PatternsRequestCondition. getMatchingCondition(HttpServletRequest request)
Checks if any of the patterns match the given request and returns an instance that is guaranteed to contain matching patterns, sorted viaPathMatcher.getPatternComparator(String)
.Methods in org.springframework.web.servlet.mvc.condition with parameters of type PatternsRequestCondition Modifier and Type Method Description PatternsRequestCondition
PatternsRequestCondition. combine(PatternsRequestCondition other)
Returns a new instance with URL patterns from the current instance ("this") and the "other" instance as follows: If there are patterns in both instances, combine the patterns in "this" with the patterns in "other" usingPathMatcher.combine(String, String)
.int
PatternsRequestCondition. compareTo(PatternsRequestCondition other, HttpServletRequest request)
Compare the two conditions based on the URL patterns they contain.Uses of PatternsRequestCondition in org.springframework.web.servlet.mvc.method
Methods in org.springframework.web.servlet.mvc.method that return PatternsRequestCondition Modifier and Type Method Description PatternsRequestCondition
RequestMappingInfo. getPatternsCondition()
Return the URL patterns of thisRequestMappingInfo
; or instance with 0 patterns (nevernull
).Constructors in org.springframework.web.servlet.mvc.method with parameters of type PatternsRequestCondition Constructor Description RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom)
RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom)
Creates a new instance with the given request conditions.