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 Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    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 Link icon

    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 Link icon

    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

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • ServerConfig Link icon

      public ServerConfig()
  • Method Details Link icon

    • addInterceptors Link icon

      public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      Overrides:
      addInterceptors in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
    • requestMappingHandlerMapping Link icon

      @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 class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
    • propertySourcesPlaceholderConfigurer Link icon

      @Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()
    • webContentInterceptor Link icon

      @Bean public org.springframework.web.servlet.mvc.WebContentInterceptor webContentInterceptor()
    • extendHandlerExceptionResolvers Link icon

      protected void extendHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers)
      Overrides:
      extendHandlerExceptionResolvers in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
    • configureContentNegotiation Link icon

      protected void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
      Overrides:
      configureContentNegotiation in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration