@Import(value=PreloadedBeans.class) public abstract class CdmSpringMVCConfig extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
http://dev.e-taxonomy.eu/trac/wiki/cdmlib-remote-webappConfigurationAndBootstrapping
Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
protected javax.servlet.ServletContext |
servletContext |
Constructor and Description |
---|
CdmSpringMVCConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
protected void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) |
protected void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
org.springframework.web.servlet.ViewResolver |
contentNegotiatingViewResolver(org.springframework.web.accept.ContentNegotiationManager manager)
Create the CNVR.
|
org.springframework.web.servlet.view.XmlViewResolver |
getOaiXmlViewResolver() |
addArgumentResolvers, addCorsMappings, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addResourceHandlers, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, createRequestMappingHandlerMapping, defaultServletHandlerMapping, extendMessageConverters, getApplicationContext, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getServletContext, getValidator, handlerExceptionResolver, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMapping
public static final Logger logger
@Autowired protected javax.servlet.ServletContext servletContext
@Bean @DependsOn(value="requestMappingHandlerAdapter") public org.springframework.web.servlet.view.XmlViewResolver getOaiXmlViewResolver()
protected void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
public void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
protected void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
public void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
configureContentNegotiation
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
@Bean public org.springframework.web.servlet.ViewResolver contentNegotiatingViewResolver(org.springframework.web.accept.ContentNegotiationManager manager)
Copyright © 2007-2020 EDIT. All Rights Reserved.