public class RestfulConventionHandlerMethodResolver extends AbstractConventionHandlerMethodResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
RESTFUL_CONVENTION_VIEW_PATH |
| Constructor and Description |
|---|
RestfulConventionHandlerMethodResolver(Class<?> handlerType,
ConventionHelper conventionHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
doResolve(String uri,
Method method) |
protected String |
generateUriKey(javax.servlet.http.HttpServletRequest request,
String lookupPath) |
Method |
getHandlerMethod(javax.servlet.http.HttpServletRequest request)
如果请求uri有后缀,需要忽略
|
protected Method |
getHandlerMethod(String urlKey) |
getAllHandlerMethods, getAllResolvedUrls, getHandlerType, getPathMatcher, getUrlPathHelper, isPathMatchInternal, qualify, registerHandlerMethod, resolve, setQualifierpublic static final String RESTFUL_CONVENTION_VIEW_PATH
public RestfulConventionHandlerMethodResolver(Class<?> handlerType, ConventionHelper conventionHelper)
protected String generateUriKey(javax.servlet.http.HttpServletRequest request, String lookupPath)
generateUriKey in class AbstractConventionHandlerMethodResolverpublic Method getHandlerMethod(javax.servlet.http.HttpServletRequest request)
AbstractConventionHandlerMethodResolvergetHandlerMethod in interface CustomHandlerMethodResolvergetHandlerMethod in class AbstractConventionHandlerMethodResolverprotected Method getHandlerMethod(String urlKey)
getHandlerMethod in class AbstractConventionHandlerMethodResolverCopyright © 2006–2018 TinyGroup. All rights reserved.