Package | Description |
---|---|
org.springframework.web.servlet.mvc.condition |
Common MVC logic for matching incoming requests based on conditions.
|
org.springframework.web.servlet.mvc.method |
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method package. |
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(HttpServletRequest request)
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,
HttpServletRequest request)
Compare to another condition based on parameter expressions.
|
Modifier and Type | Method and Description |
---|---|
ParamsRequestCondition |
RequestMappingInfo.getParamsCondition()
Return 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) |