Class SpringConfigWeb
- java.lang.Object
-
- de.digitalcollections.cudami.server.config.SpringConfigWeb
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration @EnableAspectJAutoProxy public class SpringConfigWeb extends java.lang.Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description SpringConfigWeb()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voidconfigureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)voidconfigureMessageConverters(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> converters)voidconfigurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer)com.fasterxml.jackson.databind.ObjectMapperobjectMapper()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
objectMapper
@Bean @Primary public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
-
configurePathMatch
public void configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer)
- Specified by:
configurePathMatchin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
configureContentNegotiation
public void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
- Specified by:
configureContentNegotiationin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
configureMessageConverters
public void configureMessageConverters(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
- Specified by:
configureMessageConvertersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-