Uses of Class
org.springframework.web.reactive.result.condition.ConsumesRequestCondition
Packages that use ConsumesRequestCondition
Package
Description
RequestCondition
and implementations for matching requests based on different criteria.Infrastructure for handler method processing.
-
Uses of ConsumesRequestCondition in org.springframework.web.reactive.result.condition
Methods in org.springframework.web.reactive.result.condition that return ConsumesRequestConditionModifier and TypeMethodDescriptionConsumesRequestCondition.combine(ConsumesRequestCondition other) Returns the "other" instance if it has any expressions; returns "this" instance otherwise.ConsumesRequestCondition.getMatchingCondition(ServerWebExchange exchange) Checks if any of the contained media type expressions match the given request 'Content-Type' header and returns an instance that is guaranteed to contain matching expressions only.Methods in org.springframework.web.reactive.result.condition with parameters of type ConsumesRequestConditionModifier and TypeMethodDescriptionConsumesRequestCondition.combine(ConsumesRequestCondition other) Returns the "other" instance if it has any expressions; returns "this" instance otherwise.intConsumesRequestCondition.compareTo(ConsumesRequestCondition other, ServerWebExchange exchange) Returns: 0 if the two conditions have the same number of expressions Less than 0 if "this" has more or more specific media type expressions Greater than 0 if "other" has more or more specific media type expressions -
Uses of ConsumesRequestCondition in org.springframework.web.reactive.result.method
Methods in org.springframework.web.reactive.result.method that return ConsumesRequestConditionModifier and TypeMethodDescriptionRequestMappingInfo.getConsumesCondition()Returns the "consumes" condition of thisRequestMappingInfo; or instance with 0 consumes expressions, nevernull.Constructors in org.springframework.web.reactive.result.method with parameters of type ConsumesRequestConditionModifierConstructorDescriptionRequestMappingInfo(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.BuilderviaRequestMappingInfo.paths(String...).
RequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).