Class MvcConfig
java.lang.Object
uk.ac.manchester.spinnaker.alloc.web.MvcConfig
- All Implemented Interfaces:
- WebMvcConfigurer,- WebSocketConfigurer
@EnableWebMvc
@EnableWebSocket
@Configuration
@Role(1)
public class MvcConfig
extends Object
implements WebMvcConfigurer, WebSocketConfigurer
Sets up the login page and static resource mappings. Note that paths in here
 are relative to Spring's idea of the root of the webapp (as they're used to
 program path matchers).
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddResourceHandlers(ResourceHandlerRegistry registry) voidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
- 
Constructor Details- 
MvcConfigpublic MvcConfig()
 
- 
- 
Method Details- 
addResourceHandlers- Specified by:
- addResourceHandlersin interface- WebMvcConfigurer
 
- 
registerWebSocketHandlers- Specified by:
- registerWebSocketHandlersin interface- WebSocketConfigurer
 
 
-