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, setQualifier
public 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 AbstractConventionHandlerMethodResolver
public Method getHandlerMethod(javax.servlet.http.HttpServletRequest request)
AbstractConventionHandlerMethodResolver
getHandlerMethod
in interface CustomHandlerMethodResolver
getHandlerMethod
in class AbstractConventionHandlerMethodResolver
protected Method getHandlerMethod(String urlKey)
getHandlerMethod
in class AbstractConventionHandlerMethodResolver
Copyright © 2006–2018 TinyGroup. All rights reserved.