public class VersionRepositoryRestRequestMappingHandlerMapping
extends org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
COLLECTION_LOOKUP_PATH_REGEX |
org.springframework.http.MediaType |
DEFAULT_MEDIA_TYPE |
static java.lang.String |
REQUEST_HANDLER_METHOD |
static java.lang.String |
REQUEST_REPOSITORY_BASE_PATH_NAME |
static java.lang.String |
REQUEST_REPOSITORY_RESOURCE_METADATA |
static java.lang.String |
REQUEST_REPOSITORY_SEARCH_NAME |
static java.util.Comparator<org.springframework.http.MediaType> |
VERSION_COMPARATOR
含版本的MediaType 比较器
|
| 构造器和说明 |
|---|
VersionRepositoryRestRequestMappingHandlerMapping(org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager,
RepositoryResourceMappings repositoryResourceMappings,
ProxyPathMapper proxyPathMapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
getBasePathName(java.lang.String lookupPath) |
protected java.util.Comparator<org.springframework.web.servlet.mvc.method.RequestMappingInfo> |
getMappingComparator(javax.servlet.http.HttpServletRequest request) |
protected org.springframework.web.method.HandlerMethod |
lookupHandlerMethod(java.lang.String lookupPath,
javax.servlet.http.HttpServletRequest request) |
afterPropertiesSet, createRequestMappingInfo, getContentNegotiationManager, getCustomMethodCondition, getCustomTypeCondition, getFileExtensions, getMappingForMethod, initCorsConfiguration, isHandler, resolveEmbeddedValuesInPatterns, setContentNegotiationManager, setEmbeddedValueResolver, setUseRegisteredSuffixPatternMatch, setUseSuffixPatternMatch, setUseTrailingSlashMatch, useRegisteredSuffixPatternMatch, useSuffixPatternMatch, useTrailingSlashMatchgetMappingPathPatterns, getMatchingMapping, handleMatch, handleNoMatchcreateHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerInternal, getHandlerMethods, getHandlerMethodsForMappingName, getNamingStrategy, handlerMethodsInitialized, initHandlerMethods, registerHandlerMethod, registerMapping, setDetectHandlerMethodsInAncestorContexts, setHandlerMethodMappingNamingStrategy, unregisterMappingadaptInterceptor, detectMappedInterceptors, extendInterceptors, getAdaptedInterceptors, getCorsConfigurations, getCorsHandlerExecutionChain, getCorsProcessor, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setCorsConfigurations, setCorsProcessor, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelpergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic static final java.lang.String REQUEST_HANDLER_METHOD
public static final java.lang.String REQUEST_REPOSITORY_BASE_PATH_NAME
public static final java.lang.String REQUEST_REPOSITORY_SEARCH_NAME
public static final java.lang.String REQUEST_REPOSITORY_RESOURCE_METADATA
public static final java.lang.String COLLECTION_LOOKUP_PATH_REGEX
public final org.springframework.http.MediaType DEFAULT_MEDIA_TYPE
public static final java.util.Comparator<org.springframework.http.MediaType> VERSION_COMPARATOR
public VersionRepositoryRestRequestMappingHandlerMapping(org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager,
RepositoryResourceMappings repositoryResourceMappings,
ProxyPathMapper proxyPathMapper)
protected org.springframework.web.method.HandlerMethod lookupHandlerMethod(java.lang.String lookupPath,
javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
lookupHandlerMethod 在类中 org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo>java.lang.Exceptionpublic static java.lang.String getBasePathName(java.lang.String lookupPath)
protected java.util.Comparator<org.springframework.web.servlet.mvc.method.RequestMappingInfo> getMappingComparator(javax.servlet.http.HttpServletRequest request)
getMappingComparator 在类中 org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping