public class ContentHandlerMapping
extends org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentHandlerMapping.StoreCondition |
static interface |
ContentHandlerMapping.StoreType |
| Constructor and Description |
|---|
ContentHandlerMapping(ContentStoreService contentStores) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
detectHandlerMethods(Object handler) |
protected org.springframework.web.cors.CorsConfiguration |
getCorsConfiguration(Object handler,
javax.servlet.http.HttpServletRequest request) |
protected org.springframework.web.servlet.mvc.condition.RequestCondition<?> |
getCustomMethodCondition(Method method)
Store requests have to be handled by different RequestMappings based on whether the
request is targeting a Store or content associated with an Entity
|
protected boolean |
isHandler(Class<?> beanType) |
protected org.springframework.web.method.HandlerMethod |
lookupHandlerMethod(String lookupPath,
javax.servlet.http.HttpServletRequest request) |
afterPropertiesSet, createRequestMappingInfo, getContentNegotiationManager, getCustomTypeCondition, getFileExtensions, getMappingForMethod, initCorsConfiguration, match, resolveEmbeddedValuesInPatterns, setContentNegotiationManager, setEmbeddedValueResolver, setUseRegisteredSuffixPatternMatch, setUseSuffixPatternMatch, setUseTrailingSlashMatch, useRegisteredSuffixPatternMatch, useSuffixPatternMatch, useTrailingSlashMatchgetMappingComparator, getMappingPathPatterns, getMatchingMapping, handleMatch, handleNoMatchcreateHandlerMethod, 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, setServletContextgetApplicationContext, getMessageSourceAccessor, obtainApplicationContext, requiredContextClass, setApplicationContextpublic ContentHandlerMapping(ContentStoreService contentStores)
protected boolean isHandler(Class<?> beanType)
isHandler in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappingprotected org.springframework.web.method.HandlerMethod lookupHandlerMethod(String lookupPath, javax.servlet.http.HttpServletRequest request) throws Exception
lookupHandlerMethod in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo>Exceptionprotected org.springframework.web.cors.CorsConfiguration getCorsConfiguration(Object handler, javax.servlet.http.HttpServletRequest request)
getCorsConfiguration in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo>protected void detectHandlerMethods(Object handler)
detectHandlerMethods in class org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo>protected org.springframework.web.servlet.mvc.condition.RequestCondition<?> getCustomMethodCondition(Method method)
getCustomMethodCondition in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappingCopyright © 2018 Paul Warren. All rights reserved.