类的使用
org.springframework.web.servlet.mvc.condition.ParamsRequestCondition
使用ParamsRequestCondition的程序包 程序包 说明 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.methodpackage.org.springframework.web.servlet.mvc.condition中ParamsRequestCondition的使用
返回ParamsRequestCondition的org.springframework.web.servlet.mvc.condition中的方法 修饰符和类型 方法 说明 ParamsRequestConditionParamsRequestCondition. combine(ParamsRequestCondition other)Returns a new instance with the union of the param expressions from "this" and the "other" instance.ParamsRequestConditionParamsRequestCondition. getMatchingCondition(HttpServletRequest request)Returns "this" instance if the request matches all param expressions; ornullotherwise.参数类型为ParamsRequestCondition的org.springframework.web.servlet.mvc.condition中的方法 修饰符和类型 方法 说明 ParamsRequestConditionParamsRequestCondition. combine(ParamsRequestCondition other)Returns a new instance with the union of the param expressions from "this" and the "other" instance.intParamsRequestCondition. compareTo(ParamsRequestCondition other, HttpServletRequest request)Compare to another condition based on parameter expressions.org.springframework.web.servlet.mvc.method中ParamsRequestCondition的使用
返回ParamsRequestCondition的org.springframework.web.servlet.mvc.method中的方法 修饰符和类型 方法 说明 ParamsRequestConditionRequestMappingInfo. getParamsCondition()Return the "parameters" condition of thisRequestMappingInfo; or instance with 0 parameter expressions (nevernull).参数类型为ParamsRequestCondition的org.springframework.web.servlet.mvc.method中的构造器 构造器 说明 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.