Generated by
JDiff

org.springframework.web.servlet.mvc.condition Documentation Differences

This file contains all the changes in documentation in the package org.springframework.web.servlet.mvc.condition as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class RequestMethodsRequestCondition

A logical disjunction (' || ') request condition that matches a request request against a set of RequestMethods. @author Arjen Poutsma @author Rossen Stoyanchev @since 3.1
Class RequestMethodsRequestCondition, constructor RequestMethodsRequestCondition(RequestMethod[])

Create a new instance with the given request methods. @param requestMethods 0 or more HTTP request methods; if, 0 the condition will match to every request.
Class RequestMethodsRequestCondition, RequestMethodsRequestCondition combine(RequestMethodsRequestCondition)

Returns a new instance with a union of the HTTP request methodsmethods from "this" and the "other" instance.
Class RequestMethodsRequestCondition, int compareTo(RequestMethodsRequestCondition, HttpServletRequest)

Returns:

It is assumed that both instances have been obtained via via .getMatchingCondition(HttpServletRequest) and therefore each instance instance contains the matching HTTP request method only or is otherwise empty.

Class RequestMethodsRequestCondition, RequestMethodsRequestCondition getMatchingCondition(HttpServletRequest)

ChecksCheck if any of the HTTP request methods match the given request andand returns return an instance that contains the matching HTTP request method only. @param request the current request @return the same instance if the condition contains no request method; is orempty, a new condition withwith the matchingmatched request method; , or or {@code null} if no request methods match.