Package | Description |
---|---|
org.springframework.web.reactive.result.condition |
RequestCondition
and implementations for matching requests based on different criteria. |
org.springframework.web.reactive.result.method |
Infrastructure for handler method processing.
|
Modifier and Type | Method and Description |
---|---|
ProducesRequestCondition |
ProducesRequestCondition.combine(ProducesRequestCondition other)
Returns the "other" instance if it has any expressions; returns "this"
instance otherwise.
|
ProducesRequestCondition |
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 Type | Method and Description |
---|---|
ProducesRequestCondition |
ProducesRequestCondition.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 via
MediaType.sortByQualityValue(List) and iterate the list. |
Modifier and Type | Method and Description |
---|---|
ProducesRequestCondition |
RequestMappingInfo.getProducesCondition()
Returns the "produces" condition of this
RequestMappingInfo ;
or instance with 0 produces expressions, never null . |
Constructor and Description |
---|
RequestMappingInfo(PatternsRequestCondition patterns,
RequestMethodsRequestCondition methods,
ParamsRequestCondition params,
HeadersRequestCondition headers,
ConsumesRequestCondition consumes,
ProducesRequestCondition produces,
RequestCondition<?> custom)
Creates a new instance with the given request conditions.
|
RequestMappingInfo(String name,
PatternsRequestCondition patterns,
RequestMethodsRequestCondition methods,
ParamsRequestCondition params,
HeadersRequestCondition headers,
ConsumesRequestCondition consumes,
ProducesRequestCondition produces,
RequestCondition<?> custom) |