| 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 |
|---|---|
ParamsRequestCondition |
ParamsRequestCondition.combine(ParamsRequestCondition other)
Returns a new instance with the union of the param expressions
from "this" and the "other" instance.
|
ParamsRequestCondition |
ParamsRequestCondition.getMatchingCondition(ServerWebExchange exchange)
Returns "this" instance if the request matches all param expressions;
or
null otherwise. |
| Modifier and Type | Method and Description |
|---|---|
ParamsRequestCondition |
ParamsRequestCondition.combine(ParamsRequestCondition other)
Returns a new instance with the union of the param expressions
from "this" and the "other" instance.
|
int |
ParamsRequestCondition.compareTo(ParamsRequestCondition other,
ServerWebExchange exchange)
Returns:
0 if the two conditions have the same number of parameter expressions
Less than 0 if "this" instance has more parameter expressions
Greater than 0 if the "other" instance has more parameter expressions
|
| Modifier and Type | Method and Description |
|---|---|
ParamsRequestCondition |
RequestMappingInfo.getParamsCondition()
Returns the "parameters" condition of this
RequestMappingInfo;
or instance with 0 parameter 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) |