public class ConventionHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONVENTION_RESOURCE_NAME |
Constructor and Description |
---|
ConventionHelper() |
Modifier and Type | Method and Description |
---|---|
String[] |
determineUrl(Object handler) |
CustomHandlerMethodResolver |
getConventionHandlerMethodResolver(Class<?> handlerType) |
String |
getHandlerName(Class<?> handlerType) |
String |
getHandlerName(Object handler) |
String |
getHandlerStyle() |
org.springframework.util.PathMatcher |
getPathMatcher() |
org.springframework.web.util.UrlPathHelper |
getUrlPathHelper() |
boolean |
isConventional(String url) |
boolean |
isHandler(Object obj) |
protected CustomHandlerMethodResolver |
newCustomHandlerMethodResolver(Class<?> handlerType) |
void |
setConventionComponentIdentifier(ConventionComponentIdentifier conventionComponentIdentifier) |
void |
setPathMatcher(org.springframework.util.PathMatcher pathMatcher) |
void |
setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper) |
public static final String CONVENTION_RESOURCE_NAME
public void setConventionComponentIdentifier(ConventionComponentIdentifier conventionComponentIdentifier)
protected CustomHandlerMethodResolver newCustomHandlerMethodResolver(Class<?> handlerType)
public boolean isConventional(String url)
public org.springframework.util.PathMatcher getPathMatcher()
public void setPathMatcher(org.springframework.util.PathMatcher pathMatcher)
public org.springframework.web.util.UrlPathHelper getUrlPathHelper()
public void setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper)
public boolean isHandler(Object obj)
public CustomHandlerMethodResolver getConventionHandlerMethodResolver(Class<?> handlerType)
public String getHandlerStyle()
Copyright © 2006–2018 TinyGroup. All rights reserved.