-
- All Implemented Interfaces:
-
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration() public final class UiAppConfig implements WebMvcConfigurer
-
-
Field Summary
Fields Modifier and Type Field Description private final Loggerlog
-
Constructor Summary
Constructors Constructor Description UiAppConfig()
-
Method Summary
Modifier and Type Method Description final LoggergetLog()UnitaddResourceHandlers(ResourceHandlerRegistry registry)UnitaddViewControllers(ViewControllerRegistry registry)Redirect all sub-paths that are not api or static asset related back to the the root UnitaddCorsMappings(CorsRegistry registry)-
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addFormatters, addInterceptors, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getLog
final Logger getLog()
-
addResourceHandlers
Unit addResourceHandlers(ResourceHandlerRegistry registry)
-
addViewControllers
Unit addViewControllers(ViewControllerRegistry registry)
Redirect all sub-paths that are not api or static asset related back to the the root
-
addCorsMappings
Unit addCorsMappings(CorsRegistry registry)
-
-
-
-