public class ApiVersionRequestMappingHandlerMapping
extends org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
| 构造器和说明 |
|---|
ApiVersionRequestMappingHandlerMapping() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.springframework.web.servlet.mvc.condition.RequestCondition<ApiVersionCondition> |
getCustomMethodCondition(Method method) |
protected org.springframework.web.servlet.mvc.condition.RequestCondition<ApiVersionCondition> |
getCustomTypeCondition(Class<?> handlerType) |
void |
setMinimumVersion(int minimumVersion) |
void |
setParsePackageVersion(boolean parsePackageVersion) |
void |
setVersionFlag(String versionFlag) |
void |
setVersionPrefix(String versionPrefix) |
afterPropertiesSet, createRequestMappingInfo, getContentNegotiationManager, getFileExtensions, getHandlerInternal, getMappingForMethod, getPathPrefixes, initCorsConfiguration, isHandler, match, registerHandlerMethod, registerMapping, resolveEmbeddedValuesInPatterns, setContentNegotiationManager, setEmbeddedValueResolver, setPathPrefixes, setUseRegisteredSuffixPatternMatch, setUseSuffixPatternMatch, setUseTrailingSlashMatch, useRegisteredSuffixPatternMatch, useSuffixPatternMatch, useTrailingSlashMatchgetMappingComparator, getMappingPathPatterns, getMatchingMapping, handleMatch, handleNoMatchcreateHandlerMethod, detectHandlerMethods, getCandidateBeanNames, getCorsConfiguration, getHandlerMethods, getHandlerMethodsForMappingName, getNamingStrategy, handlerMethodsInitialized, hasCorsConfigurationSource, initHandlerMethods, lookupHandlerMethod, processCandidateBean, setDetectHandlerMethodsInAncestorContexts, setHandlerMethodMappingNamingStrategy, unregisterMappingadaptInterceptor, detectMappedInterceptors, extendInterceptors, formatMappingName, getAdaptedInterceptors, getCorsHandlerExecutionChain, getCorsProcessor, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelpergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextgetApplicationContext, getMessageSourceAccessor, obtainApplicationContext, requiredContextClass, setApplicationContextprotected org.springframework.web.servlet.mvc.condition.RequestCondition<ApiVersionCondition> getCustomTypeCondition(Class<?> handlerType)
getCustomTypeCondition 在类中 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappingprotected org.springframework.web.servlet.mvc.condition.RequestCondition<ApiVersionCondition> getCustomMethodCondition(Method method)
getCustomMethodCondition 在类中 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappingpublic void setVersionPrefix(String versionPrefix)
public void setMinimumVersion(int minimumVersion)
public void setParsePackageVersion(boolean parsePackageVersion)
public void setVersionFlag(String versionFlag)
Copyright © 2019. All rights reserved.