Package com.aquima.web.boot
Class ServerConfig
java.lang.Object
org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
com.aquima.web.boot.ServerConfig
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
@ImportResource("classpath*:aquima-plugin-server-context.xml")
public class ServerConfig
extends org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
Server servlet configuration class.
- Since:
- 10.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptors
(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) protected void
configureContentNegotiation
(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) protected void
extendHandlerExceptionResolvers
(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers) static org.springframework.context.support.PropertySourcesPlaceholderConfigurer
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
requestMappingHandlerMapping
(org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager, org.springframework.format.support.FormattingConversionService conversionService, org.springframework.web.servlet.resource.ResourceUrlProvider resourceUrlProvider) org.springframework.web.servlet.mvc.WebContentInterceptor
Methods inherited from class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureDefaultServletHandling, configureErrorResponseInterceptors, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator, setConfigurers
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, beanNameHandlerMapping, createExceptionHandlerExceptionResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, defaultServletHandlerMapping, flashMapManager, getApplicationContext, getArgumentResolvers, getAsyncSupportConfigurer, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getErrorResponseInterceptors, getInterceptors, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, handlerExceptionResolver, handlerFunctionAdapter, httpRequestHandlerAdapter, localeResolver, mvcContentNegotiationManager, mvcConversionService, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcPatternParser, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, resourceHandlerMapping, routerFunctionMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, themeResolver, viewControllerHandlerMapping, viewNameTranslator
-
Constructor Details
-
Method Details
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - Overrides:
addInterceptors
in classorg.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
requestMappingHandlerMapping
@Bean public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping requestMappingHandlerMapping(org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager, org.springframework.format.support.FormattingConversionService conversionService, org.springframework.web.servlet.resource.ResourceUrlProvider resourceUrlProvider) - Overrides:
requestMappingHandlerMapping
in classorg.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
propertySourcesPlaceholderConfigurer
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() -
webContentInterceptor
@Bean public org.springframework.web.servlet.mvc.WebContentInterceptor webContentInterceptor() -
extendHandlerExceptionResolvers
protected void extendHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers) - Overrides:
extendHandlerExceptionResolvers
in classorg.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
configureContentNegotiation
protected void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) - Overrides:
configureContentNegotiation
in classorg.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-