Class BroadleafSiteServletConfig

java.lang.Object
org.broadleafcommerce.common.web.config.BroadleafSiteServletConfig
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration @ConditionalOnNotAdmin public class BroadleafSiteServletConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
MVC configuration required by Broadleaf site to operate correctly.
Author:
Philip Baggett (pbaggett)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
     
    org.springframework.web.servlet.LocaleResolver
     

    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, addErrorResponseInterceptors, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • BroadleafSiteServletConfig

      public BroadleafSiteServletConfig()
  • Method Details

    • addInterceptors

      public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      Specified by:
      addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • localeResolver

      @Bean public org.springframework.web.servlet.LocaleResolver localeResolver()