@Controller
public class AdminPageController
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
AdminPageController() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calcHighScores(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model) |
java.lang.String |
calcSessionSummaries(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model) |
ModelAndView |
showForm(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model) |
ModelAndView |
submit(javax.servlet.http.HttpServletRequest request,
AdminBean admin,
org.springframework.validation.BindingResult result,
org.springframework.ui.Model model) |
@RequestMapping(value="/admin/calcHighScores") public java.lang.String calcHighScores(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model)
@RequestMapping(value="/admin/calcSessionSummaries") public java.lang.String calcSessionSummaries(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model)
@RequestMapping(value="/admin", method=GET) public ModelAndView showForm(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model)
@RequestMapping(value="/admin", method=POST) public ModelAndView submit(javax.servlet.http.HttpServletRequest request, @ModelAttribute(value="adminbean") AdminBean admin, org.springframework.validation.BindingResult result, org.springframework.ui.Model model)