程序包的使用
cn.taketoday.web.handler.condition
程序包
说明
Common MVC logic for matching incoming requests based on conditions.
Method handler
-
类说明Supports "name=value" style expressions as described in:
RequestMapping.params()andRequestMapping.headers().A base class forRequestConditiontypes providing implementations ofAbstractRequestCondition.equals(Object),AbstractRequestCondition.hashCode(), andAbstractRequestCondition.toString().Implements theRequestConditioncontract by delegating to multipleRequestConditiontypes 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().Parses and matches a single header expression to a request.A contract for media type expressions (e.g.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().Parses and matches a single param expression to a request.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 aRequestConditionuseful when the type of the request condition is not known ahead of time, e.g. custom condition.A logical disjunction (' || ') request condition that matches a request against a set ofHttpMethods. -
类说明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 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 aRequestConditionuseful when the type of the request condition is not known ahead of time, e.g. custom condition.A logical disjunction (' || ') request condition that matches a request against a set ofHttpMethods.