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 |
---|---|
PatternsRequestCondition |
PatternsRequestCondition.combine(PatternsRequestCondition other)
Returns a new instance with URL patterns from the current instance ("this") and
the "other" instance as follows:
If there are patterns in both instances, combine the patterns in "this" with
the patterns in "other" using
PathPattern.combine(PathPattern) . |
PatternsRequestCondition |
PatternsRequestCondition.getMatchingCondition(ServerWebExchange exchange)
Checks if any of the patterns match the given request and returns an instance
that is guaranteed to contain matching patterns, sorted.
|
Modifier and Type | Method and Description |
---|---|
PatternsRequestCondition |
PatternsRequestCondition.combine(PatternsRequestCondition other)
Returns a new instance with URL patterns from the current instance ("this") and
the "other" instance as follows:
If there are patterns in both instances, combine the patterns in "this" with
the patterns in "other" using
PathPattern.combine(PathPattern) . |
int |
PatternsRequestCondition.compareTo(PatternsRequestCondition other,
ServerWebExchange exchange)
Compare the two conditions based on the URL patterns they contain.
|
Modifier and Type | Method and Description |
---|---|
PatternsRequestCondition |
RequestMappingInfo.getPatternsCondition()
Returns the URL patterns of this
RequestMappingInfo ;
or instance with 0 patterns, never null . |
Constructor and Description |
---|
RequestMappingInfo(PatternsRequestCondition patterns,
RequestMethodsRequestCondition methods,
ParamsRequestCondition params,
HeadersRequestCondition headers,
ConsumesRequestCondition consumes,
ProducesRequestCondition produces,
RequestCondition<?> custom)
Deprecated.
as of 5.3.4 in favor using
RequestMappingInfo.Builder via RequestMappingInfo.paths(String...) . |
RequestMappingInfo(String name,
PatternsRequestCondition patterns,
RequestMethodsRequestCondition methods,
ParamsRequestCondition params,
HeadersRequestCondition headers,
ConsumesRequestCondition consumes,
ProducesRequestCondition produces,
RequestCondition<?> custom)
Deprecated.
as of 5.3.4 in favor using
RequestMappingInfo.Builder via RequestMappingInfo.paths(String...) . |