@Controller
public class AppController
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
Controller
provides index.html as a view when application starts upConstructor and Description |
---|
AppController() |
Modifier and Type | Method and Description |
---|---|
void |
addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) |
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
addViewControllers
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addViewControllers
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter