Uses of Class
org.springframework.web.reactive.result.condition.RequestMethodsRequestCondition
Package
Description
RequestCondition
and implementations for matching requests based on different criteria.Infrastructure for handler method processing.
-
Uses of RequestMethodsRequestCondition in org.springframework.web.reactive.result.condition
Modifier 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
(ServerWebExchange exchange) Check if any of the HTTP request methods match the given request and return an instance that contains the matching HTTP request method only.Modifier and TypeMethodDescriptionRequestMethodsRequestCondition.combine
(RequestMethodsRequestCondition other) Returns a new instance with a union of the HTTP request methods from "this" and the "other" instance.int
RequestMethodsRequestCondition.compareTo
(RequestMethodsRequestCondition other, ServerWebExchange exchange) 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.reactive.result.method
Modifier and TypeMethodDescriptionRequestMappingInfo.getMethodsCondition()
Returns the HTTP request methods of thisRequestMappingInfo
; or instance with 0 request methods, nevernull
.ModifierConstructorDescriptionRequestMappingInfo
(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.RequestMappingInfo
(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.Builder
viaRequestMappingInfo.paths(String...)
.
RequestMappingInfo.Builder
viaRequestMappingInfo.paths(String...)
.