Class TurStaticResourceConfiguration

java.lang.Object
com.viglet.turing.spring.TurStaticResourceConfiguration
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration @AutoConfigureAfter(org.springframework.boot.webmvc.autoconfigure.DispatcherServletAutoConfiguration.class) public class TurStaticResourceConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
  • Field Details

  • Constructor Details

    • TurStaticResourceConfiguration

      public TurStaticResourceConfiguration()
  • Method Details

    • addCorsMappings

      public void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
      Specified by:
      addCorsMappings in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • addViewControllers

      public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
      Specified by:
      addViewControllers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • configureAsyncSupport

      public void configureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer)
      Specified by:
      configureAsyncSupport in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • addResourceHandlers

      public void addResourceHandlers(@NotNull @NotNull org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
      Specified by:
      addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer