Package com.viglet.turing.spring
Class TurStaticResourceConfiguration
Object
TurStaticResourceConfiguration
- All Implemented Interfaces:
WebMvcConfigurer
@Configuration
@AutoConfigureAfter(org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration.class)
public class TurStaticResourceConfiguration
extends Object
implements WebMvcConfigurer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCorsMappings
(CorsRegistry registry) void
addResourceHandlers
(ResourceHandlerRegistry registry) void
addViewControllers
(ViewControllerRegistry registry) void
configureAsyncSupport
(AsyncSupportConfigurer configurer) void
configurePathMatch
(PathMatchConfigurer configurer) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface WebMvcConfigurer
addArgumentResolvers, addErrorResponseInterceptors, addFormatters, addInterceptors, addReturnValueHandlers, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
TurStaticResourceConfiguration
public TurStaticResourceConfiguration()
-
-
Method Details
-
addCorsMappings
public void addCorsMappings(CorsRegistry registry) - Specified by:
addCorsMappings
in interfaceWebMvcConfigurer
-
configurePathMatch
public void configurePathMatch(PathMatchConfigurer configurer) - Specified by:
configurePathMatch
in interfaceWebMvcConfigurer
-
addViewControllers
public void addViewControllers(ViewControllerRegistry registry) - Specified by:
addViewControllers
in interfaceWebMvcConfigurer
-
configureAsyncSupport
public void configureAsyncSupport(AsyncSupportConfigurer configurer) - Specified by:
configureAsyncSupport
in interfaceWebMvcConfigurer
-
addResourceHandlers
public void addResourceHandlers(ResourceHandlerRegistry registry) - Specified by:
addResourceHandlers
in interfaceWebMvcConfigurer
-