Uses of Class
org.springframework.web.reactive.result.condition.ProducesRequestCondition
Package
Description
RequestCondition
and implementations for matching requests based on different criteria.Infrastructure for handler method processing.
-
Uses of ProducesRequestCondition in org.springframework.web.reactive.result.condition
Modifier and TypeMethodDescriptionProducesRequestCondition.combine
(ProducesRequestCondition other) Returns the "other" instance if it has any expressions; returns "this" instance otherwise.ProducesRequestCondition.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.Modifier and TypeMethodDescriptionProducesRequestCondition.combine
(ProducesRequestCondition other) Returns the "other" instance if it has any expressions; returns "this" instance otherwise.int
ProducesRequestCondition.compareTo
(ProducesRequestCondition other, ServerWebExchange exchange) Compares this and another "produces" condition as follows: Sort 'Accept' header media types by quality value viaMimeTypeUtils.sortBySpecificity(List)
and iterate the list. -
Uses of ProducesRequestCondition in org.springframework.web.reactive.result.method
Modifier and TypeMethodDescriptionRequestMappingInfo.getProducesCondition()
Returns the "produces" condition of thisRequestMappingInfo
; or instance with 0 produces expressions, 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...)
.