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).