@FiberSecureSpringBootApplication @Controller public class SampleWebSecureApplication extends WebMvcConfigurerAdapter
Modifier and Type | Class and Description |
---|---|
protected static class |
SampleWebSecureApplication.ApplicationSecurity |
Constructor and Description |
---|
SampleWebSecureApplication() |
Modifier and Type | Method and Description |
---|---|
void |
addViewControllers(ViewControllerRegistry registry) |
String |
foo() |
String |
home(Map<String,Object> model) |
static void |
main(String[] args) |
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
@RequestMapping(value="/") public String home(Map<String,Object> model) throws InterruptedException, SuspendExecution
InterruptedException
SuspendExecution
@RequestMapping(value="/foo") public String foo() throws InterruptedException, SuspendExecution
InterruptedException
SuspendExecution
public void addViewControllers(ViewControllerRegistry registry)
addViewControllers
in interface WebMvcConfigurer
addViewControllers
in class WebMvcConfigurerAdapter