@Controller public class RootController extends Object
Constructor and Description |
---|
RootController() |
Modifier and Type | Method and Description |
---|---|
StatsService |
getStatsService() |
void |
setStatsService(StatsService statsService) |
String |
showAboutPage(org.springframework.ui.ModelMap m) |
String |
showClientManager(org.springframework.ui.ModelMap m) |
String |
showContactPage(org.springframework.ui.ModelMap m) |
String |
showHomePage(org.springframework.ui.ModelMap m) |
String |
showStatsPage(org.springframework.ui.ModelMap m) |
public static final String API_URL
public RootController()
@RequestMapping(value={"","home","index"}) public String showHomePage(org.springframework.ui.ModelMap m)
@RequestMapping(value={"about","about/"}) public String showAboutPage(org.springframework.ui.ModelMap m)
@RequestMapping(value={"stats","stats/"}) public String showStatsPage(org.springframework.ui.ModelMap m)
@RequestMapping(value={"contact","contact/"}) public String showContactPage(org.springframework.ui.ModelMap m)
@PreAuthorize(value="hasRole(\'ROLE_USER\')") @RequestMapping(value="manage/**") public String showClientManager(org.springframework.ui.ModelMap m)
public StatsService getStatsService()
public void setStatsService(StatsService statsService)
Copyright © 2018. All rights reserved.