Uses of Class
org.springframework.web.servlet.mvc.condition.RequestMethodsRequestCondition
Packages that use RequestMethodsRequestCondition
Package
Description
Common MVC logic for matching incoming requests based on conditions.
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method package.-
Uses of RequestMethodsRequestCondition in org.springframework.web.servlet.mvc.condition
Subclasses with type arguments of type RequestMethodsRequestCondition in org.springframework.web.servlet.mvc.conditionModifier and TypeClassDescriptionfinal classA logical disjunction (' || ') request condition that matches a request against a set ofRequestMethods.Methods in org.springframework.web.servlet.mvc.condition that return RequestMethodsRequestConditionModifier and TypeMethodDescriptionRequestMethodsRequestCondition.combine(RequestMethodsRequestCondition other) Returns a new instance with a union of the HTTP request methods from "this" and the "other" instance.RequestMethodsRequestCondition.getMatchingCondition(jakarta.servlet.http.HttpServletRequest request) Check if any of the HTTP request methods match the given request and return an instance that contains the matching HTTP request method only.Methods in org.springframework.web.servlet.mvc.condition with parameters of type RequestMethodsRequestConditionModifier and TypeMethodDescriptionRequestMethodsRequestCondition.combine(RequestMethodsRequestCondition other) Returns a new instance with a union of the HTTP request methods from "this" and the "other" instance.intRequestMethodsRequestCondition.compareTo(RequestMethodsRequestCondition other, jakarta.servlet.http.HttpServletRequest request) 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 -
Uses of RequestMethodsRequestCondition in org.springframework.web.servlet.mvc.method
Methods in org.springframework.web.servlet.mvc.method that return RequestMethodsRequestConditionModifier and TypeMethodDescriptionRequestMappingInfo.getMethodsCondition()Return the HTTP request methods of thisRequestMappingInfo; or instance with 0 request methods (nevernull).Constructors in org.springframework.web.servlet.mvc.method with parameters of type RequestMethodsRequestConditionModifierConstructorDescriptionRequestMappingInfo(@Nullable String name, @Nullable PatternsRequestCondition patterns, @Nullable RequestMethodsRequestCondition methods, @Nullable ParamsRequestCondition params, @Nullable HeadersRequestCondition headers, @Nullable ConsumesRequestCondition consumes, @Nullable ProducesRequestCondition produces, @Nullable VersionRequestCondition version, @Nullable RequestCondition<?> custom) Deprecated.RequestMappingInfo(@Nullable PatternsRequestCondition patterns, @Nullable RequestMethodsRequestCondition methods, @Nullable ParamsRequestCondition params, @Nullable HeadersRequestCondition headers, @Nullable ConsumesRequestCondition consumes, @Nullable ProducesRequestCondition produces, @Nullable VersionRequestCondition version, @Nullable RequestCondition<?> custom) Deprecated.in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).
RequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).