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 |
---|---|
RequestMethodsRequestCondition |
RequestMethodsRequestCondition.combine(RequestMethodsRequestCondition other)
Returns a new instance with a union of the HTTP request methods
from "this" and the "other" instance.
|
RequestMethodsRequestCondition |
RequestMethodsRequestCondition.getMatchingCondition(javax.servlet.http.HttpServletRequest request)
Checks if any of the HTTP request methods match the given request and returns
an instance that contains the matching request method only.
|
Modifier and Type | Method and Description |
---|---|
RequestMethodsRequestCondition |
RequestMethodsRequestCondition.combine(RequestMethodsRequestCondition other)
Returns a new instance with a union of the HTTP request methods
from "this" and the "other" instance.
|
int |
RequestMethodsRequestCondition.compareTo(RequestMethodsRequestCondition other,
javax.servlet.http.HttpServletRequest request)
Returns:
0 if the two conditions contain the same number of HTTP request methods.
|
Modifier and Type | Method and Description |
---|---|
RequestMethodsRequestCondition |
RequestMappingInfo.getMethodsCondition()
Returns the HTTP request methods of this
RequestMappingInfo ;
or instance with 0 request methods, 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.
|
Copyright © 2014. All rights reserved.