Package | Description |
---|---|
org.springframework.web.servlet.mvc.method |
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method package. |
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
Modifier and Type | Method and Description |
---|---|
RequestMappingInfo |
RequestMappingInfo.combine(RequestMappingInfo other)
Combines "this" request mapping info (i.e.
|
RequestMappingInfo |
RequestMappingInfo.getMatchingCondition(javax.servlet.http.HttpServletRequest request)
Checks if all conditions in this request mapping info match the provided request and returns
a potentially new request mapping info with conditions tailored to the current request.
|
protected RequestMappingInfo |
RequestMappingInfoHandlerMapping.getMatchingMapping(RequestMappingInfo info,
javax.servlet.http.HttpServletRequest request)
Check if the given RequestMappingInfo matches the current request and
return a (potentially new) instance with conditions that match the
current request -- for example with a subset of URL patterns.
|
Modifier and Type | Method and Description |
---|---|
protected Comparator<RequestMappingInfo> |
RequestMappingInfoHandlerMapping.getMappingComparator(javax.servlet.http.HttpServletRequest request)
Provide a Comparator to sort RequestMappingInfos matched to a request.
|
Modifier and Type | Method and Description |
---|---|
RequestMappingInfo |
RequestMappingInfo.combine(RequestMappingInfo other)
Combines "this" request mapping info (i.e.
|
int |
RequestMappingInfo.compareTo(RequestMappingInfo other,
javax.servlet.http.HttpServletRequest request)
Compares "this" info (i.e.
|
protected Set<String> |
RequestMappingInfoHandlerMapping.getMappingPathPatterns(RequestMappingInfo info)
Get the URL path patterns associated with this
RequestMappingInfo . |
protected RequestMappingInfo |
RequestMappingInfoHandlerMapping.getMatchingMapping(RequestMappingInfo info,
javax.servlet.http.HttpServletRequest request)
Check if the given RequestMappingInfo matches the current request and
return a (potentially new) instance with conditions that match the
current request -- for example with a subset of URL patterns.
|
protected void |
RequestMappingInfoHandlerMapping.handleMatch(RequestMappingInfo info,
String lookupPath,
javax.servlet.http.HttpServletRequest request)
Expose URI template variables, matrix variables, and producible media types in the request.
|
Modifier and Type | Method and Description |
---|---|
protected HandlerMethod |
RequestMappingInfoHandlerMapping.handleNoMatch(Set<RequestMappingInfo> requestMappingInfos,
String lookupPath,
javax.servlet.http.HttpServletRequest request)
Iterate all RequestMappingInfos once again, look if any match by URL at
least and raise exceptions accordingly.
|
Constructor and Description |
---|
RequestMappingInfo(RequestMappingInfo info,
RequestCondition<?> customRequestCondition)
Re-create a RequestMappingInfo with the given custom request condition.
|
Modifier and Type | Method and Description |
---|---|
protected RequestMappingInfo |
RequestMappingHandlerMapping.createRequestMappingInfo(RequestMapping annotation,
RequestCondition<?> customCondition)
Created a RequestMappingInfo from a RequestMapping annotation.
|
protected RequestMappingInfo |
RequestMappingHandlerMapping.getMappingForMethod(Method method,
Class<?> handlerType)
Uses method and type-level @
RequestMapping annotations to create
the RequestMappingInfo. |
Copyright © 2015. All rights reserved.