Generated by
JDiff

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

Documentation changed from old to new.

Changed Constructors
RequestMethodsRequestCondition(RequestMethod[]) Documentation changed from old to new.
Create a new instance with the given request methods.
 

Changed Methods
RequestMethodsRequestCondition combine(RequestMethodsRequestCondition) Documentation changed from old to new.
Returns a new instance with a union of the HTTP request methods from "this" and the "other" instance.
int compareTo(RequestMethodsRequestCondition, HttpServletRequest) Documentation changed from old to new.
Returns:
  • 0 if the two conditions contain the same number of HTTP request methods
  • Less than 0 if "this" instance has an HTTP request method but "other" doesn't
  • Greater than 0 "other" has an HTTP request method but "this" doesn't
RequestMethodsRequestCondition getMatchingCondition(HttpServletRequest) Documentation changed from old to new.
Check if any of the HTTP request methods match the given request and return an instance that contains the matching HTTP request method only.