Package org.springframework.web.reactive.result.condition
@NullMarked
package org.springframework.web.reactive.result.condition
RequestCondition
and implementations for matching requests based on different criteria.-
ClassDescriptionAbstractRequestCondition<T extends AbstractRequestCondition<T>>A base class for
RequestCondition
types providing implementations ofAbstractRequestCondition.equals(Object)
,AbstractRequestCondition.hashCode()
, andAbstractRequestCondition.toString()
.Implements theRequestCondition
contract by delegating to multipleRequestCondition
types and using a logical conjunction (' && '
) to ensure all conditions match a given request.A logical disjunction (' || ') request condition to match a request's 'Content-Type' header to a list of media type expressions.A logical conjunction (' && '
) request condition that matches a request against a set of header expressions with syntax defined inRequestMapping.headers()
.A contract for media type expressions (for example, "text/plain", "!text/plain") as defined in the@RequestMapping
annotation for "consumes" and "produces" conditions.A contract for"name!=value"
style expression used to specify request parameters and request header conditions in@RequestMapping
.A logical conjunction (' && '
) request condition that matches a request against a set parameter expressions with syntax defined inRequestMapping.params()
.A logical disjunction (' || ') request condition that matches a request against a set of URL path patterns.A logical disjunction (' || ') request condition to match a request's 'Accept' header to a list of media type expressions.Contract for request mapping conditions.A holder for aRequestCondition
useful when the type of the request condition is not known ahead of time, for example, custom condition.A logical disjunction (' || ') request condition that matches a request against a set ofRequestMethods
.