Package org.vrspace.server.config
Class AdminUIConfiguration
java.lang.Object
org.vrspace.server.config.AdminUIConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@ConditionalOnProperty("org.vrspace.adminUI.enabled")
public class AdminUIConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Adds static admin UI content to Spring resource path, and makes sure it's not
cached. Activated when org.vrspace.adminUI.enabled=true, content served under
org.vrspace.adminUI.path.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResourceHandlers
(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) 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, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
AdminUIConfiguration
public AdminUIConfiguration()
-
-
Method Details
-
addResourceHandlers
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) - Specified by:
addResourceHandlers
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-